[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: image.el doesn't associate image-mode with .JPG files
From: |
Stefan Monnier |
Subject: |
Re: image.el doesn't associate image-mode with .JPG files |
Date: |
Mon, 18 Dec 2006 05:17:57 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
> Can you point to a single instance where doing a case-insensitve match
> as a fallback would be harmful?
> There are many patterns which are meant to apply to file names used
> for specific conventional purposes in a GNU-like system, names
> which are used with specific case patterns. Here's one example.
>
> ("\\(/\\|\\`\\)\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" .
> sh-mode)
I don't see in which sense this is an example. After all, what harm would
there be to use sh-mode for files named .BASH_PROFILE or .ZLOGIN ?
Or even .bAsH_PROfilE ?
> The answer is no, and I've chosen a different solution.
I think the two solutions aren't mutually exclusive. I agree with Jason
that it would make a lot of sense to use a fallback where we try
auto-mode-alist a second time with case-fold-search set to t if the first
time didn't turn up any match.
Stefan
- Re: image.el doesn't associate image-mode with .JPG files, (continued)
- Re: image.el doesn't associate image-mode with .JPG files, Miles Bader, 2006/12/18
- Re: image.el doesn't associate image-mode with .JPG files, Eli Zaretskii, 2006/12/18
- Re: image.el doesn't associate image-mode with .JPG files, Nick Roberts, 2006/12/18
- Re: image.el doesn't associate image-mode with .JPG files, Miles Bader, 2006/12/18
- Re: image.el doesn't associate image-mode with .JPG files, Eli Zaretskii, 2006/12/18
- Re: image.el doesn't associate image-mode with .JPG files, Miles Bader, 2006/12/19
- Re: image.el doesn't associate image-mode with .JPG files, Eli Zaretskii, 2006/12/18
- Message not available
- Re: image.el doesn't associate image-mode with .JPG files, Jason Rumney, 2006/12/20
- Re: image.el doesn't associate image-mode with .JPG files, Kim F. Storm, 2006/12/20
- Re: image.el doesn't associate image-mode with .JPG files, Eli Zaretskii, 2006/12/20
- Re: image.el doesn't associate image-mode with .JPG files,
Stefan Monnier <=
- Message not available
- Re: image.el doesn't associate image-mode with .JPG files, Stefan Monnier, 2006/12/19
- Re: image.el doesn't associate image-mode with .JPG files, Richard Stallman, 2006/12/20
- Re: image.el doesn't associate image-mode with .JPG files, Stefan Monnier, 2006/12/20
- Re: image.el doesn't associate image-mode with .JPG files, Miles Bader, 2006/12/20
- Re: image.el doesn't associate image-mode with .JPG files, Stefan Monnier, 2006/12/21
- Re: image.el doesn't associate image-mode with .JPG files, Jason Rumney, 2006/12/13
- Re: image.el doesn't associate image-mode with .JPG files, Richard Stallman, 2006/12/14
- Re: image.el doesn't associate image-mode with .JPG files, Richard Stallman, 2006/12/14
- Re: image.el doesn't associate image-mode with .JPG files, Juanma Barranquero, 2006/12/15
- Re: image.el doesn't associate image-mode with .JPG files, Juanma Barranquero, 2006/12/15