[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: magic-mode-alist gets in the way
From: |
James J. Ramsey |
Subject: |
Re: magic-mode-alist gets in the way |
Date: |
Mon, 3 Jan 2005 15:46:15 -0800 (PST) |
--- Richard Stallman <address@hidden> wrote:
> > This would not give good results, because the
> idea
> > is that
> > ALL the regexps that match the contents should
> be
> > tested before
> > all those that match the file name.
>
> But it's that very idea that gets in the way and
> requires one to work around magic-mode-alist.
>
> Yes, that's right. The approach we are using is
> inconvenient in your
> particular case. The other alternative would have
> much worse
> problems. People would override magic-mode-alist
> without even
> realizing it.
If the other alternative was Miles Bader's, which was
"Perhaps it would easier if there were only one 'list'
-- auto-mode-alist -- and a way for an entry to
specify a 'file contents regexp' instead of a
file-name matching regexp."
there wouldn't *be* a magic-mode-alist.
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
- magic-mode-alist gets in the way, James J. Ramsey, 2005/01/01
- Re: magic-mode-alist gets in the way, Miles Bader, 2005/01/01
- Re: magic-mode-alist gets in the way, Stefan Monnier, 2005/01/03
- Re: magic-mode-alist gets in the way, Richard Stallman, 2005/01/03
- Re: magic-mode-alist gets in the way, James J. Ramsey, 2005/01/04
- Re: magic-mode-alist gets in the way, Stefan, 2005/01/04
- Re: magic-mode-alist gets in the way, Richard Stallman, 2005/01/04
- Re: magic-mode-alist gets in the way, Richard Stallman, 2005/01/04
- Re: magic-mode-alist gets in the way, James J. Ramsey, 2005/01/04
- Re: magic-mode-alist gets in the way, Richard Stallman, 2005/01/05