unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18205: Obsolete patterns in auto-mode-alist
@ 2014-08-05 23:58 Reuben Thomas
  2014-08-06 17:41 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Reuben Thomas @ 2014-08-05 23:58 UTC (permalink / raw)
  To: 18205

[-- 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 --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2014-08-09 14:27 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05 23:58 bug#18205: Obsolete patterns in auto-mode-alist Reuben Thomas
2014-08-06 17:41 ` 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

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).