unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Image autodetection
@ 2007-01-29 19:05 Chong Yidong
  2007-01-29 19:19 ` Juanma Barranquero
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Chong Yidong @ 2007-01-29 19:05 UTC (permalink / raw)
  To: emacs-devel

I have tried to digest the long and confusing thread on this subject.
I propose the following:

1. Make a new variable, auto-detect-image-type-p.  If non-nil, the
   function image-type-auto-detected-p (called from magic-mode-alist)
   performs content detection.  The default is nil.

2. Do not display images as images automatically in image-mode.
   Instead, the user sees "Type C-c C-c to view the image as an
   image".  This additional step should not be a major inconvenience.

The other changes proposed in that thread, such as using
image-minor-mode by default, are probably unnecessary.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-01-30 17:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 19:05 Image autodetection Chong Yidong
2007-01-29 19:19 ` Juanma Barranquero
2007-01-30  9:04   ` Jason Rumney
2007-01-30  9:38     ` Juanma Barranquero
2007-01-30 12:11       ` Juanma Barranquero
2007-01-30 15:24         ` Stefan Monnier
2007-01-30 15:59           ` Juanma Barranquero
2007-01-30 16:54             ` Jason Rumney
2007-01-30 17:07               ` Juanma Barranquero
2007-01-30 16:58         ` Chong Yidong
2007-01-29 23:53 ` Richard Stallman
2007-01-30  0:55 ` Miles Bader

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).