Subject: bug#71467: closed (Re: bug#71467: Value of `LaTeX-math-menu-unicode' on macOS)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 12 Jun 2024 06:43:02 +0000

Your bug report

#71467: Value of `LaTeX-math-menu-unicode' on macOS

which was filed against the auctex package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
71467: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71467
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#71467: Value of `LaTeX-math-menu-unicode' on macOS
From: Arash Esbati <[email-masked]>
To: Ikumi Keita <[email-masked]>
Cc: [email-masked]
Date: Wed, 12 Jun 2024 08:42:12 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ikumi Keita <[email-masked]> writes:

> Looks good 😘

Thanks, installed, and closing.

Best, Arash

Subject: Value of `LaTeX-math-menu-unicode' on macOS
From: Arash Esbati <[email-masked]>
To: "auctex-bugs" <[email-masked]>
Date: Mon, 10 Jun 2024 10:34:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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:
where it can look liket this:

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