Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Ikumi Keita
> Stefan Monnier writes: >>> OTOH you should be able to completely hide the "base" menus (by >>> overriding their bindings with something silly like the `ignore` >>> command). >> Do you mean menus provided by built-in tex mode by "base" menus? > Yes. I see. Then ability to hide the base

Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Ikumi Keita
Hi Uwe, > Uwe Brauer writes: >> AFAIK the only clean way is to actually change those bindings. >> Yes, users will complain, and it may even break some 3rd party code, so >> it'll be somewhat painful. > Given that, and I am using for example cdlatex I must ask: > is this drastic change

Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Stefan Monnier
>> [ And in Emacs-30, you can use `major-mode-remap-alist` so that >> `mode: latex` will not call `latex-mode` but some other function, >> such as `LaTeX-mode`. ] > Yes, `major-mode-remap-alist` provides a clean way. However AUCTeX still > need to keep the current code for a certain period

Re: AUCTeX and "builtin latex mode" integration

2023-02-01 Thread Ikumi Keita
Hi Stefan, > Stefan Monnier writes: >> 1. I first tried [A] because [B] wouldn't be easy to retain >> compatibility for users who have >> - a lot of files with "mode: latex" tag in the file local variables >> section. > The `mode:` specifies which function is called to enable the mode, >