From: Reuben Thomas <rrt@sc3d.org>
To: 18205@debbugs.gnu.org
Subject: bug#18205: Obsolete patterns in auto-mode-alist
Date: Wed, 6 Aug 2014 00:58:04 +0100 [thread overview]
Message-ID: <CAOnWdoh_FVdMQUA-OJpLYKcCFB7o57K3oCCt8B0OFyqtms+3yA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
The default value for auto-mode-alist currently contains the following:
;; .emacs or .gnus or .viper following a directory delimiter in
;; Unix, MSDOG or VMS syntax.
("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode)
("\\`\\..*emacs\\'" . emacs-lisp-mode)
;; _emacs following a directory delimiter
;; in MsDos syntax
("[:/]_emacs\\'" . emacs-lisp-mode)
There are two non-standard spellings:
s/MSDOG/MS-DOS/
s/MsDos/MS-DOS/
Further, the second line looks like it will only match a .emacs in the root
directory, presumably because the first line will not.
Given that VMS support has been removed, can we replace the first two
pattern lines with a line that uses the pattern used above:
\\(/\\|\\`\\)
to match either start of line or directory separator? And can we then also
remove the third line, as MS-DOS syntax is not treated specially anywhere
else in this default value?
--
http://rrt.sc3d.org
[-- Attachment #2: Type: text/html, Size: 1267 bytes --]
next reply other threads:[~2014-08-05 23:58 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 23:58 Reuben Thomas [this message]
2014-08-06 17:41 ` bug#18205: Obsolete patterns in auto-mode-alist Stefan Monnier
2014-08-06 17:47 ` Reuben Thomas
2014-08-06 18:04 ` Eli Zaretskii
2014-08-07 0:14 ` Glenn Morris
2014-08-07 2:53 ` Eli Zaretskii
2014-08-07 9:39 ` Reuben Thomas
2014-08-07 10:07 ` Reuben Thomas
2014-08-07 10:18 ` Reuben Thomas
2014-08-07 18:24 ` Richard Stallman
2014-08-07 12:23 ` Stefan Monnier
2014-08-07 15:28 ` Eli Zaretskii
2014-08-07 19:12 ` Stefan Monnier
2014-08-07 19:40 ` Eli Zaretskii
2014-08-07 18:24 ` Richard Stallman
2014-08-07 19:34 ` Eli Zaretskii
2014-08-08 5:35 ` Richard Stallman
2014-08-08 6:06 ` Eli Zaretskii
2014-08-08 19:11 ` Richard Stallman
2014-08-08 20:09 ` Eli Zaretskii
2014-08-08 20:54 ` Reuben Thomas
2014-08-08 23:19 ` Reuben Thomas
2014-08-09 6:49 ` Eli Zaretskii
2014-08-09 7:41 ` Reuben Thomas
2014-08-09 7:44 ` Reuben Thomas
2014-08-09 8:30 ` Eli Zaretskii
2014-08-09 9:11 ` Reuben Thomas
2014-08-09 11:53 ` Eli Zaretskii
2014-08-09 11:57 ` Reuben Thomas
2014-08-09 14:27 ` Eli Zaretskii
2014-08-07 4:25 ` Richard Stallman
2014-08-06 18:01 ` Eli Zaretskii
2014-08-06 22:05 ` Reuben Thomas
2014-08-07 2:51 ` Eli Zaretskii
2014-08-07 12:02 ` Reuben Thomas
2014-08-07 15:27 ` Eli Zaretskii
2014-08-07 11:54 ` Reuben Thomas
2014-08-06 23:57 ` Glenn Morris
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=CAOnWdoh_FVdMQUA-OJpLYKcCFB7o57K3oCCt8B0OFyqtms+3yA@mail.gmail.com \
--to=rrt@sc3d.org \
--cc=18205@debbugs.gnu.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 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.