--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu) |
> 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))))
--- End Message ---