GNU bug report logs - #71467
Value of `LaTeX-math-menu-unicode' on macOS

Previous Next

Package: auctex;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Mon, 10 Jun 2024 10:26:02 UTC

Severity: normal

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arash Esbati <arash <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71467: closed (Value of `LaTeX-math-menu-unicode' on macOS)
Date: Wed, 12 Jun 2024 06:43:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 12 Jun 2024 08:42:12 +0200
with message-id <m2h6dy64sb.fsf <at> macmutant.fritz.box>
and subject line Re: bug#71467: Value of `LaTeX-math-menu-unicode' on macOS
has caused the debbugs.gnu.org bug report #71467,
regarding Value of `LaTeX-math-menu-unicode' on macOS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
71467: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71467
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: "auctex-bugs" <bug-auctex <at> gnu.org>
Subject: Value of `LaTeX-math-menu-unicode' on macOS
Date: Mon, 10 Jun 2024 10:34:28 +0200
[Message part 3 (text/plain, inline)]
Hi all,

I was looking at this request[1] and it occurred to me that the value of
`LaTeX-math-menu-unicode' doesn't cater for macOS.  So the math-menu
currently looks like this:
[emacs-Q.png (image/png, inline)]
[Message part 5 (text/plain, inline)]
where it can look liket this:
[emacs-patched.png (image/png, inline)]
[Message part 7 (text/plain, inline)]
So I'd like to install the following change:

--8<---------------cut here---------------start------------->8---
diff --git a/latex.el b/latex.el
index da202219..cfd7ee5c 100644
--- a/latex.el
+++ b/latex.el
@@ -6426,8 +6426,7 @@ Each entry should be a list with upto four elements, KEY, VALUE,
 MENU and CHARACTER, see `LaTeX-math-list' for details.")

 (defcustom LaTeX-math-menu-unicode
-  (or (string-match "\\<GTK\\>" (emacs-version))
-      (eq window-system 'w32))
+  (if (memq window-system '(pgtk ns w32)) t nil)
   "Whether the LaTeX menu should try using Unicode for effect."
   :type 'boolean
   :group 'LaTeX-math)
--8<---------------cut here---------------end--------------->8---

Any comments?

Best, Arash

Footnotes:
[1]  https://lists.gnu.org/archive/html/auctex/2024-06/msg00000.html
[Message part 8 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: 71467-done <at> debbugs.gnu.org
Subject: Re: bug#71467: Value of `LaTeX-math-menu-unicode' on macOS
Date: Wed, 12 Jun 2024 08:42:12 +0200
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> Looks good 😘

Thanks, installed, and closing.

Best, Arash


This bug report was last modified 343 days ago.

Previous Next


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