all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 11566@debbugs.gnu.org
Subject: bug#11566: 24.0.97; `read-from-minibuffer': focus to standalone minibuffer frame?
Date: Wed, 30 May 2012 21:43:07 +0300	[thread overview]
Message-ID: <83lik91pdw.fsf@gnu.org> (raw)
In-Reply-To: <48D5DE31AB1D493F8F54655CEF962C08@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <rudalics@gmx.at>, <11566@debbugs.gnu.org>
> Date: Tue, 29 May 2012 14:31:39 -0700
> 
> Being on top, having the input focus, and having the borders highlighted all
> seem to be independent (not necessarily coupled).

Yes, that's true.

> After you answer these questions, `*Marked Files*' is popped up and you are
> asked for the chmod value (e.g. `go+w').  It is for that last input reading that
> the problem arises: the input focus is in the *Marked Files* frame.

Is the input focus there, or does the input you type arrive at that
frame (instead of the minibuffer frame)?  As we established, the frame
that has focus and the frame that gets the input can be different
frames, thanks to redirect-frame-focus.

I see in the code that read-from-minibuffer (or, rather, one of its
subroutines) does the equivalent of the following:

   (if minibuffer-auto-raise
       (raise-frame minibuffer-frame))
   ...
   (or (eq (selected-frame) minibuffer-frame)
       (redirect-frame-focus minibuffer-frame))

Does your setup have minibuffer-auto-raise set to a non-nil value?  If
not, can you see if setting it non-nil fixes the problem?  (I'm not
saying that this should be the fix, I'm just trying to figure out
which part(s) of read-from-minibuffer fail to do their job.)





  reply	other threads:[~2012-05-30 18:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-27  0:07 bug#11566: 24.0.97; `read-from-minibuffer': focus to standalone minibuffer frame? Drew Adams
2012-05-27 13:22 ` martin rudalics
2012-05-27 15:01   ` Drew Adams
2012-05-29  9:43     ` martin rudalics
2012-05-29 14:12       ` Drew Adams
2012-05-29 15:44         ` Eli Zaretskii
2012-05-29 16:10           ` Drew Adams
2012-05-29 16:44             ` Eli Zaretskii
2012-05-29 19:15               ` Drew Adams
2012-05-29 19:47                 ` Eli Zaretskii
2012-05-29 20:28                   ` Drew Adams
2012-05-29 15:40       ` Eli Zaretskii
2012-05-29 16:10         ` Drew Adams
2012-05-29 16:46           ` Eli Zaretskii
2012-05-29 19:15             ` Drew Adams
2012-05-29 20:20               ` Eli Zaretskii
2012-05-29 21:31                 ` Drew Adams
2012-05-30 18:43                   ` Eli Zaretskii [this message]
2012-05-30 20:10                     ` Drew Adams
2012-05-28 18:02 ` Drew Adams
2012-10-03  9:13 ` martin rudalics

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=83lik91pdw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11566@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.