[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16768: 24.3.50; `quit-restore-window' with KILL=t replaces special-d
From: |
Drew Adams |
Subject: |
bug#16768: 24.3.50; `quit-restore-window' with KILL=t replaces special-display buffer in its dedicated window |
Date: |
Sat, 15 Feb 2014 14:44:31 -0800 (PST) |
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'