emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image.el doesn't associate image-mode with .JPG files


From: Kevin Rodgers
Subject: Re: image.el doesn't associate image-mode with .JPG files
Date: Thu, 14 Dec 2006 10:57:56 -0700
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Jason Rumney wrote:
Miles Bader wrote:
I don't think they'd care in general, and might even approve.  Like most
people, even though I never use windows, I occasionally receive files
from windows users, and there's lots of crufty old windows software that
still uses DOS-like names.

I think it's the special cases that you to be careful about, e.g., .c ->
c-mode, .C -> c++-mode.
Perhaps this can be solved by first doing a case-sensitive scan through auto-mode-alist, then if that fails to find a match do a case-insensitive scan.

Brilliant!

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]