GNU bug report logs - #49879
27.2; Prettify Symbols Preview (tex--prettify-symbols-alist) did not look same with LaTeX [Tex Mode]

Previous Next

Package: emacs;

Reported by: Chopong Wei <chopong <at> aliyun.com>

Date: Wed, 4 Aug 2021 17:45:01 UTC

Severity: minor

Tags: moreinfo

Found in version 27.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49879 in the body.
You can then email your comments to 49879 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49879; Package emacs. (Wed, 04 Aug 2021 17:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chopong Wei <chopong <at> aliyun.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 04 Aug 2021 17:45:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chopong Wei <chopong <at> aliyun.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.2; Prettify Symbols Preview (tex--prettify-symbols-alist) did  not
 look same with LaTeX [Tex Mode]
Date: Wed, 4 Aug 2021 23:51:35 +0800


;;;-------------------------------------

Hey, I am not reporting a bug with TeX Mode or something.

I was writing something with TeX mode but the symbols
[tex--prettify-symbols-alist] did not look the same with the LaTeX
output.

I checked the list, and found something that could actually if modified to promote
the experience with Emacs Tex Mode.

1. the \alpha with keycode ASCII 945 [in list] or 120572 [LaTeX uses],
the other Lowercase Greek letters are the same.

2. the \longleftarrow and the \leftarrow are at the same length.

3. the slant symbols, \leqslant โฉฝ and the \leq โ‰ค are the same.

and etc.

If you dont mind here is the list i modified.

THX for your great work with EMACS.

Best wishes!

Wei Shaopeng

USTC

;;;-------------------------------------


(defvar md-math-prettify-symbols-alist
'( ;; Lowercase Greek letters.
  ("\\alpha" . ?๐›ผ)
  ("\\beta" . ?๐›ฝ)
  ("\\gamma" . ?๐›พ)
  ("\\delta" . ?๐›ฟ)
  ("\\epsilon" . ?๐œ–)
  ("\\zeta" . ?๐œ)
  ("\\eta" . ?๐œ‚)
  ("\\theta" . ?๐œƒ)
  ("\\iota" . ?๐œ„)
  ("\\kappa" . ?๐œ…)
  ("\\lambda" . ?๐œ†)
  ("\\mu" . ?๐œ‡)
  ("\\nu" . ?๐œˆ)
  ("\\xi" . ?๐œ‰)
  ;; There is no \omicron because it looks like a latin o.
  ("\\pi" . ?๐œ‹)
  ("\\rho" . ?๐œŒ)
  ("\\sigma" . ?๐œŽ)
  ("\\tau" . ?๐œ)
  ("\\upsilon" . ?๐œ)
  ("\\phi" . ?๐œ™)
  ("\\chi" . ?๐œ’)
  ("\\psi" . ?๐œ“)
  ("\\omega" . ?๐œ”)
  ;; Uppercase Greek letters.
  ("\\Gamma" . ?ฮ“) ?ฮ“
  ("\\Delta" . ?ฮ”)
  ("\\Lambda" . ?ฮ›)
  ("\\Phi" . ?ฮฆ)
  ("\\Pi" . ?ฮ )
  ("\\Psi" . ?ฮจ)
  ("\\Sigma" . ?ฮฃ)
  ("\\Theta" . ?ฮ˜)
  ("\\Upsilon" . ?ฮฅ)
  ("\\Xi" . ?ฮž)
  ("\\Omega" . ?ฮฉ)

  ;; Other math symbols (taken from leim/quail/latin-ltx.el).
  ("\\Box" . ?โ—ป)
  ("\\Bumpeq" . ?โ‰Ž)
  ("\\Cap" . ?โ‹’)
  ("\\Cup" . ?โ‹“)
  ("\\Diamond" . ?โ—Š)
  ("\\Downarrow" . ?โ‡“)
  ("\\H{o}" . ?ล‘)
  ("\\Im" . ?โ„‘)
  ("\\Join" . ?โ‹ˆ)
  ("\\Leftarrow" . ?โ‡)
  ("\\Leftrightarrow" . ?โ‡”)
  ("\\Ll" . ?โ‹˜)
  ("\\Lleftarrow" . ?โ‡š)
  ("\\Longleftarrow" . ?โŸธ)
  ("\\Longleftrightarrow" . ?โŸบ)
  ("\\Longrightarrow" . ?โŸน)
  ("\\Lsh" . ?โ†ฐ)
  ("\\Re" . ?โ„œ)
  ("\\Rightarrow" . ?โ‡’)
  ("\\Rrightarrow" . ?โ‡›)
  ("\\Rsh" . ?โ†ฑ)
  ("\\Subset" . ?โ‹)
  ("\\Supset" . ?โ‹‘)
  ("\\Uparrow" . ?โ‡‘)
  ("\\Updownarrow" . ?โ‡•)
  ("\\Vdash" . ?โŠฉ)
  ("\\Vert" . ?โ€–)
  ("\\Vvdash" . ?โŠช)
  ("\\aleph" . ?โ„ต)
  ("\\amalg" . ?โจฟ)
  ("\\angle" . ?โˆ )
  ("\\approx" . ?โ‰ˆ)
  ("\\approxeq" . ?โ‰Š)
  ("\\ast" . ?โˆ—)
  ("\\asymp" . ?โ‰)
  ("\\backcong" . ?โ‰Œ)
  ("\\backepsilon" . ?โˆ)
  ("\\backprime" . ?โ€ต)
  ("\\backsim" . ?โˆฝ)
  ("\\backsimeq" . ?โ‹)
  ("\\backslash" . ?\\)
  ("\\barwedge" . ?โŠผ)
  ("\\because" . ?โˆต)
  ("\\beth" . ?โ„ถ)
  ("\\between" . ?โ‰ฌ)
  ("\\bigcap" . ?โ‹‚)
  ("\\bigcirc" . ?โ—ฏ)
  ("\\bigcup" . ?โ‹ƒ)
  ("\\bigstar" . ?โ˜…)
  ("\\bigtriangledown" . ?โ–ฝ)
  ("\\bigtriangleup" . ?โ–ณ)
  ("\\bigvee" . ?โ‹)
  ("\\bigwedge" . ?โ‹€)
  ("\\blacklozenge" . ?โงซ)
  ("\\blacksquare" . ?โ—ผ)
  ("\\blacktriangle" . ?โ–ด)
  ("\\blacktriangledown" . ?โ–พ)
  ("\\blacktriangleleft" . ?โ—‚)
  ("\\blacktriangleright" . ?โ–ธ)
  ("\\bot" . ?โŠฅ)
  ("\\bowtie" . ?โ‹ˆ)
  ("\\boxminus" . ?โŠŸ)
  ("\\boxplus" . ?โŠž)
  ("\\boxtimes" . ?โŠ )
  ("\\bullet" . ?โˆ™)
  ("\\bumpeq" . ?โ‰)
  ("\\cap" . ?โˆฉ)
  ("\\cdots" . ?โ‹ฏ)
  ("\\centerdot" . ?ยท)
  ("\\checkmark" . ?โœ“)
  ("\\chi" . ?๐œ’)
  ("\\cdot" . ?โ‹…)
  ("\\cdots" . ?โ‹ฏ)
  ("\\circ" . ?โˆ˜)
  ("\\circeq" . ?โ‰—)
  ("\\circlearrowleft" . ?โ†บ)
  ("\\circlearrowright" . ?โ†ป)
  ("\\circledR" . ?ยฎ)
  ("\\circledS" . ?โ“ˆ)
  ("\\circledast" . ?โŠ›)
  ("\\circledcirc" . ?โŠš)
  ("\\circleddash" . ?โŠ)
  ("\\clubsuit" . ?โ™ฃ)
  ("\\coloneq" . ?โ‰”)
  ("\\complement" . ?โˆ)
  ("\\cong" . ?โ‰…)
  ("\\coprod" . ?โˆ)
  ("\\cup" . ?โˆช)
  ("\\curlyeqprec" . ?โ‹ž)
  ("\\curlyeqsucc" . ?โ‹Ÿ)
  ("\\curlypreceq" . ?โ‰ผ)
  ("\\curlyvee" . ?โ‹Ž)
  ("\\curlywedge" . ?โ‹)
  ("\\curvearrowleft" . ?โ†ถ)
  ("\\curvearrowright" . ?โ†ท)
  ("\\dag" . ?โ€ )
  ("\\dagger" . ?โ€ )
  ("\\daleth" . ?โ„ธ)
  ("\\dashv" . ?โŠฃ)
  ("\\ddag" . ?โ€ก)
  ("\\ddagger" . ?โ€ก)
  ("\\ddots" . ?โ‹ฑ)
  ("\\diamond" . ?โ‹„)
  ("\\diamondsuit" . ?โ™ข)
  ("\\divideontimes" . ?โ‹‡)
  ("\\doteq" . ?โ‰)
  ("\\doteqdot" . ?โ‰‘)
  ("\\dotplus" . ?โˆ”)
  ("\\dotsquare" . ?โŠก)
  ("\\downarrow" . ?โ†“)
  ("\\downdownarrows" . ?โ‡Š)
  ("\\downleftharpoon" . ?โ‡ƒ)
  ("\\downrightharpoon" . ?โ‡‚)
  ("\\ell" . ?โ„“)
  ("\\emptyset" . ?โˆ…)
  ("\\eqcirc" . ?โ‰–)
  ("\\eqcolon" . ?โ‰•)
  ("\\eqslantgtr" . ?โช–)
  ("\\eqslantless" . ?โช–)
  ("\\equiv" . ?โ‰ก)
  ("\\exists" . ?โˆƒ)
  ("\\fallingdotseq" . ?โ‰’)
  ("\\flat" . ?โ™ญ)
  ("\\forall" . ?โˆ€)
  ("\\frown" . ?โŒข)
  ("\\ge" . ?โ‰ฅ)
  ("\\geq" . ?โ‰ฅ)
  ("\\geqq" . ?โ‰ง)
  ("\\geqslant" . ?โฉพ)
  ("\\gets" . ?โ†)
  ("\\gg" . ?โ‰ซ)
  ("\\ggg" . ?โ‹™)
  ("\\gimel" . ?โ„ท)
  ("\\gnapprox" . ?โชŠ)
  ("\\gneq" . ?โชˆ)
  ("\\gneqq" . ?โ‰ฉ)
  ("\\gnsim" . ?โ‹ง)
  ("\\gtrapprox" . ?โช†)
  ("\\gtrdot" . ?โ‹—)
  ("\\gtreqless" . ?โ‹›)
  ("\\gtreqqless" . ?โ‹›)
  ("\\gtrless" . ?โ‰ท)
  ("\\gtrsim" . ?โ‰ณ)
  ("\\gvertneqq" . ?โ‰ฉ)
  ("\\hbar" . ?โ„)
  ("\\heartsuit" . ?โ™ก)
  ("\\hookleftarrow" . ?โ†ฉ)
  ("\\hookrightarrow" . ?โ†ช)
  ("\\iff" . ?โŸบ)
  ("\\imath" . ?ฤฑ)
  ("\\in" . ?โˆˆ)
  ("\\infty" . ?โˆž)
  ("\\int" . ?โˆซ)
  ("\\intercal" . ?โŠบ)
  ("\\langle" . 10216)          ; 10216 Literal ?โŸจ breaks indentation.
  ("\\lbrace" . ?{)
  ("\\lbrack" . ?\[)
  ("\\lceil" . ?โŒˆ)
  ("\\ldots" . ?โ€ฆ)
  ("\\le" . ?โ‰ค)
  ("\\leadsto" . ?โ‡)
  ("\\leftarrow" . ?โ†)
  ("\\leftarrowtail" . ?โ†ข)
  ("\\leftharpoondown" . ?โ†ฝ)
  ("\\leftharpoonup" . ?โ†ผ)
  ("\\leftleftarrows" . ?โ‡‡)
  ;; ("\\leftparengtr" ?โŒฉ), see bug#12948.
  ("\\leftrightarrow" . ?โ†”)
  ("\\leftrightarrows" . ?โ‡†)
  ("\\leftrightharpoons" . ?โ‡‹)
  ("\\leftrightsquigarrow" . ?โ†ญ)
  ("\\leftthreetimes" . ?โ‹‹)
  ("\\leq" . ?โ‰ค)
  ("\\leqq" . ?โ‰ฆ)
  ("\\leqslant" . ?โฉฝ)
  ("\\lessapprox" . ?โช…)
  ("\\lessdot" . ?โ‹–)
  ("\\lesseqgtr" . ?โ‹š)
  ("\\lesseqqgtr" . ?โช‹)
  ("\\lessgtr" . ?โ‰ถ)
  ("\\lesssim" . ?โ‰ฒ)
  ("\\lfloor" . ?โŒŠ)
  ("\\lhd" . ?โŠฒ)
  ("\\rhd" . ?โŠณ)
  ("\\ll" . ?โ‰ช)
  ("\\llcorner" . ?โŒž)
  ("\\lnapprox" . ?โช‰)
  ("\\lneq" . ?โช‡)
  ("\\lneqq" . ?โ‰จ)
  ("\\lnsim" . ?โ‹ฆ)
  ("\\longleftarrow" . ?โŸต)
  ("\\longleftrightarrow" . ?โŸท)
  ("\\longmapsto" . ?โŸผ)
  ("\\longrightarrow" . ?โŸถ)
  ("\\looparrowleft" . ?โ†ซ)
  ("\\looparrowright" . ?โ†ฌ)
  ("\\lozenge" . ?โ—Š)
  ("\\lq" . ?โ€˜)
  ("\\lrcorner" . ?โŒŸ)
  ("\\ltimes" . ?โ‹‰)
  ("\\lvertneqq" . ?โ‰จ)
  ("\\maltese" . ?โœ )
  ("\\mapsto" . ?โ†ฆ)
  ("\\measuredangle" . ?โˆก)
  ("\\mho" . ?โ„ง)
  ("\\mid" . ?โˆฃ)
  ("\\models" . ?โŠง)
  ("\\mp" . ?โˆ“)
  ("\\multimap" . ?โŠธ)
  ("\\nLeftarrow" . ?โ‡)
  ("\\nLeftrightarrow" . ?โ‡Ž)
  ("\\nRightarrow" . ?โ‡)
  ("\\nVDash" . ?โŠฏ)
  ("\\nVdash" . ?โŠฎ)
  ("\\nabla" . ?โˆ‡)
  ("\\napprox" . ?โ‰‰)
  ("\\natural" . ?โ™ฎ)
  ("\\ncong" . ?โ‰†)
  ("\\ne" . ?โ‰ )
  ("\\nearrow" . ?โ†—)
  ("\\neg" . ?ยฌ)
  ("\\neq" . ?โ‰ )
  ("\\nequiv" . ?โ‰ข)
  ;;("\\newline" . ?
)
  ("\\nexists" . ?โˆ„)
  ("\\ngeq" . ?โ‰ฑ)
  ("\\ngeqq" . ?๎€Ž)
  ("\\ngeqslant" . ?๎€)
  ("\\ngtr" . ?โ‰ฏ)
  ("\\ni" . ?โˆ‹)
  ("\\nleftarrow" . ?โ†š)
  ("\\nleftrightarrow" . ?โ†ฎ)
  ("\\nleq" . ?โ‰ฐ)
  ("\\nleqq" . ?๎€‘)
  ("\\nleqslant" . ?๎€)
  ("\\nless" . ?โ‰ฎ)
  ("\\nmid" . ?โˆค)
  ;; ("\\not" ?ฬธ)              ;FIXME: conflict with "NOT SIGN" ยฌ.
  ("\\notin" . ?โˆ‰)
  ("\\nparallel" . ?โˆฆ)
  ("\\nprec" . ?โŠ€)
  ("\\npreceq" . ?๎‹)
  ("\\nrightarrow" . ?โ†›)
  ("\\nshortmid" . ?โˆค)
  ("\\nshortparallel" . ?โˆฆ)
  ("\\nsim" . ?โ‰)
  ("\\nsimeq" . ?โ‰„)
  ("\\nsubset" . ?โŠ„)
  ("\\nsubseteq" . ?โŠˆ)
  ("\\nsubseteqq" . ?โŠˆ)
  ("\\nsucc" . ?โŠ)
  ("\\nsucceq" . ?๎)
  ("\\nsupset" . ?โŠ…)
  ("\\nsupseteq" . ?โŠ‰)
  ("\\nsupseteqq" . ?๎€˜)
  ("\\ntriangleleft" . ?โ‹ช)
  ("\\ntrianglelefteq" . ?โ‹ฌ)
  ("\\ntriangleright" . ?โ‹ซ)
  ("\\ntrianglerighteq" . ?โ‹ญ)
  ("\\nvDash" . ?โŠญ)
  ("\\nvdash" . ?โŠฌ)
  ("\\nwarrow" . ?โ†–)
  ("\\odot" . ?โŠ™)
  ("\\oint" . ?โˆฎ)
  ("\\ominus" . ?โŠ–)
  ("\\oplus" . ?โŠ•)
  ("\\oslash" . ?โŠ˜)
  ("\\otimes" . ?โŠ—)
  ;; ("\\par" . ?
)
  ("\\parallel" . ?โˆฅ)
  ("\\partial" . ?โˆ‚)
  ("\\perp" . ?โŠฅ)
  ("\\pitchfork" . ?โ‹”)
  ("\\prec" . ?โ‰บ)
  ("\\precapprox" . ?โชท)
  ("\\preceq" . ?โชฏ)
  ("\\precnapprox" . ?โ‹จ)
  ("\\precnsim" . ?โชน)
  ("\\precsim" . ?โ‰พ)
  ("\\prime" . ?โ€ฒ)
  ("\\prod" . ?โˆ)
  ("\\propto" . ?โˆ)
  ("\\qed" . ?โˆŽ)
  ("\\qquad" . ?โงข)
  ("\\quad" . ?โฃ)
  ("\\rangle" . 10217)            ; Literal ?โŸฉ breaks indentation.
  ("\\rbrace" . ?})
  ("\\rbrack" . ?\])
  ("\\rceil" . ?โŒ‰)
  ("\\rfloor" . ?โŒ‹)
  ("\\rightarrow" . ?โ†’)
  ("\\rightarrowtail" . ?โ†ฃ)
  ("\\rightharpoondown" . ?โ‡)
  ("\\rightharpoonup" . ?โ‡€)
  ("\\rightleftarrows" . ?โ‡„)
  ("\\rightleftharpoons" . ?โ‡Œ)
  ;; ("\\rightparengtr" ?โฆ”) ;; Was ?โŒช, see bug#12948.
  ("\\rightrightarrows" . ?โ‡‰)
  ("\\rightthreetimes" . ?โ‹Œ)
  ("\\risingdotseq" . ?โ‰“)
  ("\\rtimes" . ?โ‹Š)
  ("\\times" . ?ร—)
  ("\\sbs" . ?๏นจ)
  ("\\searrow" . ?โ†˜)
  ("\\setminus" . ?โˆ–)
  ("\\sharp" . ?โ™ฏ)
  ("\\shortmid" . ?โˆฃ)
  ("\\shortparallel" . ?โˆฅ)
  ("\\sim" . ?โˆผ)
  ("\\simeq" . ?โ‰ƒ)
  ("\\smallamalg" . ?โˆ)
  ("\\smallsetminus" . ?โˆ–)
  ("\\smallsmile" . ?โŒฃ)
  ("\\smile" . ?โŒฃ)
  ("\\spadesuit" . ?โ™ )
  ("\\sphericalangle" . ?โˆข)
  ("\\sqcap" . ?โŠ“)
  ("\\sqcup" . ?โŠ”)
  ("\\sqsubset" . ?โŠ)
  ("\\sqsubseteq" . ?โŠ‘)
  ("\\sqsupset" . ?โŠ)
  ("\\sqsupseteq" . ?โŠ’)
  ("\\square" . ?โ—ป)
  ("\\squigarrowright" . ?โ‡)
  ("\\star" . ?โ‹†)
  ("\\straightphi" . ?ฯ†)
  ("\\subset" . ?โŠ‚)
  ("\\subseteq" . ?โŠ†)
  ("\\subseteqq" . ?โซ…)
  ("\\subsetneq" . ?โŠŠ)
  ("\\subsetneqq" . ?โซ‹)
  ("\\succ" . ?โ‰ป)
  ("\\succapprox" . ?โชธ)
  ("\\succcurlyeq" . ?โ‰ฝ)
  ("\\succeq" . ?โชฐ)
  ("\\succnapprox" . ?โ‹ฉ)
  ("\\succnsim" . ?โ‹ฉ)
  ("\\succsim" . ?โ‰ฟ)
  ("\\sum" . ?โˆ‘)
  ("\\supset" . ?โŠƒ)
  ("\\supseteq" . ?โŠ‡)
  ("\\supseteqq" . ?โซ†)
  ("\\supsetneq" . ?โŠ‹)
  ("\\supsetneqq" . ?โซŒ)
  ("\\surd" . ?โˆš)
  ("\\swarrow" . ?โ†™)
  ("\\therefore" . ?โˆด)
  ("\\thickapprox" . ?โ‰ˆ)
  ("\\thicksim" . ?โˆผ)
  ("\\to" . ?โ†’)
  ("\\top" . ?โŠค)
  ("\\triangle" . ?โ–ณ)
  ("\\triangledown" . ?โ–ฟ)
  ("\\triangleleft" . ?โ—ƒ)
  ("\\trianglelefteq" . ?โŠด)
  ("\\triangleq" . ?โ‰œ)
  ("\\triangleright" . ?โ–น)
  ("\\trianglerighteq" . ?โŠต)
  ("\\twoheadleftarrow" . ?โ†ž)
  ("\\twoheadrightarrow" . ?โ† )
  ("\\ulcorner" . ?โŒœ)
  ("\\uparrow" . ?โ†‘)
  ("\\updownarrow" . ?โ†•)
  ("\\upleftharpoon" . ?โ†ฟ)
  ("\\uplus" . ?โŠŽ)
  ("\\uprightharpoon" . ?โ†พ)
  ("\\upuparrows" . ?โ‡ˆ)
  ("\\urcorner" . ?โŒ)
  ("\\u{i}" . ?ฤญ)
  ("\\vDash" . ?โŠจ)
  ("\\varepsilon" . ?๐œ€)
  ("\\varphi" . ?๐œ‘)
  ("\\varprime" . ?โ€ฒ)
  ("\\varpropto" . ?โˆ)
  ("\\varrho" . ?๐œš)
  ("\\varsigma" . ?๐œ)
  ("\\vartriangleleft" . ?โŠฒ)
  ("\\vartriangleright" . ?โŠณ)
  ("\\vdash" . ?โŠข)
  ("\\vdots" . ?โ‹ฎ)
  ("\\vee" . ?โˆจ)
  ("\\veebar" . ?โŠป)
  ("\\vert" . ?|)
  ("\\wedge" . ?โˆง)
  ("\\wp" . ?โ„˜)
  ("\\wr" . ?โ‰€)
  ("\\Bbb{N}" . ?โ„•)			; AMS commands for blackboard bold
  ("\\Bbb{P}" . ?โ„™)			; Also sometimes \mathbb.
  ("\\Bbb{Q}" . ?โ„š)
  ("\\Bbb{R}" . ?โ„)
  ("\\Bbb{Z}" . ?โ„ค)
  ("--" . ?โ€“)
  ("---" . ?โ€”)
  ("\\ordfeminine" . ?ยช)
  ("\\ordmasculine" . ?ยบ)
  ("\\lambdabar" . ?ฦ›)
  ("\\celsius" . ?โ„ƒ)
  ("\\textmu" . ?ยต)
  ("\\textfractionsolidus" . ?โ„)
  ("\\textbigcircle" . ?โƒ)
  ("\\textmusicalnote" . ?โ™ช)
  ("\\textdied" . ?โœ)
  ("\\textcolonmonetary" . ?โ‚ก)
  ("\\textwon" . ?โ‚ฉ)
  ("\\textnaira" . ?โ‚ฆ)
  ("\\textpeso" . ?โ‚ฑ)
  ("\\textlira" . ?โ‚ค)
  ("\\textrecipe" . ?โ„ž)
  ("\\textinterrobang" . ?โ€ฝ)
  ("\\textpertenthousand" . ?โ€ฑ)
  ("\\textbaht" . ?เธฟ)
  ("\\textnumero" . ?โ„–)
  ("\\textdiscount" . ?โ’)
  ("\\textestimated" . ?โ„ฎ)
  ("\\textopenbullet" . ?โ—ฆ)
  ("\\textlquill" . 8261)		; Literal ?โ… breaks indentation.
  ("\\textrquill" . 8262)             ; Literal ?โ† breaks indentation.
  ("\\textcircledP" . ?โ„—)
  ("\\textreferencemark" . ?โ€ป))
"A `prettify-symbols-alist' usable for (La)TeX modes.")


