all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: Re: quit-window new behavior with frames
Date: Fri, 23 Sep 2011 10:25:57 +0200	[thread overview]
Message-ID: <4E7C4295.4050906@gmx.at> (raw)
In-Reply-To: <jwvr538eotr.fsf-monnier+emacs@gnu.org>

 > The dedicated bit is reset to nil before the window can show any other
 > buffer, so if dedicated is non-nil, you don't have to check
 > anything else.

Not really, because the dedicated bit can be set by someone else.  Here
I only want to handle the case where the dedicated bit was set and
modified exclusively by `display-buffer' related routines.  So we have
two cases:

(1) If the dedicated bit is set by `display-buffer' routines only, it is
set at the time of creation and no other buffer is ever shown in it (at
least according to the specifications you gave earlier).  In this case,
there's no previous buffer and `quit-window' can delete the window or
frame.

(2) If the dedicated bit is set in some other way, there might be a
previous buffer and I switch to that buffer instead of deleting the
window or frame.

martin



  reply	other threads:[~2011-09-23  8:25 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08  6:35 quit-window new behavior with frames Thierry Volpiatto
2011-09-08 15:52 ` martin rudalics
2011-09-08 17:43   ` Thierry Volpiatto
2011-09-22  6:06   ` Thierry Volpiatto
2011-09-22  6:58     ` martin rudalics
2011-09-22  7:37       ` Thierry Volpiatto
2011-09-22  8:05         ` martin rudalics
2011-09-22  8:35           ` Thierry Volpiatto
2011-09-22  9:33             ` martin rudalics
2011-09-22  9:43               ` Thierry Volpiatto
2011-09-22 12:37               ` Stefan Monnier
2011-09-23  8:25                 ` martin rudalics [this message]
2011-09-23 15:28                   ` Stefan Monnier
2011-09-23 18:04                     ` martin rudalics
2011-09-23 20:05                       ` Stefan Monnier
2011-09-24 18:49                         ` martin rudalics
2011-09-22  8:38           ` Thierry Volpiatto
2011-09-22  8:40             ` Thierry Volpiatto
2011-10-05 12:33       ` Thierry Volpiatto
2011-10-05 13:05         ` martin rudalics
2011-10-05 13:36           ` Thierry Volpiatto

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=4E7C4295.4050906@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=thierry.volpiatto@gmail.com \
    /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.