unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Matthew Dempsky <matthew@dempsky.org>
Subject: bug#5036: marked as done (23.1.50; Unexpected minibuffer tab completion behavior)
Date: Wed, 25 Nov 2009 01:55:07 +0000	[thread overview]
Message-ID: <handler.5036.D5036.125911384620439.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: d791b8790911241708i4d7d206dv1675ee893af0eeb5@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

Your message dated Tue, 24 Nov 2009 17:50:39 -0800
with message-id <d791b8790911241750h74ba8a83g50004f2700075f0c@mail.gmail.com>
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.)


-- 
5036: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=5036
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3094 bytes --]

From: Matthew Dempsky <matthew@dempsky.org>
To: emacs-pretest-bug@gnu.org
Subject: Re: 23.1.50; Unexpected minibuffer tab completion behavior
Date: Tue, 24 Nov 2009 17:08:29 -0800
Message-ID: <d791b8790911241708i4d7d206dv1675ee893af0eeb5@mail.gmail.com>

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.)


[-- Attachment #3: Type: message/rfc822, Size: 1255 bytes --]

From: Matthew Dempsky <matthew@dempsky.org>
To: 5036-done@emacsbugs.donarmstrong.com
Subject: Bad bug
Date: Tue, 24 Nov 2009 17:50:39 -0800
Message-ID: <d791b8790911241750h74ba8a83g50004f2700075f0c@mail.gmail.com>

Sorry, this message was meant to be added as a comment to #5030 instead.

  reply	other threads:[~2009-11-25  1:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  6:09 bug#5030: 23.1.50; Unexpected minibuffer tab completion behavior Matthew Dempsky
2009-11-25  1:08 ` bug#5036: " Matthew Dempsky
2009-11-25  1:55   ` Emacs bug Tracking System [this message]
2009-11-25  2:24 ` bug#5030: " Matthew Dempsky
2009-11-25  8:42   ` Matthew Dempsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.5036.D5036.125911384620439.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=matthew@dempsky.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).