bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ikumi Keita
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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]