From debbugs-submit-bounces@debbugs.gnu.org Sun May 27 11:00:55 2012 Received: (at submit) by debbugs.gnu.org; 27 May 2012 15:00:55 +0000 Received: from localhost ([127.0.0.1]:45612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYexj-0007oY-Ak for submit@debbugs.gnu.org; Sun, 27 May 2012 11:00:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39897) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYexN-0007o3-8P for submit@debbugs.gnu.org; Sun, 27 May 2012 11:00:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYew6-0002Li-2w for submit@debbugs.gnu.org; Sun, 27 May 2012 10:59:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PLING_QUERY,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYew5-0002Le-VT for submit@debbugs.gnu.org; Sun, 27 May 2012 10:59:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYew4-0000IQ-7B for bug-gnu-emacs@gnu.org; Sun, 27 May 2012 10:59:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYew2-0002LU-AN for bug-gnu-emacs@gnu.org; Sun, 27 May 2012 10:59:11 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:53732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYew2-0002LO-0J for bug-gnu-emacs@gnu.org; Sun, 27 May 2012 10:59:10 -0400 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id 7109D1C4EEF9A for ; Sun, 27 May 2012 16:59:07 +0200 (CEST) Received: from [192.168.2.26] ([87.169.106.128]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M73o5-1Rnj940fHJ-00wmRj; Sun, 27 May 2012 16:59:07 +0200 Content-Type: text/plain; charset=us-ascii Subject: 24.0.97; WTF? ROFL! (hilarious bug) Mime-Version: 1.0 (Apple Message framework v1084) From: Tobias Bading Date: Sun, 27 May 2012 16:59:02 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:ijtmlREK81UHJv1qje76JItrkhceeS19grzXm2zZ3e2 j+nxQzXw1gJ+ODYjAbt515wmjwOeOpVXu4qqVjJkwYEAk0N8JB chlRAyS3LiMAHXgAEDF9GBUyN0RWX2TXr5DCeVqBg5Ye2nCQBR WsHMkcFg5w7fQfFfmQnXhyxCRBTJ5CBhYV2IkoJF5KXHNG5Rya fBZgteP9V903ReUNQBRGw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Boys & girls, please *do* try this at home! (Or whereever your Emacs is = :-). Works with r108017 of the emacs-24 branch on GNU/Linux as well as = Mac OS for me.) emacs -Q: C-h v TAB C-x o C-x 0 Your Emacs frame should now contain a single window with a completion = list of variables. Take your pick: Select any variable either with your mouse, trackpad or = keyboard.... Oooops! :-D Have fun, Tobias PS: New package hide-and-seek.el maybe? ;-) --- In GNU Emacs 24.0.97.1 (x86_64-apple-darwin10.8.0, NS = apple-appkit-1038.36) of 2012-05-27 on Gecko.local Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-h v C-x o C-x 0 =20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Type C-x 1 to delete the help window. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view help-fns time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun May 27 18:34:54 2012 Received: (at 11567) by debbugs.gnu.org; 27 May 2012 22:34:54 +0000 Received: from localhost ([127.0.0.1]:45869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYm34-00014r-Ek for submit@debbugs.gnu.org; Sun, 27 May 2012 18:34:54 -0400 Received: from mail-qc0-f172.google.com ([209.85.216.172]:42015) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYm2k-00014N-4a for 11567@debbugs.gnu.org; Sun, 27 May 2012 18:34:53 -0400 Received: by qcsq13 with SMTP id q13so1734582qcs.3 for <11567@debbugs.gnu.org>; Sun, 27 May 2012 15:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u13Wo+VpcftE/5Npdh1ir1k6pcvzHYO8mQ+MG9+ezRg=; b=R66J3eCP2I4dkPsOataleqrEv+KQHuZFtBtNwWGLudBvaEVVFi3OIvoaIlJVWmaCZh CjtNranMSoXYfwrmZRUuENaTcyepa3pR7KkllVWxyxSb4dSlMrk4jyv1VLKrT6vDHdyf A4J4yI8jvOYJKuKuC4Ca2vFPlZMeqn071nr949POR3Q8Z4xtNcZYREYJMJNt12MkHk++ dnW3pVrT2oEq2vM9QoY1L7VIdFPoURze2//6Iv17nDeTHHs3oYuypP7WCEMEKeTJxrbT n6a3GdYiuYF6x2J5/6YePa1RoaUGPJ0HEbQn6Xxe9ibPMrLGQ9c2ADASzST/jyMv3UR/ UpaQ== MIME-Version: 1.0 Received: by 10.224.205.6 with SMTP id fo6mr6183262qab.73.1338157994560; Sun, 27 May 2012 15:33:14 -0700 (PDT) Received: by 10.229.51.4 with HTTP; Sun, 27 May 2012 15:33:14 -0700 (PDT) In-Reply-To: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> Date: Mon, 28 May 2012 00:33:14 +0200 Message-ID: Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) From: Troels Nielsen To: Tobias Bading Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 11567 Cc: 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) On Sun, May 27, 2012 at 4:59 PM, Tobias Bading wrote: > Boys & girls, please *do* try this at home! (Or whereever your Emacs is :-). Works with r108017 of the emacs-24 branch on GNU/Linux as well as Mac OS for me.) > > emacs -Q: > C-h v TAB C-x o C-x 0 > > Your Emacs frame should now contain a single window with a completion list of variables. > Take your pick: Select any variable either with your mouse, trackpad or keyboard.... Oooops! :-D Well, it looks as though the *Completions* buffer only wants to be a little thorough when hiding itself. I don't really know the origin of the behavior, but I think it's natural if there had been opened a special frame just for the *Completions* buffer, so I suppose that's why it has been put there. I propose the following patch, which does a little more checking if it's likely that emacs has been opening a special frame for the *Completions*-buffer. With some effort you could probably still get emacs to iconify an unexpecting frame, but I don't think many people would, if not for playing hide and seek that is... ;) Regards Troels === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2012-05-27 01:06:44 +0000 +++ lisp/ChangeLog 2012-05-27 22:18:53 +0000 @@ -1,3 +1,8 @@ +2012-05-27 Troels Nielsen + + * simple.el (choose-completion): Be a little more particular + before iconifying a frame, when a completion has been chosen. + 2012-05-27 Eli Zaretskii * mail/sendmail.el (mail-yank-region): Recognize === modified file 'lisp/simple.el' --- lisp/simple.el 2012-05-04 23:16:47 +0000 +++ lisp/simple.el 2012-05-27 22:15:15 +0000 @@ -6214,7 +6215,11 @@ (error "Destination buffer is dead")) (select-window (posn-window (event-start event))) (if (and (one-window-p t 'selected-frame) - (window-dedicated-p (selected-window))) + (window-dedicated-p (selected-window)) + (let ((buffer-name (buffer-name + (window-buffer (selected-window))))) + (and (not (same-window-p buffer-name)) + (special-display-p buffer-name)))) ;; This is a special buffer's frame (iconify-frame (selected-frame)) (or (window-dedicated-p (selected-window)) From debbugs-submit-bounces@debbugs.gnu.org Mon May 28 06:28:01 2012 Received: (at 11567) by debbugs.gnu.org; 28 May 2012 10:28:02 +0000 Received: from localhost ([127.0.0.1]:46248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYxBB-0000R5-IF for submit@debbugs.gnu.org; Mon, 28 May 2012 06:28:01 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:47854) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SYxBA-0000Qs-0f for 11567@debbugs.gnu.org; Mon, 28 May 2012 06:28:00 -0400 Received: (qmail invoked by alias); 28 May 2012 10:26:37 -0000 Received: from 62-47-38-14.adsl.highway.telekom.at (EHLO [62.47.38.14]) [62.47.38.14] by mail.gmx.net (mp030) with SMTP; 28 May 2012 12:26:37 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/hsnJVIArhcvOyOUzXu5Rxvw7RUHbzUK60vLJP8c Lm0D0MRUx5vdGL Message-ID: <4FC352DC.5040507@gmx.at> Date: Mon, 28 May 2012 12:26:36 +0200 From: martin rudalics MIME-Version: 1.0 To: Troels Nielsen Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 11567 Cc: Tobias Bading , 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.9 (/) > I propose the following patch, which does a little more checking if > it's likely that emacs has been opening a special frame for the > *Completions*-buffer. With some effort you could probably still get > emacs to iconify an unexpecting frame, but I don't think many people > would, if not for playing hide and seek that is... ;) Why can't we use `window--delete' instead of `iconify-frame' here? martin From debbugs-submit-bounces@debbugs.gnu.org Mon May 28 10:15:58 2012 Received: (at 11567) by debbugs.gnu.org; 28 May 2012 14:15:58 +0000 Received: from localhost ([127.0.0.1]:46691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ0jl-0007AO-Q4 for submit@debbugs.gnu.org; Mon, 28 May 2012 10:15:57 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:59111) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ0jk-0007AC-7s for 11567@debbugs.gnu.org; Mon, 28 May 2012 10:15:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoANAG6Zu09MCpYd/2dsb2JhbABEsEiDPQyBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="183124879" Received: from 76-10-150-29.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 May 2012 10:14:32 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7C7E1594DE; Mon, 28 May 2012 10:14:32 -0400 (EDT) From: Stefan Monnier To: martin rudalics Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) Message-ID: References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> <4FC352DC.5040507@gmx.at> Date: Mon, 28 May 2012 10:14:32 -0400 In-Reply-To: <4FC352DC.5040507@gmx.at> (martin rudalics's message of "Mon, 28 May 2012 12:26:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 11567 Cc: Tobias Bading , Troels Nielsen , 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.9 (/) >> I propose the following patch, which does a little more checking if >> it's likely that emacs has been opening a special frame for the >> *Completions*-buffer. With some effort you could probably still get >> emacs to iconify an unexpecting frame, but I don't think many people >> would, if not for playing hide and seek that is... ;) Checking special-display-p is not a good idea. OTOH, it'd be OK to check whether the frame has an active minibuffer (IOW make sure we don't iconify an active minibuffer), and/or make sure the frame is not the last one. > Why can't we use `window--delete' instead of `iconify-frame' here? Probably no reason. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon May 28 14:21:03 2012 Received: (at 11567) by debbugs.gnu.org; 28 May 2012 18:21:03 +0000 Received: from localhost ([127.0.0.1]:46936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ4Yw-0004OY-Vf for submit@debbugs.gnu.org; Mon, 28 May 2012 14:21:03 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:47725) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SZ4Yc-0004NP-4Q for 11567@debbugs.gnu.org; Mon, 28 May 2012 14:21:01 -0400 Received: (qmail invoked by alias); 28 May 2012 18:19:17 -0000 Received: from 62-47-57-135.adsl.highway.telekom.at (EHLO [62.47.57.135]) [62.47.57.135] by mail.gmx.net (mp071) with SMTP; 28 May 2012 20:19:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18yNHhfiD0y3KTW8XbivcqUhy73ouqk4yJvT4hLPP Rc8gpWj6EgSb9G Message-ID: <4FC3C1A2.7050800@gmx.at> Date: Mon, 28 May 2012 20:19:14 +0200 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> <4FC352DC.5040507@gmx.at> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080007020507050302090705" X-Y-GMX-Trusted: 0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 11567 Cc: Tobias Bading , Troels Nielsen , 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.9 (/) This is a multi-part message in MIME format. --------------080007020507050302090705 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit >> Why can't we use `window--delete' instead of `iconify-frame' here? > > Probably no reason. Then maybe we should use `quit-window' in the first place. Attached find a patch for those who would give it a try (I hardly ever see the completions buffer). martin --------------080007020507050302090705 Content-Type: text/plain; name="simple.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="simple.diff" *** lisp/simple.el 2012-05-04 23:16:47 +0000 --- lisp/simple.el 2012-05-28 17:54:25 +0000 *************** *** 6212,6227 **** (unless (buffer-live-p buffer) (error "Destination buffer is dead")) ! (select-window (posn-window (event-start event))) ! (if (and (one-window-p t 'selected-frame) ! (window-dedicated-p (selected-window))) ! ;; This is a special buffer's frame ! (iconify-frame (selected-frame)) ! (or (window-dedicated-p (selected-window)) ! (bury-buffer))) ! (select-window ! (or (get-buffer-window buffer 0) ! owindow)) (with-current-buffer buffer (choose-completion-string --- 6212,6218 ---- (unless (buffer-live-p buffer) (error "Destination buffer is dead")) ! (quit-window nil (posn-window (event-start event))) (with-current-buffer buffer (choose-completion-string --------------080007020507050302090705-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 28 18:50:48 2012 Received: (at 11567) by debbugs.gnu.org; 28 May 2012 22:50:48 +0000 Received: from localhost ([127.0.0.1]:47297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ8lz-0003v3-RY for submit@debbugs.gnu.org; Mon, 28 May 2012 18:50:48 -0400 Received: from mail-qa0-f51.google.com ([209.85.216.51]:33701) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ8lx-0003uq-U8 for 11567@debbugs.gnu.org; Mon, 28 May 2012 18:50:46 -0400 Received: by qaea16 with SMTP id a16so1263036qae.17 for <11567@debbugs.gnu.org>; Mon, 28 May 2012 15:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Ov+6MKRLdGKu6yTdGWVPv1FTcV/kUjMRs8oSu72q86Q=; b=YHlegfDKj+SDFcU8t5mG56/14xkOD7mrnA2T2EW2EhvnWsMNRLSaH5gJRpdIG8FOhS 0zP+NZjNC5sLTUJlJvKlKuqRfL37vP4tZuAdKlEbdkWjkS8v/BfZAz1+Oq8/4cdKAGum zC285SKjhw0h5zzebaafmQHaKa9ixU+hEB6Yb78eLVw8wRCwASxwYGaNOcsM/J/Y5TuY 2Nlw7v4gTkQoJKVdGhAGcq/M0wcphQeAhOJONVq3z8JwlY4x3QoHRx+QumISeQqtFsMJ L2z36f5HKzkiT7EPLpeNPe+5QZ7f09gLjlDNE7bsv9VXMdosKhsaB4FuM8tgKFM2Jhol 5E+g== MIME-Version: 1.0 Received: by 10.224.210.7 with SMTP id gi7mr9696476qab.35.1338245360571; Mon, 28 May 2012 15:49:20 -0700 (PDT) Received: by 10.229.51.4 with HTTP; Mon, 28 May 2012 15:49:20 -0700 (PDT) In-Reply-To: <4FC3C1A2.7050800@gmx.at> References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> <4FC352DC.5040507@gmx.at> <4FC3C1A2.7050800@gmx.at> Date: Tue, 29 May 2012 00:49:20 +0200 Message-ID: Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) From: Troels Nielsen To: martin rudalics Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 11567 Cc: Tobias Bading , Stefan Monnier , 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) > Then maybe we should use `quit-window' in the first place. =A0Attached > find a patch for those who would give it a try (I hardly ever see the > completions buffer). Yes, it works nicely, as far as I can see when there is only one frame. When anymore, the problem occurs just as before. I suppose Stefan earlier hinted at something like this patch, which together with your earlier simplification sort of fixes the problem. Regards Troels =3D=3D=3D modified file 'lisp/window.el' --- lisp/window.el 2012-05-04 23:16:47 +0000 +++ lisp/window.el 2012-05-28 22:35:25 +0000 @@ -2371,7 +2371,10 @@ (defun window-deletable-p (&optional win ((frame-root-window-p window) ;; WINDOW's frame can be deleted only if there are other frames ;; on the same terminal. - (unless (eq frame (next-frame frame 0)) + (unless (or (eq frame (next-frame frame 0)) + ;; Don't delete frame if its minibuffer is active. + (let ((minibuf (active-minibuffer-window))) + (and minibuf (eq frame (window-frame minibuf))))) 'frame)) ((or ignore-window-parameters (not (eq (window-parameter window 'window-side) 'none)) From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 05:43:58 2012 Received: (at 11567) by debbugs.gnu.org; 29 May 2012 09:43:58 +0000 Received: from localhost ([127.0.0.1]:47548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZIy5-0002us-94 for submit@debbugs.gnu.org; Tue, 29 May 2012 05:43:57 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:54377) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SZIy3-0002uf-5U for 11567@debbugs.gnu.org; Tue, 29 May 2012 05:43:55 -0400 Received: (qmail invoked by alias); 29 May 2012 09:42:26 -0000 Received: from 62-47-42-71.adsl.highway.telekom.at (EHLO [62.47.42.71]) [62.47.42.71] by mail.gmx.net (mp037) with SMTP; 29 May 2012 11:42:26 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18YoeVSSYMYoZ4R7/f7nLCTMPyEdAixyX3oMWX5h5 7WNCR5tSPX4szT Message-ID: <4FC49A00.6010002@gmx.at> Date: Tue, 29 May 2012 11:42:24 +0200 From: martin rudalics MIME-Version: 1.0 To: Troels Nielsen Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> <4FC352DC.5040507@gmx.at> <4FC3C1A2.7050800@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 11567 Cc: Tobias Bading , Stefan Monnier , 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.9 (/) > I suppose Stefan earlier hinted at something like this patch, which > together with your earlier simplification sort of fixes the problem. I see. Even if doesn't fix each and every problem in this area, we should install it (or something similar). martin From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 08:26:01 2012 Received: (at 11567) by debbugs.gnu.org; 29 May 2012 12:26:01 +0000 Received: from localhost ([127.0.0.1]:47920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZLUt-0001VT-14 for submit@debbugs.gnu.org; Tue, 29 May 2012 08:25:59 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47178 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZLUR-0001Uq-25 for 11567@debbugs.gnu.org; Tue, 29 May 2012 08:25:54 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:36165 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SZLT3-00029h-G2; Tue, 29 May 2012 08:24:06 -0400 From: Chong Yidong To: martin rudalics Subject: Re: bug#11567: 24.0.97; WTF? ROFL! (hilarious bug) References: <8CBD82E7-3C0F-4E08-9127-9DAE6A1AFC9D@web.de> <4FC352DC.5040507@gmx.at> <4FC3C1A2.7050800@gmx.at> <4FC49A00.6010002@gmx.at> Date: Tue, 29 May 2012 20:23:58 +0800 In-Reply-To: <4FC49A00.6010002@gmx.at> (martin rudalics's message of "Tue, 29 May 2012 11:42:24 +0200") Message-ID: <87likb5g69.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.97 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: 11567 Cc: Tobias Bading , Troels Nielsen , 11567@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) martin rudalics writes: >> I suppose Stefan earlier hinted at something like this patch, which >> together with your earlier simplification sort of fixes the problem. > > I see. Even if doesn't fix each and every problem in this area, we > should install it (or something similar). OK, I have committed your patch and Torels' to the trunk. Emacs 23.4 has the exact same behavior, so it's not a regression, and the problem isn't important enough to fix for 24.1. From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 08:26:04 2012 Received: (at control) by debbugs.gnu.org; 29 May 2012 12:26:05 +0000 Received: from localhost ([127.0.0.1]:47922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZLUv-0001VX-0X for submit@debbugs.gnu.org; Tue, 29 May 2012 08:26:03 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47208 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZLUn-0001VC-9T for control@debbugs.gnu.org; Tue, 29 May 2012 08:25:55 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:36166 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SZLTR-0002pt-4K for control@debbugs.gnu.org; Tue, 29 May 2012 08:24:29 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 11567 Date: Tue, 29 May 2012 20:24:24 +0800 Message-ID: <87mx4r6upz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 11567 thanks From unknown Sun Jun 15 08:38:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Jun 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator