emacs-pretest-bug
[Top][All Lists]
Advanced

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

image.el doesn't associate image-mode with .JPG files


From: Chris Moore
Subject: image.el doesn't associate image-mode with .JPG files
Date: Tue, 12 Dec 2006 10:56:33 +0100

Lots of digital cameras create '.JPG' files (note: capital letters).
Opening these files with Emacs opens them in fundamental mode, not
image mode, since Emacs only associates image-mode with .jpg and .jpeg
files.

Adding this line to the default value of image-type-file-name-regexps
in lisp/image.el would help:

    ("\\.JPE?G\\'" . jpeg)



In GNU Emacs 22.0.91.28 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2006-12-11 on chrislap
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--prefix' '/usr/local/emacs22' 
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''




reply via email to

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