unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: 50645@debbugs.gnu.org
Subject: bug#50645: tex-mode: tex--prettify-symbols-alist Correct error \Bbb{T}, replace hex representation by its literal form
Date: Fri, 17 Sep 2021 18:24:23 +0200	[thread overview]
Message-ID: <875yuz6uh4.fsf@mat.ucm.es> (raw)

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Tags: patch


Sorry, I corrected one mistake and changed the hex presentation, I hope
now it is ok.

Regards





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'


[-- Attachment #2: pretty-patch2.diff --]
[-- Type: text/patch, Size: 6202 bytes --]

# HG changeset patch
# User Uwe Brauer <oub@mat.ucm.es>
# Date 1631895554 -7200
#      Fri Sep 17 18:19:14 2021 +0200
# Branch pretty-symbols
# Node ID 04d2f31e0d1571a4456716f9d6af5b7047451f35
# Parent  44423e6b7b83dd8131276dcf01a3eaa38333e850
Correct a mistake in tex--prettify-symbols-alist, change hex representation to its literal form

* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Correct
  error \Bbb{T}, replace hex representation by its literal form.

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,98 +3469,97 @@
     ("\\Bbb{P}" . ?ℙ)			; Also sometimes \mathbb.
     ("\\Bbb{Q}" . ?ℚ)
     ("\\Bbb{R}" . ?ℝ)
-    ("\\Bbb{T}" . ?ℝ)
-    ("\\Bbb{T}" . #x1D54B)
+    ("\\Bbb{T}" . ?𝕋)
     ("\\Bbb{Z}" . ?ℤ)
     ("\\mathbb{N}" . ?ℕ)			; AMS commands for blackboard bold
     ("\\mathbb{P}" . ?ℙ)			; Also sometimes \mathbb.
     ("\\mathbb{Q}" . ?ℚ)
     ("\\mathbb{R}" . ?ℝ)
-    ("\\mathbb{T}" . #x1D54B)
+    ("\\mathbb{T}" . ?𝕋)
     ("\\mathbb{Z}" . ?ℤ)
-    ("\\pm" . ?\u00B1)
-    ("\\|" . ?\u2016)
-    ("\\varkappa" . ?\u03F0)
+    ("\\pm" . ?±)
+    ("\\|" . ?‖)
+    ("\\varkappa" . ?ϰ)
     ;; 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)
+    ("\\mathcal{A}" . 𝒜)
+    ("\\mathcal{B}" . ℬ)
+    ("\\mathcal{C}" . 𝒞)
+    ("\\mathcal{D}" . 𝒟)
+    ("\\mathcal{E}" . ℰ)
+    ("\\mathcal{F}" . ℱ)
+    ("\\mathcal{G}" . 𝒢)
+    ("\\mathcal{H}" . ℋ)
+    ("\\mathcal{I}" . ℐ)
+    ("\\mathcal{J}" . 𝒥)
+    ("\\mathcal{K}" . 𝒦)
+    ("\\mathcal{L}" . ℒ)
+    ("\\mathcal{M}" . ℳ)
+    ("\\mathcal{N}" . 𝒩)
+    ("\\mathcal{O}" . 𝒪)
+    ("\\mathcal{P}" . 𝒫)
+    ("\\mathcal{Q}" . 𝒬)
+    ("\\mathcal{R}" . ℛ)
+    ("\\mathcal{S}" . 𝒮)
+    ("\\mathcal{T}" . 𝒯)
+    ("\\mathcal{U}" . 𝒰)
+    ("\\mathcal{V}" . 𝒱)
+    ("\\mathcal{W}" . 𝒲)
+    ("\\mathcal{X}" . 𝒳)
+    ("\\mathcal{Y}" . 𝒴)
+    ("\\mathcal{Z}" . 𝒵)
     ;; 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)
+    ("\\mathfrak{A}" . 𝔄)
+    ("\\mathfrak{B}" . 𝔅)
+    ("\\mathfrak{C}" . ℭ)
+    ("\\mathfrak{D}" . 𝔇)
+    ("\\mathfrak{E}" . 𝔈)
+    ("\\mathfrak{F}" . 𝔉)
+    ("\\mathfrak{G}" . 𝔊)
+    ("\\mathfrak{H}" . ℌ)
+    ("\\mathfrak{I}" . ℑ)
+    ("\\mathfrak{J}" . 𝔍)
+    ("\\mathfrak{K}" . 𝔎)
+    ("\\mathfrak{L}" . 𝔏)
+    ("\\mathfrak{M}" . 𝔐)
+    ("\\mathfrak{N}" . 𝔑)
+    ("\\mathfrak{O}" . 𝔒)
+    ("\\mathfrak{P}" . 𝔓)
+    ("\\mathfrak{Q}" . 𝔔)
+    ("\\mathfrak{R}" . ℜ)
+    ("\\mathfrak{S}" . 𝔖)
+    ("\\mathfrak{T}" . 𝔗)
+    ("\\mathfrak{U}" . 𝔘)
+    ("\\mathfrak{V}" . 𝔙)
+    ("\\mathfrak{W}" . 𝔚)
+    ("\\mathfrak{X}" . 𝔛)
+    ("\\mathfrak{Y}" . 𝔜)
+    ("\\mathfrak{Z}" . ℨ)
+    ("\\mathfrak{a}" . 𝔞)
+    ("\\mathfrak{b}" . 𝔟)
+    ("\\mathfrak{c}" . 𝔠)
+    ("\\mathfrak{d}" . 𝔡)
+    ("\\mathfrak{e}" . 𝔢)
+    ("\\mathfrak{f}" . 𝔣)
+    ("\\mathfrak{g}" . 𝔤)
+    ("\\mathfrak{h}" . 𝔥)
+    ("\\mathfrak{i}" . 𝔦)
+    ("\\mathfrak{j}" . 𝔧)
+    ("\\mathfrak{k}" . 𝔨)
+    ("\\mathfrak{l}" . 𝔩)
+    ("\\mathfrak{m}" . 𝔪)
+    ("\\mathfrak{n}" . 𝔫)
+    ("\\mathfrak{o}" . 𝔬)
+    ("\\mathfrak{p}" . 𝔭)
+    ("\\mathfrak{q}" . 𝔮)
+    ("\\mathfrak{r}" . 𝔯)
+    ("\\mathfrak{s}" . 𝔰)
+    ("\\mathfrak{t}" . 𝔱)
+    ("\\mathfrak{u}" . 𝔲)
+    ("\\mathfrak{v}" . 𝔳)
+    ("\\mathfrak{w}" . 𝔴)
+    ("\\mathfrak{x}" . 𝔵)
+    ("\\mathfrak{y}" . 𝔶)
+    ("\\mathfrak{z}" . 𝔷)
     ("--" . ?–)
     ("---" . ?—)
     ("\\ordfeminine" . ?ª)

             reply	other threads:[~2021-09-17 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 16:24 Uwe Brauer [this message]
2021-09-17 16:43 ` bug#50645: tex-mode: tex--prettify-symbols-alist Correct error \Bbb{T}, replace hex representation by its literal form Lars Ingebrigtsen
2021-09-17 16:45   ` Uwe Brauer
2021-09-17 16:52   ` Uwe Brauer
2021-09-17 17:02     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yuz6uh4.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=50645@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).