all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ikumi Keita <ikumi@ikumi.que.jp>
Cc: Stefan Kangas <stefankangas@gmail.com>, 61210@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	[thread overview]
Message-ID: <jwv8r9bkqvn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87901.1693980537@localhost> (Ikumi Keita's message of "Wed, 06 Sep 2023 15:08:57 +0900")

>>>>>> Stefan Kangas <stefankangas@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






      parent reply	other threads:[~2023-09-12 21:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01 12:13 bug#61210: 28.2; Request to modify code which can accidentally overwrite AUCTeX function Ikumi Keita
2023-03-18 22:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-20 12:25   ` Ikumi Keita
2023-03-20 15:07     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-20 17:44       ` Ikumi Keita
2023-09-05 23:29         ` Stefan Kangas
2023-09-06  6:08           ` Ikumi Keita
2023-09-06  8:02             ` Stefan Kangas
2023-09-12 21:50             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8r9bkqvn.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=61210@debbugs.gnu.org \
    --cc=ikumi@ikumi.que.jp \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.