GNU bug report logs - #79921
[PATCH] Use math symbols instead of CJK punctuation in TeX input method

Previous Next

Package: emacs;

Reported by: Josh Berdine <josh <at> berdine.net>

Date: Sun, 30 Nov 2025 23:32:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 79921 AT debbugs.gnu.org.

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#79921; Package emacs. (Sun, 30 Nov 2025 23:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josh Berdine <josh <at> berdine.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 30 Nov 2025 23:32:02 GMT) Full text and rfc822 format available.

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

From: Josh Berdine <josh <at> berdine.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Use math symbols instead of CJK punctuation in TeX input 
 method
Date: Sun, 30 Nov 2025 23:31:31 +0000
[Message part 1 (text/plain, inline)]
Here is a small patch to use math symbols instead of CJK punctuation in a
couple instances with the TeX input method.



In GNU Emacs 30.2 (build 2, aarch64-apple-darwin24.6.0, NS
 appkit-2575.70 Version 15.6 (Build 24G84)) of 2025-08-19 built on
 josh-mac.local
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.7.2

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
 --infodir=/opt/homebrew/Cellar/emacs-plus <at> 30/30.2/share/info/emacs
 --prefix=/opt/homebrew/Cellar/emacs-plus <at> 30/30.2
 --with-native-compilation=aot --with-xml2 --with-gnutls
 --without-compress-install --without-dbus --without-imagemagick
 --with-modules --with-rsvg --with-webp --with-ns
 --disable-ns-self-contained 'CFLAGS=-O2 -DFD_SETSIZE=10000
 -DDARWIN_UNLIMITED_SELECT -I/opt/homebrew/opt/sqlite/include
 -I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include'
 'LDFLAGS=-L/opt/homebrew/opt/sqlite/lib -L/opt/homebrew/lib/gcc/15
 -I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include''

[0001-Use-math-symbols-instead-of-CJK-punctuation-in-TeX-i.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79921; Package emacs. (Mon, 01 Dec 2025 12:10:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Josh Berdine <josh <at> berdine.net>
Cc: 79921 <at> debbugs.gnu.org
Subject: Re: bug#79921: [PATCH] Use math symbols instead of CJK punctuation in
 TeX input method
Date: Mon, 01 Dec 2025 14:09:15 +0200
> From: Josh Berdine <josh <at> berdine.net>
> Date: Sun, 30 Nov 2025 23:31:31 +0000
> 
> Here is a small patch to use math symbols instead of CJK punctuation in a
> couple instances with the TeX input method.

Thanks, but please compare this with the patches discussed in

  https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg00804.html

I think it already includes your additions.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79921; Package emacs. (Mon, 01 Dec 2025 13:46:03 GMT) Full text and rfc822 format available.

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

From: Josh Berdine <josh <at> berdine.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79921 <at> debbugs.gnu.org
Subject: Re: bug#79921: [PATCH] Use math symbols instead of CJK punctuation in
 TeX input method
Date: Mon, 1 Dec 2025 13:45:30 +0000
> On Dec 1, 2025, at 12:09 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> From: Josh Berdine <josh <at> berdine.net>
>> Date: Sun, 30 Nov 2025 23:31:31 +0000
>> 
>> Here is a small patch to use math symbols instead of CJK punctuation in a
>> couple instances with the TeX input method.
> 
> Thanks, but please compare this with the patches discussed in
> 
>  https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg00804.html
> 
> I think it already includes your additions.

Thanks for the pointer, those patches are definitely related. Unless I have overlooked something in the latest patches in that thread, the patch I sent is not subsumed. The aim of this patch is not to add new symbols, but to change which unicode "characters" are generated by existing rules. In particular, to use math symbols that are usually rendered single-width rather than CJK punctuation which is often rendered double-width.

But this will certainly conflict with the patches in the linked discussion, so I'm happy to wait for that discussion to resolve and refresh this one.

Thanks, Josh



This bug report was last modified today.

Previous Next


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