unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 8615@debbugs.gnu.org, Chong Yidong <cyd@gnu.org>, jidanni@jidanni.org
Subject: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files
Date: Wed, 23 Nov 2011 09:10:47 -0500	[thread overview]
Message-ID: <jwvbos3kk5z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3lir72kc8.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 23 Nov 2011 11:40:07 +0100")

>> As for `q', I don't understand why `quit-window' should differ from
>> `View-quit'.  Why does `q' bound to `View-quit' kill the buffer, while
>> `quit-window' bound to `q' doesn't?

> I thought the point of "view mode" was to give you a mode for, well,
> quick viewing.  In that context it makes perfect sense for `q' to kill
> the buffer.  If you're using a regular non-view mode, having `q' kill
> the buffer would be odd.

Using "view mode" as the deciding factor is wrong.  The "quick viewing"
meaning is bound to the use of "v" is dired, not to the use of
view-mode.  So maybe the right solution is to make view-mode use
quit-window, change quit-window so it obeys a `quit-window-kills'
variable (which toggles the meaning of C-u), and change dired's v to set
quit-window-kills buffer-locally?

I'm sure it's the right behavior: I do think that we want to move
towards merging View-quit and quit-window, but other than that I don't
know because I like my Emacs to accumulate buffers.


        Stefan





  reply	other threads:[~2011-11-23 14:10 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4E20C5DE.6070107@gmail.com>
2011-05-04 18:16 ` bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files jidanni
2011-07-04 14:31   ` Lars Magne Ingebrigtsen
2011-07-04 17:45     ` Chong Yidong
2011-07-05  1:47   ` jidanni
2011-07-05  3:44     ` Stefan Monnier
2011-07-05  3:58   ` jidanni
2011-07-05 13:35     ` Lars Magne Ingebrigtsen
2011-07-05 15:04       ` Chong Yidong
2011-07-05 15:07         ` Lars Magne Ingebrigtsen
2011-07-05 19:06           ` Stefan Monnier
2011-07-05 20:47             ` Lars Magne Ingebrigtsen
2011-07-06  0:58               ` Stefan Monnier
2011-07-14 13:53                 ` Lars Magne Ingebrigtsen
2011-07-17  2:10                   ` Stefan Monnier
2010-08-31 12:41                     ` bug#6954: all viewed images left sitting in buffer-list jidanni
2011-07-16 12:24                       ` bug#6954: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files jidanni
2011-07-17  2:27                       ` jidanni
2011-07-20 15:40                       ` jidanni
2011-07-17  2:23                     ` Lars Magne Ingebrigtsen
2011-07-15 21:27   ` jidanni
2011-07-15 21:30     ` bug#6954: " Lars Magne Ingebrigtsen
2011-07-15 21:30     ` Lars Magne Ingebrigtsen
     [not found]     ` <m3ipr3b5av.fsf@quimbies.gnus.org>
2011-07-15 22:57       ` bug#8615: bug#6954: " Christoph Scholtes
2011-07-15 22:57       ` Christoph Scholtes
2011-07-16 13:11       ` martin rudalics
2011-07-16 13:11       ` martin rudalics
     [not found]       ` <4E218E0A.6050302@gmx.at>
2011-07-16 15:19         ` bug#6954: " Christoph Scholtes
2011-07-16 15:19         ` Christoph Scholtes
2011-07-16 15:24           ` Lars Magne Ingebrigtsen
2011-07-18 14:42             ` Stefan Monnier
2011-07-19 15:03               ` Lars Magne Ingebrigtsen
2011-11-21 23:45                 ` Juri Linkov
2011-11-22  0:46                   ` Lars Magne Ingebrigtsen
2011-11-22  1:04                     ` Juri Linkov
2011-07-15 23:22   ` bug#8615: bug#6954: " jidanni
2011-07-15 23:35     ` bug#6954: " Christoph Scholtes
2011-07-15 23:35     ` Christoph Scholtes
     [not found]     ` <4E20CED6.4070207@gmail.com>
2011-07-15 23:38       ` Lars Magne Ingebrigtsen
2011-07-15 23:38       ` bug#6954: " Lars Magne Ingebrigtsen
     [not found]       ` <m3r55rw1v3.fsf@quimbies.gnus.org>
2011-07-16  0:40         ` Christoph Scholtes
2011-07-16  0:40         ` bug#8615: " Christoph Scholtes
2011-11-22  5:44   ` jidanni
2011-11-22 16:27     ` Juri Linkov
2011-11-23  6:18       ` Chong Yidong
2011-11-23  7:20         ` Juri Linkov
2011-11-23 10:40           ` Lars Magne Ingebrigtsen
2011-11-23 14:10             ` Stefan Monnier [this message]
2011-11-23 19:51               ` Stefan Monnier
2011-11-23 20:00               ` Juri Linkov
2011-11-23 20:55                 ` bug#8615: Please make sure v q removes the buffer for JPGs just likeit " Drew Adams
2011-11-23 21:18                   ` Juri Linkov
2011-11-24  2:14                     ` Stefan Monnier
2011-11-24  6:13           ` bug#8615: Please make sure v q removes the buffer for JPGs just like it " Chong Yidong
2011-11-24  7:10             ` Juri Linkov
     [not found]               ` <87ehwgm63b.fsf@jidanni.org>
2011-12-08  9:01                 ` Juri Linkov
2011-11-22 22:39     ` Juri Linkov
2011-11-22 18:36   ` jidanni
2011-11-22 18:51     ` Juri Linkov
2011-11-22 19:02   ` jidanni
2011-11-22 23:35   ` jidanni
2011-12-10 10:17   ` jidanni
2011-12-13  7:12     ` Kevin Rodgers
2011-12-15 21:30     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbos3kk5z.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=8615@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).