emacs-devel
[Top][All Lists]
Advanced

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

Re: Image mode


From: Stuart D. Herring
Subject: Re: Image mode
Date: Wed, 7 Feb 2007 13:35:15 -0800 (PST)
User-agent: SquirrelMail/1.4.8-2.el3.7lanl

>>> Thirdly, make the function image-type-auto-detected-p scan
>>> auto-mode-alist for a non-image-mode match, and returns nil if one is
>>> found.
>>
>> This should return nil unless auto-mode-alist suggests image mode, not
>> just nil if it suggests something else.
>
> No, this would mean that files with extension .JPG will not be opened
> in image mode.  That was the original complaint that started this
> thread :-P

Then have it (with `let') examine auto-mode-alist case-insensitively? 
Your mechanism has the advantage of not being -part of- auto-mode-alist
and friends, but rather merely using them, and .Z is surely irrelevant
here.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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