[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changelog mode entry in auto-mode-alist
From: |
Chong Yidong |
Subject: |
Re: Changelog mode entry in auto-mode-alist |
Date: |
Tue, 05 Jun 2007 12:11:40 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Dan Nicolaescu <address@hidden> writes:
> > Is this really desirable? With this change, ChangeLog.sh (for
> > instance) opens in change-log-mode rather than shell script mode.
> > Maybe we should either revert this change (and use file variables to
> > specify the mode for ChangeLog.unicode and similarly-named files), or
> > move the change-log-mode entry further down in auto-mode-alist.
>
> File variables are not very good for non-emacs hackers. We can do it
> in emacs, but there are other projects that use the
> ChangeLog.BRANCH_NAME convention, we should make using the right mode
> easier for those projects.
>
> I'd vote for moving the change-log-mode further down in
> auto-mode-alist.
I've split the ChangeLog.[0-9] and ChangeLog.[a-z0-9] entries, and
moved the latter further down the list.