all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: RE: completing-read (and M-x) with pop-up-frames non-nil changes frame focus
Date: Fri, 15 Jul 2005 07:07:51 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICIEKJCKAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87r7e0iqwh.fsf-monnier+emacs@gnu.org>

    > emacs -q
    > M-x set-variable pop-up-frames t
    > M-x complet TAB

    > This opens a new frame for buffer *Completions*. At least in
    Windows, the
    > new frame is selected. The frame focus for typing key sequences thus
    > switches to the *Completions* frame, but the minibuffer of
    the original
    > frame is still waiting for input. So, you cannot continue to type, to
    > disambiguate the command you want.

    Maybe this is related to the following comment in the docstring of
    pop-up-frame-function:

       This function itself does not make the new frame the selected frame.
       The previously selected frame remains selected.  However, the
       window system may select the new frame for its own reasons, for
       instance if the frame appears under the mouse pointer and your
       setup is for focus to follow the pointer.

    So maybe Fdisplay_buffer should protect against it with
    something like the
    patch below.  Does it help?

  Sorry about the botched patch.  Try this one instead,

Thanks for considering this a bug - I wasn't sure it would be looked at that
way.

I can't build from C sources and test this myself, but I'll take your word
for it that it's fixed. If someone else happens to do a Windows build,
perhaps s?he could confirm.  Thanks.

  parent reply	other threads:[~2005-07-15 14:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15  3:35 completing-read (and M-x) with pop-up-frames non-nil changes frame focus Drew Adams
2005-07-15  5:27 ` Stefan Monnier
2005-07-15  7:35   ` Stefan Monnier
2005-07-15 14:07   ` Drew Adams [this message]
2005-07-15 20:45     ` Stefan Monnier
2005-07-15 20:55       ` Drew Adams
2005-07-18  4:48 ` Richard M. Stallman
2005-07-18  5:10   ` completing-read (and M-x) with pop-up-frames non-nil changes framefocus Drew Adams
2005-07-18 21:23     ` Richard M. Stallman
2005-07-18 22:14       ` completing-read (and M-x) with pop-up-frames non-nil changesframefocus Drew Adams
2005-07-19 20:32         ` Richard M. Stallman
2005-07-19 21:04           ` completing-read (and M-x) with pop-up-frames non-nilchangesframefocus Drew Adams
2005-07-20 22:09             ` Richard M. Stallman
2005-07-20 22:51               ` Henrik Enberg
2005-07-20 22:57               ` Jan D.
2005-07-20 23:19               ` completing-read (and M-x) with pop-up-framesnon-nilchangesframefocus Drew Adams
2005-07-21 17:08                 ` Richard M. Stallman
2005-07-21 18:25                   ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICIEKJCKAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.