unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 8158@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	Reuben Thomas <rrt@sc3d.org>
Subject: bug#8158: Definition of auto-mode-alist
Date: Wed, 26 Jan 2022 19:14:11 -0800	[thread overview]
Message-ID: <CADwFkm=bHDEDTqgxzTqtGNBKVyELmVFQubSEijBZLSeaJvnttQ@mail.gmail.com> (raw)
In-Reply-To: <87o87hdtcj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 22 Oct 2021 16:31:08 +0200")

close 8158 29.1
thanks

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Kangas <stefan@marxist.se> writes:
>
>> Does anyone object to just removing the above comment?  And similarly
>> for `interpreter-mode-alist', I suppose.
>
> I think removing the comment is fine.

No further comments here within 3 months, so I've now installed the
below change on master.

diff --git a/lisp/files.el b/lisp/files.el
index aabe8f445e..4ba71e6144 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2757,8 +2757,7 @@ auto-mode-case-fold
 (defvar auto-mode-alist
   ;; 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.
+  ;; directives in that file.
   (mapcar
    (lambda (elt)
      (cons (purecopy (car elt)) (cdr elt)))
@@ -3056,8 +3055,7 @@ conf-mode-maybe
 (defvar interpreter-mode-alist
   ;; Note: The entries for the modes defined in cc-mode.el (awk-mode
   ;; and pike-mode) are added through autoload directives in that
-  ;; file.  That way is discouraged since it spreads out the
-  ;; definition of the initial value.
+  ;; file.
   (mapcar
    (lambda (l)
      (cons (purecopy (car l)) (cdr l)))





  reply	other threads:[~2022-01-27  3:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 22:02 bug#8158: Definition of auto-mode-alist Reuben Thomas
2011-03-02 22:18 ` Lennart Borgman
2011-03-02 22:22   ` Reuben Thomas
2011-03-02 22:30     ` Lennart Borgman
2011-03-02 22:35       ` Reuben Thomas
2011-03-02 23:14         ` Lennart Borgman
2011-03-02 23:21           ` Reuben Thomas
2011-03-02 23:39             ` Lennart Borgman
2011-03-02 23:41               ` Reuben Thomas
2011-03-02 23:42                 ` Lennart Borgman
2011-03-02 23:43                   ` Reuben Thomas
2011-03-03  0:30                     ` Lennart Borgman
2011-03-03 11:43                       ` Reuben Thomas
2011-03-04  4:22           ` Stefan Monnier
2011-03-04  4:22 ` Stefan Monnier
2021-10-21 20:29   ` Stefan Kangas
2021-10-22 14:31     ` Lars Ingebrigtsen
2022-01-27  3:14       ` Stefan Kangas [this message]
2021-10-22 23:45     ` Richard Stallman
2021-10-23  0:15       ` Stefan Kangas

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkm=bHDEDTqgxzTqtGNBKVyELmVFQubSEijBZLSeaJvnttQ@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=8158@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rrt@sc3d.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).