auctex-devel
[Top][All Lists]
Advanced

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

Re: Issues with major-mode-remap-defaults


From: Arash Esbati
Subject: Re: Issues with major-mode-remap-defaults
Date: Tue, 14 Jan 2025 08:25:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Tim Ruffing <dev@real-or-random.org> writes:

> AUCTeX does the opposite. This means that after loading AUXTeX, we'll
> get this "funny" value for major-mode-remap-defaults:
>
> ((doctex-mode . docTeX-mode)
>  (latex-mode . LaTeX-mode)
>  (texinfo-mode . Texinfo-mode)
>  (plain-tex-mode . plain-TeX-mode)
>  (tex-mode . TeX-tex-mode)
>  (LaTeX-mode . latex-mode)
>  (plain-TeX-mode . plain-tex-mode)
>  (TeX-mode . tex-mode))
>
> Now this is full chaos. If you set latex-mode in auto-mode-alist,
> you'll get LaTeX-mode, and the other way around. (I mean, at least
> Emacs stops after one remapping and doesn't enter infinite loop.)

I'm not sure if I follow.  Can you provide a recipe what and how you add
an entry to `auto-mode-alist' that break things?  The value above might
look funny, but AFAICT, it works.  I currently fail to see the chaos.

Best, Arash



reply via email to

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