GNU bug report logs - #61210
28.2; Request to modify code which can accidentally overwrite AUCTeX function

Previous Next

Package: emacs;

Reported by: Ikumi Keita <ikumi <at> ikumi.que.jp>

Date: Wed, 1 Feb 2023 12:14:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.2

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Stefan Kangas <stefankangas <at> gmail.com>, 61210 <at> debbugs.gnu.org
Subject: bug#61210: 28.2; Request to modify code which can accidentally overwrite AUCTeX function
Date: Tue, 12 Sep 2023 17:50:37 -0400
>>>>>> Stefan Kangas <stefankangas <at> gmail.com> writes:
>> From skimming this bug report, it seems like all the issues were
>> resolved here?  Or is there anything left to do?
> As a longer term goal, it would be ideal to remove the current autoloads
> in my opinion. However, if it is considered difficult to do so for some
> reason (e.g. keeping backward compatibility), I don't mind much.

These autoloads are currently used in the case where a file says
`mode: LaTeX` to provide a fallback that redirect to `latex-mode`.

We currently don't have any other way to provide such a fallback.

Maybe the better long term strategy is to encourage users to use
`mode: latex` instead (e.g. by emitting warnings, or highlighting such
`mode:` settings), i.e. to use the mode as a specification of the
file type *without* enforcing a particular preference of major mode and
then rely on the user's `major-mode-remap-alist` to choose between
`latex-mode` and `LaTeX-mode` (or any other mode the user may fancy to
edit such files).


        Stefan





This bug report was last modified 1 year and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.