GNU bug report logs - #12764
24.2; `quit-window' wrongly iconifies frame

Previous Next

Package: emacs;

Reported by: Romain Francoise <romain <at> orebokech.com>

Date: Mon, 29 Oct 2012 18:15:02 UTC

Severity: normal

Found in version 24.2

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Romain Francoise <romain <at> orebokech.com>, 12764 <at> debbugs.gnu.org
Subject: bug#12764: 24.2; `quit-window' wrongly iconifies frame
Date: Wed, 31 Oct 2012 11:26:18 +0100
> *** lisp/window.el    2012-10-27 08:58:30 +0000
> --- lisp/window.el    2012-10-30 09:51:16 +0000
> ***************
> *** 3556,3562 ****
>        quad entry)
>       (cond
>        ((and (not prev-buffer)
> !        (memq (nth 1 quit-restore) '(window frame))
>          (eq (nth 3 quit-restore) buffer)
>          ;; Delete WINDOW if possible.
>          (window--delete window nil (eq bury-or-kill 'kill)))
> --- 3556,3567 ----
>        quad entry)
>       (cond
>        ((and (not prev-buffer)
> !        (or (eq (nth 1 quit-restore) 'frame)
> !            (and (eq (nth 1 quit-restore) 'window)
> !             ;; If the window has been created on an existing
> !             ;; frame and winds up as the sole window on that
> !             ;; frame, do not delete it (Bug#12764).
> !             (not (eq window (frame-root-window window)))))
>          (eq (nth 3 quit-restore) buffer)
>          ;; Delete WINDOW if possible.
>          (window--delete window nil (eq bury-or-kill 'kill)))

Installed now in revision 110748 on trunk.  Please check again.

Thanks, martin





This bug report was last modified 12 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.