;;;-------------------------------------



In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
of 2021-03-28 built on builder10-14.porkrind.org
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.4

Recent messages:
Applying style hooks...done
Unable to load color "unspecified-fg"
Use +,-,0 for further adjustment [6 times]
Sorting symbol...done
Removing duplicates...done
Open /Users/chopong/Desktop/demo.tex
Unable to load color "unspecified-fg"
Use +,-,0 for further adjustment [5 times]
Saving file /Users/chopong/Desktop/demo2.md...
Wrote /Users/chopong/Desktop/demo2.md

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JSON PDUMPER GMP

Important settings:
value of $LANG: zh_CN.UTF-8
locale-coding-system: utf-8

Major mode: TeX/P

Minor modes in effect:
TeX-PDF-mode: t
md-math-mode: (mymath-highlights)
diredfl-global-mode: t
xterm-mouse-mode: t
default-text-scale-mode: t
winner-mode: t
auto-compile-on-load-mode: t
auto-compile-on-save-mode: t
mode-line-bell-mode: t
dimmer-mode: t
text-scale-mode: t
global-anzu-mode: t
anzu-mode: t
savehist-mode: t
counsel-mode: t
ivy-mode: t
delete-selection-mode: t
company-quickhelp-mode: t
company-quickhelp-local-mode: t
global-company-mode: t
company-mode: t
global-flycheck-mode: t
flycheck-mode: t
global-whitespace-cleanup-mode: t
whitespace-cleanup-mode: t
global-diff-hl-mode: t
diff-hl-mode: t
electric-pair-mode: t
beacon-mode: t
global-auto-revert-mode: t
show-paren-mode: t
whole-line-or-region-global-mode: t
whole-line-or-region-local-mode: t
hes-mode: t
guide-key-mode: t
global-page-break-lines-mode: t
shell-dirtrack-mode: t
ipretty-mode: t
immortal-scratch-mode: t
recentf-mode: t
ns-auto-titlebar-mode: t
override-global-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
global-prettify-symbols-mode: t
prettify-symbols-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t

