Richard Stallman <[EMAIL PROTECTED]> writes:

>     If .JPG/.JPEG is frequent, perhaps we should add it to
>     `auto-mode-alist', then. Or do this:
>
>      (push '("^\xFF\xD8\xFF\xE0\x00\x10JFIF" . image-mode)
>          magic-mode-alist)
>
> I am not sure which is better, but I agree we should do one or the
> other.

I guess it is a matter of taste, but I would prefer if Emacs uses the
technique above instead of looking at the file name.  An example of
why this is useful: From my digital camera, each time I record a movie
with it I get both an avi file and a thm file (I think that was the
extension but it does not matter really), and it turns out that this
extra thm file is a small thumbnail of the movie, in jpeg format.  So
in this case, it would be good if Emacs groked the jpeg file *format*
instead of looking at the file name.

My 2 öre.



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to