[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: Jason Rumney
Subject: Re: image.el doesn't associate image-mode with .JPG files
Date: Thu, 14 Dec 2006 08:52:25 +0000
User-agent: Thunderbird (Windows/20061025)

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.

reply via email to

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