* Restoring frame configurations and deleted frames.
@ 2004-07-22 1:06 Luc Teirlinck
2004-07-22 21:38 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Luc Teirlinck @ 2004-07-22 1:06 UTC (permalink / raw)
`(elisp)Deleting Frames' says:
There is no way to cancel the deletion of a frame aside from restoring
a saved frame configuration (*note Frame Configurations::); this is
similar to the way windows behave.
Yet restoring a frame configuration does _not_ seem to restore deleted
frames, neither on a text-only terminal nor under X. (I configured
using: `./configure --without-toolkit-scroll-bars', but I doubt this
makes a difference.)
Is this a bug in the code or in the documentation?
The ielm run below illustrates the claim. It is obtained using emacs -q.
===File ~/frame-ielm========================================
*** Welcome to IELM *** Type (describe-mode) for help.
ELISP> (setq f1 (selected-frame))
#<frame emacs-21.3.50@swt40.swt.com 0x852d620>
ELISP> (setq f2 (make-frame))
#<frame emacs-21.3.50@swt40.swt.com 0x87fee28>
ELISP> (eq (selected-frame) f2)
t
ELISP> (setq cf (current-frame-configuration))
*** output flushed ***
ELISP> (delete-frame f1)
nil
ELISP> (set-frame-configuration cf)
nil
ELISP> (frame-list)
(#<frame *ielm* 0x87fee28>)
ELISP> ============================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-22 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-22 1:06 Restoring frame configurations and deleted frames Luc Teirlinck
2004-07-22 21:38 ` Richard Stallman
2004-07-22 22:20 ` Luc Teirlinck
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.