Richard Stallman <[EMAIL PROTECTED]> writes: > What do people think? Here's the code to do it.
I looked at the code and have a few comments: 1. .xpm file extension is missing from the list of autoload cookies. 2. Perhaps image-mode should be minor mode for extensions like .xbm and .xpm which already have associated major mode c-mode in auto-mode-alist. 3. By default this mode should be enabled for non-ascii based image format files like .png, .jpg. This could be achieved by enabling auto-compression-mode by default and turning image-mode off by default for ascii based formats. 4. Calling `image-toggle-display' sets the modification flag, so after visiting image files only for viewing buffers become modified. -- Juri Linkov http://www.jurta.org/emacs/ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel