GNU bug report logs - #8615
Please make sure v q removes the buffer for JPGs just like it does for other files

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 4 May 2011 18:18:01 UTC

Severity: minor

Tags: fixed

Merged with 6954

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 8615 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 8615 <at> debbugs.gnu.org
Subject: Re: Please make sure v q removes the buffer for JPGs just like it
	does for other files
Date: Mon, 04 Jul 2011 16:31:50 +0200
jidanni <at> jidanni.org writes:

> Please make sure v q removes the buffer for JPGs just like it does for
> text files, in dired. Yes this is a duplicate report.  You will notice
> all the JPGs you viewed still sitting there in your buffer list.

The problem is this:

  (if (eq (with-current-buffer buffer
	    (get major-mode 'mode-class))
	  'special)
      (progn
	(switch-to-buffer buffer)
	(message "Not using View mode because the major mode is special"))


`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?
        
-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.