unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Christoph Scholtes <cschol2112@googlemail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Advising quit-window
Date: Thu, 27 Oct 2011 09:43:11 +0300	[thread overview]
Message-ID: <87d3dj3pfk.fsf@mail.jurta.org> (raw)
In-Reply-To: <86aa8n6qbb.fsf@googlemail.com> (Christoph Scholtes's message of "Wed, 26 Oct 2011 21:55:52 -0600")

> Thanks. I didn't know that you could remap command like that. However,
> this fixes quit-window to always kill. I like to be able to bury it with
> `C-u q'.

Yes, `C-u q' is an important requirement.  And no advice, no remapping, no hook
can do that.  So we need a new customizable variable `quit-window-kill-buffer'.

Then users could either customize it globally to t, or bind it buffer-locally
in mode hooks.  And `C-u q' will inverse its current behavior.



  reply	other threads:[~2011-10-27  6:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26  1:54 Advising quit-window Christoph Scholtes
2011-10-26  2:23 ` Juanma Barranquero
2011-10-26  2:52   ` Christoph Scholtes
2011-10-26  9:21 ` martin rudalics
2011-10-27  3:53   ` Christoph Scholtes
2011-10-27  9:54     ` martin rudalics
2011-10-26 13:54 ` Stefan Monnier
2011-10-27  3:55   ` Christoph Scholtes
2011-10-27  6:43     ` Juri Linkov [this message]
2011-10-27 12:06       ` Christoph Scholtes
2011-10-27 12:23     ` Stefan Monnier
2011-10-29  3:57       ` Christoph Scholtes

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=87d3dj3pfk.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=cschol2112@googlemail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).