bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-mode-alist entries for README etc?


From: Stefan Monnier
Subject: Re: auto-mode-alist entries for README etc?
Date: 13 Mar 2001 16:22:47 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.100

>>>>> "Richard" == Richard Kettlewell <rkettlewell@zeus.com> writes:
> I have this entry in my ~/.emacs:
>     (setq auto-mode-alist
>           (cons '("README\\'" . text-mode)
>                 auto-mode-alist))
> Perhaps Emacs should treat README (or README*, actually) as text by default?
> Similarly for other common text file names - COPYING, INSTALL, TODO,
> CREDITS, THANKS, etc.

I'd agree.
I've been using

    (setq auto-mode-alist
          (append auto-mode-alist
                  '(("/[A-Z]+\\'" . text-mode))))

for a while and have never regretted it,


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]