bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3302: marked as done (Frame deletion with 'force fails)


From: Emacs bug Tracking System
Subject: bug#3302: marked as done (Frame deletion with 'force fails)
Date: Fri, 22 May 2009 04:15:06 +0000

Your message dated Fri, 22 May 2009 00:07:27 -0400
with message-id <5CAA97B0-1C7F-449D-AAEC-89499A8B8583@gmail.com>
and subject line closing this
has caused the Emacs bug report #3302,
regarding Frame deletion with 'force fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3302: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3302
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: Frame deletion with 'force fails Date: Fri, 15 May 2009 17:48:50 -0700 In an Emacs -Q (recent CVS, NS port), doing the following right after startup:

  (delete-frame (selected-frame) t)

will lead to an "Attempt to delete the only frame" error. This seems needless in non-X/non-Windows environments.

frame.c, delete_frame():
  /* x_connection_closed must have set FORCE to `noelisp' in order
     to delete the last frame, if it is gone.  */
  if (NILP (XCDR (Vframe_list)) && !EQ (force, Qnoelisp))
    error ("Attempt to delete the only frame");

If there are technical reasons for this, it would be good if the doc string for `delete-frame' was updated.






--- End Message ---
--- Begin Message --- Subject: closing this Date: Fri, 22 May 2009 00:07:27 -0400 I am closing this bug as it is unlikely we're going to fix this problem any time soon.

At least one frame needs to be declared selected, and that frame may be hidden, which provides the workaround for this problem (as in previous versions).



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]