From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 15 19:47:55 2021 Received: (at submit) by debbugs.gnu.org; 15 Aug 2021 23:47:55 +0000 Received: from localhost ([127.0.0.1]:47958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFPr5-0002MV-Ud for submit@debbugs.gnu.org; Sun, 15 Aug 2021 19:47:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:52332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFPr1-0002MK-Dk for submit@debbugs.gnu.org; Sun, 15 Aug 2021 19:47:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFPr0-0006Mi-Vd for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 19:47:47 -0400 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:37688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFPqz-0002W4-6d for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 19:47:46 -0400 Received: by mail-qt1-x830.google.com with SMTP id l24so13012393qtj.4 for ; Sun, 15 Aug 2021 16:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=K5Rcw76iopudSMVXshHdITkObup8PpP6Gaz/h+1/mWU=; b=vbxIBP2mD+r5BoKRFxG0epe2EYNYYp8kzVqWqKuWdPaB/cxkACYo3AENyFOfNiV5M+ xuuraWRhElpAMm463eDILIlwTTC2WNaZ+41nntTGbor/U8EBvYuv9Cb9/CE+cA4VwhFC 8/Pq7cSxrmFkv2m4ZiU4UNbLSiqrwrhEJFGUaCHKdlO3oxCEYh1+ixosrHxipfz0ugel 7ZFtnNFh6/zIAEy2+ZSHYG78yFcy3BuyqJfdn7uDYe/PcfxneFVRt1O1fB06hKhOo/el EqiLh38VqhlkDHx377ddBmH80nMBZGydeQfya1QMtxcKZ2ujzuSJ/MXGHl2Vr4hN2KQN CNIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=K5Rcw76iopudSMVXshHdITkObup8PpP6Gaz/h+1/mWU=; b=S9JQKVaYXwzjOp+JnrUHJ3VBtjEGs6XHTWsni9mX6wuHynLCjrG3tuTU1tzyR6mkwH 0T5G3tquxqhqGx5b91j2P0pjdoe2bf12NIBPJP5sRtxt2KCoGamx8wAqmuJ4RUzTfMuU qbAuX006ftkjWQ1ngtDzJRCVPqrnn+46CFuvhaW4vZKrK/i1jsP6WCRS82JPv5CUQoSF SikErsKQeKL62iBYdGJs9uGu6miqEMjh/w6dgFUaQtjtbOI/UoEBi5rLthErx5K9WRdh P99ircfpy2Pu6J6zPkEXHUoKs3MP9nrqu0yBXRbtXyx2piZXqScOoJHIcKPmJny9J2bM ax1w== X-Gm-Message-State: AOAM5328WO3PVNBmVYN5y4wadEEt9XlhlKx7TLXWfUl2aZ6zvB0cuSCe I1jNnEJ41ii15QFIHjfPVJUA6PRFTKo= X-Google-Smtp-Source: ABdhPJy3nmY5OWJPWahW2+Pdf/bbAXfSxVUys8RB5kDyzUGuANTWD5E0MNloyMpCmnPXZbAY1WuX2w== X-Received: by 2002:a05:622a:10c:: with SMTP id u12mr7526179qtw.303.1629071263304; Sun, 15 Aug 2021 16:47:43 -0700 (PDT) Received: from [192.168.1.11] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id s185sm5263090qkd.2.2021.08.15.16.47.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Aug 2021 16:47:42 -0700 (PDT) To: bug-gnu-emacs From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Subject: [PATCH] Remove prettification for \par in TeX documents Message-ID: <2cd6a7fd-db1c-0f52-8a63-aa5f25b8f6e5@gmail.com> Date: Sun, 15 Aug 2021 19:47:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------60407AFBAA7B9D5D492E2D12" Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=cpitclaudel@gmail.com; helo=mail-qt1-x830.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------60407AFBAA7B9D5D492E2D12 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit The attached patch disables prettification for \par in tex-mode.el. The problem is that many fonts don't display anything for the character it was mapped to (#x2029 PARAGRAPH SEPARATOR), so enabling prettification makes every `\par' disappear. --------------60407AFBAA7B9D5D492E2D12 Content-Type: text/x-patch; charset=UTF-8; name="0001-Remove-prettification-for-par.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Remove-prettification-for-par.patch" >From 6e5d0371c657ed40496ddb6451a5ccd37f4887df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pit-Claudel?= Date: Sun, 15 Aug 2021 19:27:44 -0400 Subject: [PATCH] Remove prettification for \par * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Remove prettified version of `\par'. Many fonts don't display anything for the character it was mapped to (#x2029 PARAGRAPH SEPARATOR), so enabling prettification makes every `\par' disappear. --- lisp/textmodes/tex-mode.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index d9d8059f96..6caa9c1b7d 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -3337,7 +3337,6 @@ tex--prettify-symbols-alist ("\\oplus" . ?⊕) ("\\oslash" . ?⊘) ("\\otimes" . ?⊗) - ("\\par" . ?
) ("\\parallel" . ?∥) ("\\partial" . ?∂) ("\\perp" . ?⊥) -- 2.25.1 --------------60407AFBAA7B9D5D492E2D12-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 08:11:17 2021 Received: (at 50073) by debbugs.gnu.org; 16 Aug 2021 12:11:17 +0000 Received: from localhost ([127.0.0.1]:48748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFbSS-0002xv-Oc for submit@debbugs.gnu.org; Mon, 16 Aug 2021 08:11:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFbSN-0002xZ-AT for 50073@debbugs.gnu.org; Mon, 16 Aug 2021 08:11:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Tsu/KvAW3KtE0wakfIzFuy6hs3Tu7aQ7So8+MHPV8ik=; b=eA3vRw4XAFPoBtjvodyi094xsc 2Tb0i9LL7UJo5l+MTxS06UWrc2yJJke/8dMESi3q17w41CSdIuugKV/fcoCLuiML8ByC5Caq14TH2 X5RKdufLd/l4xhOTtSIdRFYAHgZCoGlIulw+5SVAKQe1uy2Y5gJr8a0zJrlj78LQBgHE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFbSD-0004Yy-9W; Mon, 16 Aug 2021 14:11:01 +0200 From: Lars Ingebrigtsen To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Subject: Re: bug#50073: [PATCH] Remove prettification for \par in TeX documents References: <2cd6a7fd-db1c-0f52-8a63-aa5f25b8f6e5@gmail.com> Date: Mon, 16 Aug 2021 14:10:56 +0200 In-Reply-To: <2cd6a7fd-db1c-0f52-8a63-aa5f25b8f6e5@gmail.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Sun, 15 Aug 2021 19:47:41 -0400") Message-ID: <87sfz9egj3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Clément Pit-Claudel writes: > The attached patch disables prettification for \par in tex-mode.el. > The problem is that many fonts don't display anything for the > character it was mapped to (#x2029 PARAGRAPH SEPARATOR), so enab [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50073 Cc: 50073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Cl=C3=A9ment Pit-Claudel writes: > The attached patch disables prettification for \par in tex-mode.el. > The problem is that many fonts don't display anything for the > character it was mapped to (#x2029 PARAGRAPH SEPARATOR), so enabling > prettification makes every `\par' disappear. Makes sense to me; applied to Emacs 28. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 08:11:21 2021 Received: (at control) by debbugs.gnu.org; 16 Aug 2021 12:11:22 +0000 Received: from localhost ([127.0.0.1]:48751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFbSY-0002yF-3G for submit@debbugs.gnu.org; Mon, 16 Aug 2021 08:11:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFbST-0002xj-E8 for control@debbugs.gnu.org; Mon, 16 Aug 2021 08:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xGBTPLDIf3dxgnYrli2uYrILGDwYiHUbHGCRTgCH1n0=; b=hA8Cw/s+QKcK2/1Azrev3swlhr t4n6NHg7sCT0GiHQFfXqAXNWBfyl90TxGOmy1mQZ4AE9e2kBDgTm1TVnfJw+YQQVFD4Ul6J2cQBGq v/GBtvqssvDy7KIJhD/x9ThIQL2hrVg3pOfyqthFjMe1naQXK47U/9u+carV2J5cwbR8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFbSL-0004ZB-LC for control@debbugs.gnu.org; Mon, 16 Aug 2021 14:11:07 +0200 Date: Mon, 16 Aug 2021 14:11:03 +0200 Message-Id: <87r1etegiw.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50073 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 50073 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 50073 28.1 quit From unknown Wed Jun 18 23:14:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 14 Sep 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator