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: Juri Linkov <juri <at> jurta.org>
To: jidanni <at> jidanni.org
Cc: larsi <at> gnus.org, 8615 <at> debbugs.gnu.org
Subject: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files
Date: Tue, 22 Nov 2011 18:27:34 +0200
> JL> Like jidanni, I used to type `v q SPC v q SPC v q SPC' to browse files in Dired.
> JL> Now when images and archives are viewed with `v', keybindings overridden
> JL> by view.el are useless (except `q'), so functionality of these modes is broken.
>
> JL> It's a pain to be careful of using the right key for different kind of files:
> JL> to type `RET' to view images and archives, or to type `v' to view other files.
>
> No need, everything seems to be working fine now with emacs -q in
> Package: emacs-snapshot Version: 1:20111121-1

Do you view images with `v q SPC v q SPC'?  When viewing images with
`v', image-mode is broken because image viewing keybindings are rebound
to functions of view.el.

Perhaps you visit only small images that fit into the screen,
so you don't need to use image-mode keys other than `q'.
But when images are larger and you need to scroll them, you are screwed.

> The only things left in the *Buffer List* after lots of v q SPC v q SPC
> are directories... but I guess there is some reason to keep them laying around?

I have the same problem with directories, so I have in .emacs:

  (defun quit-window-kill-buffer ()
    "Quit WINDOW and kill its buffer."
    (interactive)
    (quit-window t))
  (define-key dired-mode-map "q" 'quit-window-kill-buffer)




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.