>     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


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to