Subject: Re: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files

From: [email-masked]
Date: Tue, 05 Jul 2011 11:58:41 +0800

>>>>> "SM" == Stefan Monnier <[email-masked]> writes:
>>>> `view-mode' refuses to switch itself on if the mode is special, and
>>>> Image mode is apparently special.
>>>> 
>>>> Is there any particular reason for `view-mode' to refuse to switch
>>>> itself on in special modes?

CY> How does it make sense to visit image buffers in view mode?

>> So then the buffer will disappear when we hit "q"!

SM> That should happen even without using view-mode.

Well it doesn't in both cases.
$ emacs -q a_directory_full_of_jpgs
v q C-x C-b SPC <return> q C-x C-b
Note how the picture entries are both still disgustingly hanging around
there on the C-x C-b table.