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

From: Arash Esbati <[email-masked]>
Date: Mon, 10 Jun 2024 10:34:28 +0200

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