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

> Just with the defaults, without changing `auto-mode-alist' manually:
>
> 1. touch /tmp/test.drv
> 2. Start Emacs 30.93.2 with AUCTeX installed
> 3. Visit /tmp/test.drv
> 4. M-x describe-mode. The mode is latex-mode instead of LaTeX-mode
>
> This is because AUCTeX this to `auto-mode-alist':
>     ("\\.drv\\'" . LaTeX-mode) 
>
> And then this remapping (new in Emacs 30) kicks in: 
>     (LaTeX-mode . latex-mode)
>
> I expect that the same will happen with any entry manually added to
> `auto-mode-alist' if it specifies an AUCTeX mode.

Thanks, now I see.  The same thing goes with foo.hva since we have this
in latex.el:

  (add-to-list 'auto-mode-alist '("\\.hva\\'" . LaTeX-mode))

@Keita: You're the one mostly familiar with the code.  Any idea what's
the best course of action?  I consider the current behavior a bug.

Best, Arash

Reply via email to