all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Chong Yidong <cyd@gnu.org>
Cc: Christoph Scholtes <cschol2112@googlemail.com>,
	martin rudalics <rudalics@gmx.at>,
	emacs-devel@gnu.org
Subject: Re: quit-window
Date: Tue, 25 Oct 2011 07:28:44 +0300	[thread overview]
Message-ID: <877h3tvgn7.fsf@mail.jurta.org> (raw)
In-Reply-To: <87bot5zppu.fsf@gnu.org> (Chong Yidong's message of "Tue, 25 Oct 2011 11:59:09 +0800")

> I don't think it's necessary to introduce a separate command for this.
> If we introduce a quit-window-hook, you can add a hook function that
> conditionally kills the buffer based on its major mode.

Or better `quit-window-alist' as a counterpart to `display-buffer-alist'.

Ah, now I recall that I already proposed that, and Stefan said that
the behavior of quit-window can be specified when displaying the buffer
and/or creating the window.

So perhaps `quit-window-hook' is not necessary too, and such specific
window-quitting as e.g. checking for `Info-standalone' could be specified
when creating a window with the *Info* buffer.



  reply	other threads:[~2011-10-25  4:28 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-22 20:43 quit-window Christoph Scholtes
2011-10-23  7:23 ` quit-window Chong Yidong
2011-10-23 15:02   ` quit-window Christoph Scholtes
2011-10-23 23:49     ` quit-window Chong Yidong
2011-10-24 16:39     ` quit-window Richard Stallman
2011-10-24 17:18       ` quit-window Eli Zaretskii
2011-10-24 17:40         ` quit-window martin rudalics
2011-10-25 12:19         ` quit-window Richard Stallman
2011-10-25  1:24       ` quit-window Christoph Scholtes
2011-10-25 13:01         ` quit-window martin rudalics
2011-10-25 18:55         ` quit-window Richard Stallman
2011-10-23  9:20 ` quit-window martin rudalics
2011-10-23 13:27   ` quit-window Juri Linkov
2011-10-23 16:04     ` quit-window Christoph Scholtes
2011-10-23 18:58     ` quit-window martin rudalics
2011-10-24  5:12       ` quit-window Juri Linkov
2011-10-25  3:59         ` quit-window Chong Yidong
2011-10-25  4:28           ` Juri Linkov [this message]
2011-10-23 16:01   ` quit-window Christoph Scholtes
2011-10-23 19:00     ` quit-window martin rudalics
2011-10-25  1:00       ` quit-window Christoph Scholtes
2011-10-25 10:04         ` quit-window martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2007-10-19  9:00 quit-window martin rudalics

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

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

  git send-email \
    --in-reply-to=877h3tvgn7.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=cschol2112@googlemail.com \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.