bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8615: Please make sure v q removes the buffer for JPGs just likeit d


From: Juri Linkov
Subject: bug#8615: Please make sure v q removes the buffer for JPGs just likeit does for other files
Date: Wed, 23 Nov 2011 23:18:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu)

> Another distinction that it might help to make here is the kind of buffer and
> its purpose.  I have no problem accumulating buffers, in general, but I have 
> no
> need to accumulate buffers that are essentially temporary and part of a 
> dialog,
> once that dialog is finished.

I have problems with accumulating buffers because I use desktop.el
that remembers all file buffers and tries to restore them after restart.
Other users may have other problems with accumulating buffers.
I solved this problem for myself by adding to .emacs:

(define-key image-mode-map "q" 'quit-window-kill-buffer)
(define-key archive-mode-map "q" 'quit-window-kill-buffer)
(define-key tar-mode-map "q" 'quit-window-kill-buffer)
(define-key dired-mode-map "q" 'quit-window-kill-buffer)

Of course, we should not suggest users doing the same.
So perhaps a defcustom would be the best solution.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]