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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: jidanni <at> jidanni.org
Subject: bug#6954: closed (Re: bug#8615: Please make sure v q removes the
 buffer for JPGs just like it does for other files)
Date: Thu, 24 Nov 2011 07:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#8615: all viewed images left sitting in buffer-list

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 6954 <at> debbugs.gnu.org.

-- 
8615: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8615
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: larsi <at> gnus.org, 8615-done <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#8615: Please make sure v q removes the buffer for JPGs just
	like it does for other files
Date: Thu, 24 Nov 2011 09:10:45 +0200
> So I think you're right, we should revert 105285.

Done.

> The original behavior requested by the OP (making `q' delete the
> buffer) can be handled, as discussed, by introducing an option to make
> quit-window delete the buffer---but that bit can wait till post-24.1.

Meanwhile, jidanni and other users could use a redefinition
recommended by Stefan:

(global-set-key [remap quit-window]
  (lambda () (interactive) (quit-window (not current-prefix-arg))))

or

(define-key special-mode-map "q"
  (lambda () (interactive) (quit-window (not current-prefix-arg))))

[Message part 3 (message/rfc822, inline)]
From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: all viewed images left sitting in buffer-list
Date: Tue, 31 Aug 2010 20:41:56 +0800
v runs the command dired-view-file
When run on a normal file, a subsequent q is
q runs the command View-quit

But when run upon a .jpg file,
a subsequent q is
q runs the command quit-window

Which leaves the buffer sitting around in the buffer-list!
C-x C-b runs the command list-buffers

emacs-version "24.0.50.1"

I don't know how you will wish to solve this problem. But please don't
ask the user to do C-u q when finished viewing an image vs. q for when
finished viewing a text file.



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.