emacs-devel
[Top][All Lists]
Advanced

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

Re: Image mode


From: Chong Yidong
Subject: Re: Image mode
Date: Tue, 06 Feb 2007 12:10:38 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Jason Rumney <address@hidden> writes:

> Chong Yidong wrote:
>> The problem is that while the behavior of image-mode-maybe suits
>> text-based image files, it does not seem to do the right thing for
>> binary image files.  This should be fixed before the release.
>
> I'm not sure what you mean here. image-mode-maybe does not care
> whether the major-mode it activates is "text" or "binary".

That's the problem.

> I think what you are saying is that it should not use c-mode for
> file.c if file.c looks like an image. But this is where the whole
> security concern started, and it seems that the majority of people
> prefer Emacs not to default to image-mode for such a misleadingly
> named file. Anyway, such a case is rare and not worth arguing over as
> much as has happened on this thread.

I would argue that if file.c looks like an image, it should not even
turn on image-minor-mode; it should just try displaying in c-mode.




reply via email to

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