[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: |
04 Feb 2007 20:40:39 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Juri Linkov <address@hidden> writes:
> A different case is image autodetection. When the image file has an
> extension unusual for image files or has no extension at all, then it
> would be a (possibly bad) surprise for the user to see it displayed as
> an image. I agree that there should be an option that by default before
> displaying the image from files with non-image extensions should either
> ask for confirmation before visiting such file in image-mode, or (better)
> visit the file just in image-minor-mode with more explanations shown
> in the echo area.
As Richard has argued, IF displaying an image can cause a security
risk, it doesn't matter whether or not that image was autodetected or
had the relevant file name. So let's please not worry about this.
Many other programs that deal with images engage in image
autodetection by content, so the consensus in the software community
seems to be that the kind of risks we are worried about are not worth
the hassle of protecting against. More precisely, if an image library
is susceptible in this way, it is the image library that should be
fixed.
As I mentioned in a preceding email, I think the recently-added
`disabled' tag for image-toggle-display should be removed. I think we
can leave the behavior where you have to type C-c C-c to display an
image after entering image-mode; but we should provide an option (not
enabled by default) to display images automatically upon entering
image-mode, as before.
- Re: Image mode, (continued)
- Re: Image mode, Jason Rumney, 2007/02/08
- Re: Image mode, Stefan Monnier, 2007/02/08
- Re: Image mode, Stuart D. Herring, 2007/02/08
- Re: Image mode, Chong Yidong, 2007/02/08
- Re: Image mode, Kim F. Storm, 2007/02/07
- Re: Image mode, Juri Linkov, 2007/02/07
- Re: Image mode, Jason Rumney, 2007/02/08
- Re: Image mode, Chong Yidong, 2007/02/08
Re: Image mode,
Chong Yidong <=
- Re: Image mode, Miles Bader, 2007/02/04
- Re: Image mode, Kim F. Storm, 2007/02/05
- Re: Image mode, Lennart Borgman (gmail), 2007/02/05
- Re: Image mode, Juanma Barranquero, 2007/02/05
- Re: Image mode, David Kastrup, 2007/02/05
- Re: Image mode, Juanma Barranquero, 2007/02/05
- Re: Image mode, David Kastrup, 2007/02/05
- Re: Image mode, Juanma Barranquero, 2007/02/05
- Re: Image mode, David Kastrup, 2007/02/05
- Re: Image mode, Juanma Barranquero, 2007/02/05