GNU bug report logs - #8158
Definition of auto-mode-alist

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 2 Mar 2011 22:03:01 UTC

Severity: wishlist

Fixed in version 29.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #61 received at 8158 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Richard Stallman <rms <at> gnu.org>
Cc: 8158 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, rrt <at> sc3d.org
Subject: Re: bug#8158: Definition of auto-mode-alist
Date: Fri, 22 Oct 2021 17:15:45 -0700
Richard Stallman <rms <at> gnu.org> writes:

>   > > I agree, but I think Richard disagrees.
>
> What is the question that maybe I disagree about?

The full initial message was:

> A comment in files.el says:
>
>   ;; Note: The entries for the modes defined in cc-mode.el (c-mode,
>   ;; c++-mode, java-mode and more) are added through autoload
>   ;; directives in that file.  That way is discouraged since it
>   ;; spreads out the definition of the initial value.
>
> Isn't this a bit unmodular as Emacs continues to grow, and given loaddefs.el?
>
> If the maintainers agree, then the last sentence should be changed to
> encourage the removal of the initial values back into the relevant
> mode files.

What I propose is to make no concrete change besides removing that
comment.  This avoids people rushing off to change everything around,
which is probably not what we want at this point, but also doesn't very
strongly discourage a more modular design.  If any problems crop up, we
can address them with specific fixes.




This bug report was last modified 3 years and 119 days ago.

Previous Next


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