emacs-devel
[Top][All Lists]
Advanced

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

Re: C file recoginzed as image file


From: Stephen Leake
Subject: Re: C file recoginzed as image file
Date: Tue, 09 Jan 2007 08:16:16 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

"Juanma Barranquero" <address@hidden> writes:

> On 1/8/07, Stefan Monnier <address@hidden> wrote:
>
>> After all, an inconsistently named file is generally
>> a sign that there's something wrong, so it's good to prompt the user
>> about it.
>
> That's a bit of second-guessing. We are not in the business of knowing
> why someone uses non-default file names. And let's not forget that a
> file with a .c extension containing a GIF image is absolutely,
> non-ambiguously a GIF, whatever the .c may seem to imply.

It may be a GIF with an embedded virus. That is an important concern.

Obviously, it would be good to allow the user to easily customize any
such scheme to allow alternate file naming conventions, or to ignore
file extensions.

-- 
-- Stephe




reply via email to

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