[Top][All Lists]
[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 19:03:31 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
[ For a jpeg image saved as foo.c ]
> - Or file.c is an image which is NOT valid C code (e.g. jpeg), in
> which case c-mode is a bad choice!! So in this case, why should
> we show the file in c-mode ? Why not fundamental-mode or hexl-mode?
> OTOH, I'm not sure whether image(-minor)-mode should be applied here.
I think that in this, case, we should avoid being too smart for our
own good. After all, our autodetection heuristics are not foolproof.
For example, a text file containing just the string "GIF89a" will be
autodetected as a gif file! If the filename indicates it is a text
file, we should respect that.
- Re: Image mode, (continued)
- Re: Image mode, Miles Bader, 2007/02/05
- Re: Image mode, Slawomir Nowaczyk, 2007/02/06
- Re: Image mode, Stefan Monnier, 2007/02/06
- Re: Image mode, Jason Rumney, 2007/02/06
- Re: Image mode, Chong Yidong, 2007/02/06
- Re: Image mode, Jason Rumney, 2007/02/06
- Re: Image mode, Chong Yidong, 2007/02/06
- Re: Image mode, Kim F. Storm, 2007/02/06
- Re: Image mode,
Chong Yidong <=
- Re: Image mode, Kim F. Storm, 2007/02/06
- Re: Image mode, Juanma Barranquero, 2007/02/05
- Re: Image mode, Chong Yidong, 2007/02/05
- Re: Image mode, Chong Yidong, 2007/02/05
- Re: Image mode, Juanma Barranquero, 2007/02/05
- Re: Image mode, Richard Stallman, 2007/02/06
- Re: Image mode, Juanma Barranquero, 2007/02/06
- Re: Image mode, Richard Stallman, 2007/02/06
- Re: Image mode, Juanma Barranquero, 2007/02/06
- Re: Image mode, David Kastrup, 2007/02/07