all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16768: 24.3.50; `quit-restore-window' with KILL=t replaces special-display buffer in its dedicated window
@ 2014-02-15 22:44 Drew Adams
  2014-02-15 22:56 ` Juanma Barranquero
  2014-02-16 10:33 ` martin rudalics
  0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2014-02-15 22:44 UTC (permalink / raw)
  To: 16768

This part of the `quit-restore-window' causes a special-display buffer,
whose window is dedicated to it, to be replaced in that window by
another buffer:

(t
 ;; Show some other buffer in WINDOW and reset the quit-restore
 ;; parameter.
 (set-window-parameter window 'quit-restore nil)
 ;; Make sure that WINDOW is no more dedicated.
 (set-window-dedicated-p window nil)
 (switch-to-prev-buffer window bury-or-kill))

If BURY-OR-KILL is `kill' then the window/frame should simply be
deleted.  A window dedicated to a particular buffer should not be reused
for another buffer.

Consider, for example, a `special-display-frame-alist' that specifies
certain frame attributes - e.g., a particular background color.  You do
not want to reuse such a frame for another buffer, especially for a non
special-display buffer.  The frame should be deleted when its buffer
is killed.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-11 on ODIEONE
Bzr revision: 116410 lekktu@gmail.com-20140211204823-l9l2s6tktfitq266
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-16 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-15 22:44 bug#16768: 24.3.50; `quit-restore-window' with KILL=t replaces special-display buffer in its dedicated window Drew Adams
2014-02-15 22:56 ` Juanma Barranquero
2014-02-16  2:41   ` Drew Adams
2014-02-16  4:33     ` Juanma Barranquero
2014-02-16  6:37       ` Drew Adams
2014-02-16 10:33 ` martin rudalics
2014-02-16 16:53   ` Drew Adams

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.