Hi Arash,

>>>>> Arash Esbati <ar...@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



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to