|
From: | Jason Rumney |
Subject: | Re: image.el doesn't associate image-mode with .JPG files |
Date: | Sun, 17 Dec 2006 00:45:59 +0000 |
User-agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
Richard Stallman wrote:
> It would handle that one case, but it would still produce false > matches.> It would only produce false matches for cases where Emacs would have defaulted to Fundamental mode.Yes, and that is a mistaken outcome. There is no reason to make such mistakes happen. When an entry should match more than one case pattern, we write it to do so. That's a small amount of work, and it gives 100% correct results. Please drop this idea.
The underlying problem here is that people receive files from sources that use a case-insensitve filesystem.
This can happen to ANY type of file, so should we rewrite ALL our regexps?Can you point to a single instance where doing a case-insensitve match as a fallback would be harmful? Perhaps it would be easier to eliminate any such cases by explicitly adding them to auto-mode-alist.
[Prev in Thread] | Current Thread | [Next in Thread] |