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: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Arash Esbati <arash <at> gnu.org>
Cc: 71467 <at> debbugs.gnu.org
Subject: bug#71467: Value of `LaTeX-math-menu-unicode' on macOS
Date: Tue, 11 Jun 2024 14:27:40 +0900
Hi Arash,

>>>>> Arash Esbati <arash <at> gnu.org> writes:
> So I'd like to install the following change:
> 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)
> Any comments?

Maybe we should use `system-type' instead of `window-system', because
`window-system' is terminal-local variable. Users can launch an emacs
session with -nw option, do `server-start' and attach a graphical frame
to that session by "emacsclient -c" afterwards. If the `defcustom' was
evaluated in terminal frame, unicode characters wouldn't appear in the
menu in graphical frame due to `LaTeX-math-menu-unicode' being nil.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW




This bug report was last modified 344 days ago.

Previous Next


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