From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#5036: marked as done (23.1.50; Unexpected minibuffer tab completion behavior) Date: Wed, 25 Nov 2009 01:55:07 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1259114107-20562-0" X-Trace: ger.gmane.org 1259114899 24032 80.91.229.12 (25 Nov 2009 02:08:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 02:08:19 +0000 (UTC) To: Matthew Dempsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 25 03:08:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ND7Ih-0007r2-Ef for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 03:08:11 +0100 Original-Received: from localhost ([127.0.0.1]:54444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND7Ih-00074T-1F for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Nov 2009 21:08:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ND7I3-0006d2-1V for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2009 21:07:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ND7Hy-0006Zu-6g for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2009 21:07:30 -0500 Original-Received: from [199.232.76.173] (port=45264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND7Hx-0006Zg-LO for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2009 21:07:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33593) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ND7Hx-0002fu-0B for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2009 21:07:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAP27M0l022360; Tue, 24 Nov 2009 18:07:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAP1t7ZX020630; Tue, 24 Nov 2009 17:55:07 -0800 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 5036 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32900 Archived-At: This is a multi-part message in MIME format... ------------=_1259114107-20562-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 24 Nov 2009 17:50:39 -0800 with message-id and subject line Bad bug has caused the Emacs bug report #5036, regarding 23.1.50; Unexpected minibuffer tab completion behavior 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.) --=20 5036: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D5036 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1259114107-20562-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 25 Nov 2009 01:08:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAP18WeU017029 for ; Tue, 24 Nov 2009 17:08:33 -0800 Received: from mx10.gnu.org ([199.232.76.166]:33775) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1ND6My-0001Uo-10 for emacs-pretest-bug@gnu.org; Tue, 24 Nov 2009 20:08:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1ND6Mw-0006A4-SY for emacs-pretest-bug@gnu.org; Tue, 24 Nov 2009 20:08:31 -0500 Received: from qw-out-1920.google.com ([74.125.92.145]:5985) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ND6Mw-00069y-Kz for emacs-pretest-bug@gnu.org; Tue, 24 Nov 2009 20:08:30 -0500 Received: by qw-out-1920.google.com with SMTP id 5so1569473qwc.24 for ; Tue, 24 Nov 2009 17:08:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.86.211 with SMTP id t19mr3620400qal.146.1259111309682; Tue, 24 Nov 2009 17:08:29 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Nov 2009 17:08:29 -0800 Message-ID: Subject: Re: 23.1.50; Unexpected minibuffer tab completion behavior From: Matthew Dempsky To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) It seems like the unexpected buffer switching is because the 'dedicated' flag on the temporary window created for *Completions* is getting cleared by set-window-buffer. My understanding of the situation so far is: - The `(with-output-to-temp-buffer "*Completions*" ...)' form in minibuffer-completion-help results in `display-buffer' being called with `display-buffer-mark-dedicated' bound to `soft'. - The `(and pop-up-windows ...)' clause of `display-buffer' is evaluated*, and calls `(set-window-dedicated-p window-to-use 'soft)'. - However, the `window--display-buffer-2' call then calls `set-window-buffer', which sets `w->dedicated = Qnil'. - Later, when `(bury-buffer)' is called to hide the minibuffer help, it sees the window is not dedicated, so it switches to a new buffer instead of killing the window. (* I haven't bothered yet to look into why that particular clause is evaluated, but I don't think it matters; it's just the one that stepping through the code took me to.) ------------=_1259114107-20562-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5036-done) by emacsbugs.donarmstrong.com; 25 Nov 2009 01:50:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAP1oipw020436 for <5036-done@emacsbugs.donarmstrong.com>; Tue, 24 Nov 2009 17:50:46 -0800 Received: by qyk35 with SMTP id 35so3339697qyk.19 for <5036-done@emacsbugs.donarmstrong.com>; Tue, 24 Nov 2009 17:50:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.52.160 with SMTP id i32mr3613362qag.331.1259113839521; Tue, 24 Nov 2009 17:50:39 -0800 (PST) Date: Tue, 24 Nov 2009 17:50:39 -0800 Message-ID: Subject: Bad bug From: Matthew Dempsky To: 5036-done@emacsbugs.donarmstrong.com Content-Type: text/plain; charset=ISO-8859-1 Sorry, this message was meant to be added as a comment to #5030 instead. ------------=_1259114107-20562-0--