From unknown Thu Sep 11 06:31:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50639 <50639@debbugs.gnu.org> To: bug#50639 <50639@debbugs.gnu.org> Subject: Status: adding symbols to the tex--prettify-symbols-alist Reply-To: bug#50639 <50639@debbugs.gnu.org> Date: Thu, 11 Sep 2025 13:31:37 +0000 retitle 50639 adding symbols to the tex--prettify-symbols-alist reassign 50639 emacs submitter 50639 Uwe Brauer severity 50639 normal tag 50639 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 08:53:15 2021 Received: (at submit) by debbugs.gnu.org; 17 Sep 2021 12:53:15 +0000 Received: from localhost ([127.0.0.1]:58724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRDMh-0002N2-Bq for submit@debbugs.gnu.org; Fri, 17 Sep 2021 08:53:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:59374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRDMe-0002Mt-3c for submit@debbugs.gnu.org; Fri, 17 Sep 2021 08:53:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRDMd-0004QZ-Qs for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2021 08:53:11 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:33628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRDMZ-0006uY-4H for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2021 08:53:09 -0400 Received: by mail-wr1-x429.google.com with SMTP id t18so15081886wrb.0 for ; Fri, 17 Sep 2021 05:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mat.ucm.es; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=KETMaQGDB+HlAA8PLY0U5h/ZcIvTgAyedgvqYHXOWys=; b=WsOs8mc8fpFbs/fp+Kafzx1msXeXId7mUhbmMA2ovOhWK4O1xCVaAurHL2JdvDbEVg zpK8TXsayJYaSdZTHOGHLcxWSFMQIc6taeKP5enVmjKnRyapntq0ywYPsCOfLFT9MQwL V6ybH8JsF8VbdQ9xXXSW/cn5GwEpVdhobNhu8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=KETMaQGDB+HlAA8PLY0U5h/ZcIvTgAyedgvqYHXOWys=; b=8GtTKT3c/oMmzOAdZM4kzzEyMz3dsRdRVMxHsNUgb9wQ7MYX21Wok1rtRCAeRho9qz HAwMgyhuOUa8Hg0Cdh1fBK2MBboMx+kqCl4CiKMPCpEiZFkm0M+5awfo4TFSxJ+csTa1 rHqRWLjuuiYjEBMedNQDlHEPWka0RJIXgS0u0Hra6xJuGEocEU5q4dK3QraQCWrmVtsn 69gLB1rUlGCsVhbPGFtoD1mtZTSZsqb1sWGMa8DfPn7eAM4AcjLh9KdbZFTrcNkhaQ8K Kyies0RXzKb1bJ5BE8lraTxl7mQD6kGBqcEZ/XUU2boMBN9OR0rLNci/UCNZRlyVt7u5 HmZA== X-Gm-Message-State: AOAM532H9ulxWnVOw1S+UWfciCdqH3tR9gOWDP0oY6X7jZoM6u3T3YpN m/mIgrz+xSTJZx5EVd83g++ucX6wWvaURfcvqSlVITfxiyZslarrUADi8qSLnQxQCfmWB5tHykL jAGkaMUAG8rvY7H2i9l6haKHO5DNgbHHtH/mVnBk+p/2ItU+JSjieeofgNiyl X-Google-Smtp-Source: ABdhPJyKzdp0kpN0uitY7yB2J6j+AOnb0B4rx6tvYzTLcfv2RzTen7Rcl+2JIwVH90UMrOlinRhjpA== X-Received: by 2002:adf:e74b:: with SMTP id c11mr12113985wrn.101.1631883184273; Fri, 17 Sep 2021 05:53:04 -0700 (PDT) Received: from Utnapischtim (p2003000613063f49f53d3a3c46a3c26c.dip0.t-ipconnect.de. [2003:6:1306:3f49:f53d:3a3c:46a3:c26c]) by smtp.gmail.com with ESMTPSA id k1sm6892393wrz.61.2021.09.17.05.53.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Sep 2021 05:53:03 -0700 (PDT) X-Mailer: emacs 28.0.50 (via feedmail 11-beta-1 I) From: Uwe Brauer To: bug-gnu-emacs@gnu.org Subject: adding symbols to the tex--prettify-symbols-alist X-Hashcash: 1:20:210917:bug-gnu-emacs@gnu.org::Yd8Xkso+DeapH1yI:00000000000000000000000000000000000000000IAE Date: Fri, 17 Sep 2021 14:53:00 +0200 Message-ID: <878rzvfjo3.fsf@mat.ucm.es> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=oub@ucm.es; helo=mail-wr1-x429.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Tassilo Horn 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 (--) --=-=-= Content-Type: text/plain Tags: patch <#secure method=smime mode=sign> Hi The purpose of this trivial patch is to add symbols, such as varkappa and calligraphic and fractur letters to the tex--prettify-symbols-alist. I have signed all the FSF paper, also the patch is very trivial Regards Uwe Brauer In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.6, Xaw3d scroll bars) of 2021-07-31 built on Utnapischtim Repository revision: 83a915d3dfafd5f3d737afe1e13b75e4dd3aef96 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.7 LTS Configured using: 'configure --prefix=/opt/emacs28 --with-x-toolkit=athena --without-pop --with-mailutils' --=-=-= Content-Type: text/patch; charset=utf-8 Content-Disposition: attachment; filename=pretty-patch.diff Content-Transfer-Encoding: 8bit # HG changeset patch # User Uwe Brauer # Date 1631882696 -7200 # Fri Sep 17 14:44:56 2021 +0200 # Node ID f8e49d2c643b209d5c39d29dc91ddd92e38bec4e # Parent 3b17c79f46e694f6df6a5b81026cbd2b43ba158d Add symbols to tex--prettify-symbols-alist * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Add mathbb, caligraphic letters, fractur, varkappa and \|. diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -3469,7 +3469,98 @@ ("\\Bbb{P}" . ?ℙ) ; Also sometimes \mathbb. ("\\Bbb{Q}" . ?ℚ) ("\\Bbb{R}" . ?ℝ) + ("\\Bbb{T}" . ?ℝ) + ("\\Bbb{T}" . #x1D54B) ("\\Bbb{Z}" . ?ℤ) + ("\\mathbb{N}" . ?ℕ) ; AMS commands for blackboard bold + ("\\mathbb{P}" . ?ℙ) ; Also sometimes \mathbb. + ("\\mathbb{Q}" . ?ℚ) + ("\\mathbb{R}" . ?ℝ) + ("\\mathbb{T}" . #x1D54B) + ("\\mathbb{Z}" . ?ℤ) + ("\\pm" . ?\u00B1) + ("\\|" . ?\u2016) + ("\\varkappa" . ?\u03F0) + ;; caligraphic + ("\\mathcal{A}" . #x1D49C) + ("\\mathcal{B}" . #x0212C) + ("\\mathcal{C}" . #x1D49E) + ("\\mathcal{D}" . #x1D49F) + ("\\mathcal{E}" . #x02130) + ("\\mathcal{F}" . #x02131) + ("\\mathcal{G}" . #x1D4A2) + ("\\mathcal{H}" . #x0210B) + ("\\mathcal{I}" . #x02110) + ("\\mathcal{J}" . #x1D4A5) + ("\\mathcal{K}" . #x1D4A6) + ("\\mathcal{L}" . #x02112) + ("\\mathcal{M}" . #x02133) + ("\\mathcal{N}" . #x1D4A9) + ("\\mathcal{O}" . #x1D4AA) + ("\\mathcal{P}" . #x1D4AB) + ("\\mathcal{Q}" . #x1D4AC) + ("\\mathcal{R}" . #x0211B) + ("\\mathcal{S}" . #x1D4AE) + ("\\mathcal{T}" . #x1D4AF) + ("\\mathcal{U}" . #x1D4B0) + ("\\mathcal{V}" . #x1D4B1) + ("\\mathcal{W}" . #x1D4B2) + ("\\mathcal{X}" . #x1D4B3) + ("\\mathcal{Y}" . #x1D4B4) + ("\\mathcal{Z}" . #x1D4B5) + ;; fractur + ("\\mathfrak{A}" . #x1D504) + ("\\mathfrak{B}" . #x1D505) + ("\\mathfrak{C}" . #x0212D) + ("\\mathfrak{D}" . #x1D507) + ("\\mathfrak{E}" . #x1D508) + ("\\mathfrak{F}" . #x1D509) + ("\\mathfrak{G}" . #x1D50A) + ("\\mathfrak{H}" . #x0210C) + ("\\mathfrak{I}" . #x02111) + ("\\mathfrak{J}" . #x1D50D) + ("\\mathfrak{K}" . #x1D50E) + ("\\mathfrak{L}" . #x1D50F) + ("\\mathfrak{M}" . #x1D510) + ("\\mathfrak{N}" . #x1D511) + ("\\mathfrak{O}" . #x1D512) + ("\\mathfrak{P}" . #x1D513) + ("\\mathfrak{Q}" . #x1D514) + ("\\mathfrak{R}" . #x0211C) + ("\\mathfrak{S}" . #x1D516) + ("\\mathfrak{T}" . #x1D517) + ("\\mathfrak{U}" . #x1D518) + ("\\mathfrak{V}" . #x1D519) + ("\\mathfrak{W}" . #x1D51A) + ("\\mathfrak{X}" . #x1D51B) + ("\\mathfrak{Y}" . #x1D51C) + ("\\mathfrak{Z}" . #x02128) + ("\\mathfrak{a}" . #x1D51E) + ("\\mathfrak{b}" . #x1D51F) + ("\\mathfrak{c}" . #x1D520) + ("\\mathfrak{d}" . #x1D521) + ("\\mathfrak{e}" . #x1D522) + ("\\mathfrak{f}" . #x1D523) + ("\\mathfrak{g}" . #x1D524) + ("\\mathfrak{h}" . #x1D525) + ("\\mathfrak{i}" . #x1D526) + ("\\mathfrak{j}" . #x1D527) + ("\\mathfrak{k}" . #x1D528) + ("\\mathfrak{l}" . #x1D529) + ("\\mathfrak{m}" . #x1D52A) + ("\\mathfrak{n}" . #x1D52B) + ("\\mathfrak{o}" . #x1D52C) + ("\\mathfrak{p}" . #x1D52D) + ("\\mathfrak{q}" . #x1D52E) + ("\\mathfrak{r}" . #x1D52F) + ("\\mathfrak{s}" . #x1D530) + ("\\mathfrak{t}" . #x1D531) + ("\\mathfrak{u}" . #x1D532) + ("\\mathfrak{v}" . #x1D533) + ("\\mathfrak{w}" . #x1D534) + ("\\mathfrak{x}" . #x1D535) + ("\\mathfrak{y}" . #x1D536) + ("\\mathfrak{z}" . #x1D537) ("--" . ?–) ("---" . ?—) ("\\ordfeminine" . ?ª) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 10:33:16 2021 Received: (at 50639) by debbugs.gnu.org; 17 Sep 2021 14:33:16 +0000 Received: from localhost ([127.0.0.1]:60849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mREvR-0005Pa-Al for submit@debbugs.gnu.org; Fri, 17 Sep 2021 10:33:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mREvO-0005PJ-JC for 50639@debbugs.gnu.org; Fri, 17 Sep 2021 10:33:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=paY4K0N5+His4Wg1tWzQcnJCozMtxHLFBTK7HciHE1k=; b=FCrVWXr1OFq6m63DDspD0fG75g XjEXdhmsYbtrs8x4+mvumLLWyEW74C/8XS15Iergtq361TRPzEBMwg53mJWr4I5ExR2NIwu2FL7uQ oU5r0GO093CJVl8ctMxmZ/vWCZYBpSRShK4FaeVUqeR0vdY12spYhgCr5RgZpiK2duFY=; 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 1mREvF-0000hM-BK; Fri, 17 Sep 2021 16:33:03 +0200 From: Lars Ingebrigtsen To: Uwe Brauer Subject: Re: bug#50639: adding symbols to the tex--prettify-symbols-alist References: <878rzvfjo3.fsf@mat.ucm.es> Date: Fri, 17 Sep 2021 16:33:00 +0200 In-Reply-To: <878rzvfjo3.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 17 Sep 2021 14:53:00 +0200") Message-ID: <875yuzxof7.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 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: Uwe Brauer writes: > The purpose of this trivial patch is to add symbols, such as varkappa > and calligraphic and fractur letters to the tex--prettify-symbols-alist. Thanks; applied to Emacs 28. 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: 50639 Cc: 50639@debbugs.gnu.org, Tassilo Horn 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 (---) Uwe Brauer writes: > The purpose of this trivial patch is to add symbols, such as varkappa > and calligraphic and fractur letters to the tex--prettify-symbols-alist. Thanks; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 17 10:33:16 2021 Received: (at control) by debbugs.gnu.org; 17 Sep 2021 14:33:17 +0000 Received: from localhost ([127.0.0.1]:60852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mREvU-0005Pk-HZ for submit@debbugs.gnu.org; Fri, 17 Sep 2021 10:33:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mREvS-0005PN-0b for control@debbugs.gnu.org; Fri, 17 Sep 2021 10:33:14 -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=yXOORZ0YLuTKb/lN7geIXKfJAyHe24OzkOimC6Jg7uY=; b=lmyG+011BzGCFK4h9Zr0bp35S0 C+JiWQrwJceRAkpsl0WKHoHTqpcd+Jqyw7NcH+0U4yQbL8jVmHaebg7RCamwE3ZwLFmDN4EMfNJqQ BtwxKlFiqW18wwrKeXHqeuLDEFWZRvBeSWEXJ0NL97sfdYDtDLbutosT+/INPCrk70uk=; 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 1mREvK-0000hY-39 for control@debbugs.gnu.org; Fri, 17 Sep 2021 16:33:08 +0200 Date: Fri, 17 Sep 2021 16:33:05 +0200 Message-Id: <874kajxof2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50639 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 50639 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 50639 28.1 quit From unknown Thu Sep 11 06:31:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Oct 2021 11:24:06 +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