Load-path shadows:
/Users/chopong/.emacs.d/elpa/seq-2.22/seq hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/seq

Features:
(font-latex plain-tex tex-buf latex latex-flymake flymake-proc flymake
warnings tex-ispell tex-style tex tex-mode latexenc shadow sort
mail-extr view emacsbug message rmc rfc822 mml mml-sec epa epg
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail hippie-expand-slime hippie-exp slime-fuzzy
slime-c-p-c slime-autodoc slime-editing-commands slime-repl elp
slime-parse slime-company slime arc-mode archive-mode hyperspec
two-column iso-transl tabify thai-util thai-word eieio-opt speedbar
sb-image ezimage dframe cl-print debug backtrace vc-git ffap cdlatex
texmathp executable crm help-fns radix-tree dracula-theme smex ido
mmm-erb mmm-region md-math md-math-symbols cmd-to-echo
shell-split-string rainbow-mode list-unicode-display vlf vlf-base
vlf-tune haml-mode js cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs markdown-mode css-mode eww
mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045
ietf-drums mail-utils mm-util mail-prsvr url-queue url url-proxy
url-privacy url-expand url-methods url-history mailcap shr url-cookie
url-domsuf url-util puny svg tagedit sgml-mode dom toml-mode conf-mode
yaml-mode cljsbuild-mode elein flycheck-clojure cider cider-debug
cider-browse-ns cider-mode cider-inspector cider-completion
cider-profile cider-eval cider-repl-history pulse cider-repl
cider-resolve cider-test cider-overlays cider-stacktrace cider-doc
cider-browse-spec cider-clojuredocs cider-eldoc cider-client
cider-common cider-connection cider-util cider-popup sesman-browser
nrepl-client queue nrepl-dict cider-compat spinner sesman clojure-mode
lisp-mnt align parseedn parseclj-parser parseclj-lex a ruby-hash-syntax
rspec-mode ruby-compilation which-func imenu inf-ruby ruby-mode smie
switch-window switch-window-mvborder switch-window-asciiart quail alert
log4e notifications dbus xml gntp ivy-xref unfill aggressive-indent
cl-lib-highlight macrostep cl-libify diredfl elisp-slime-nav
highlight-quoted autoinsert jka-compr yasnippet-snippets yasnippet
disp-table bug-reference symbol-overlay rainbow-delimiters xt-mouse
default-text-scale winner auto-compile packed mode-line-bell dimmer
face-remap anzu savehist counsel xdg dired dired-loaddefs compile swiper
ivy delsel ivy-faces ivy-overlay colir color company-quickhelp pos-tip
company-oddmuse company-keywords company-etags etags fileloop generator
xref project company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-template company-capf company-cmake
company-bbdb company flycheck whitespace-cleanup-mode diff-hl log-view
pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode elec-pair beacon
autorevert filenotify paren whole-line-or-region
highlight-escape-sequences guide-key s popwin dash diminish
page-break-lines display-line-numbers linum whitespace thingatpt
org-agenda org-refile ob-sqlite ob-sql ob-shell ob-ruby ob-python python
tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x
tramp-compat shell parse-time iso8601 ls-lisp ob-plantuml ob-octave
ob-ledger ob-latex ob-gnuplot ob-dot ob-ditaa ob-R org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete pcomplete comint ring org-list org-faces org-entities
time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval
org-table org-keys org-loaddefs find-func cal-menu calendar cal-loaddefs
ol org-compat org-macs format-spec bookmark text-property-search ipretty
pp immortal-scratch init session init-pos-package server init-cnfonts
init-anki init-tex init-ess init-sql init-ruby init-python reformatter
ansi-color init-javascript init-css init-clojure init-emacs-lisp derived
dashboard dashboard-widgets time recentf tree-widget wid-edit init-slime
init-markdown init-csv init-xxxml init-http init-org-agenda init-org
grab-mac-link init-editing-tools init-git-util init-yasnippet init-spell
init-smex init-whitespace init-flycheck init-company init-dired init-mmm
mmm-auto mmm-vars mmm-utils mmm-compat init-ivy init-sessions
init-recentf init-search init-osx-keys init-icons init-theme
init-sidebar pcase neotree init-mode-line smart-mode-line-dark-theme
smart-mode-line rich-minority init-compile init-uniquify init-window
ace-jump-mode advice windmove init-buffer ibuf-macs init-frame-gui
ns-auto-titlebar init-frame-term init-locale init-pre-package fullframe
cl-extra help-mode init-functions edmacro kmacro init-elpa use-package
use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode use-package-core finder-inf
init-plugins init-parameter tex-site helm-easymenu rx slime-autoloads cl
info package easymenu browse-url url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json
subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib china-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 966983 286783)
(symbols 48 52650 136)
(strings 32 245659 35294)
(string-bytes 1 7200640)
(vectors 16 104924)
(vector-slots 8 2083339 605234)
(floats 8 570 1290)
(intervals 56 21663 10895)
(buffers 1000 30))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49879; Package emacs. (Mon, 22 Aug 2022 11:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 49879 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chopong Wei <chopong <at> aliyun.com>
Cc: 49879 <at> debbugs.gnu.org
Subject: Re: bug#49879: 27.2; Prettify Symbols Preview
 (tex--prettify-symbols-alist) did  not look same with LaTeX [Tex Mode]
Date: Mon, 22 Aug 2022 13:18:53 +0200
Chopong Wei <chopong <at> aliyun.com> writes:

> I checked the list, and found something that could actually if
> modified to promote
> the experience with Emacs Tex Mode.
>
> 1. the \alpha with keycode ASCII 945 [in list] or 120572 [LaTeX uses],
> the other Lowercase Greek letters are the same.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

If I understand the proposal, you want to change \\alpha from the Greek
letter to the mathematical symbol (etc).  The format of the list makes
it hard to make out what the rest of the changes are.

Would it be possible for you to submit a unified diff with the proposed
changes instead?




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 22 Aug 2022 11:20:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49879; Package emacs. (Mon, 19 Sep 2022 19:22:01 GMT) Full text and rfc822 format available.

Message #13 received at 49879 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chopong Wei <chopong <at> aliyun.com>
Cc: 49879 <at> debbugs.gnu.org
Subject: Re: bug#49879: 27.2; Prettify Symbols Preview
 (tex--prettify-symbols-alist) did  not look same with LaTeX [Tex Mode]
Date: Mon, 19 Sep 2022 21:20:59 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> If I understand the proposal, you want to change \\alpha from the Greek
> letter to the mathematical symbol (etc).  The format of the list makes
> it hard to make out what the rest of the changes are.
>
> Would it be possible for you to submit a unified diff with the proposed
> changes instead?

It's not at all clear to me that this would be a welcome change, and as
there was not response in a month, I'm closing this bug report.  If
somebody thinks that this is a good idea (and has a patch to implement
it), please respond to the debbugs address and we'll reopen.




bug closed, send any further explanations to 49879 <at> debbugs.gnu.org and Chopong Wei <chopong <at> aliyun.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 19 Sep 2022 19:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Oct 2022 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.