all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: detached minibuffer woes
Date: Fri, 20 May 2005 15:28:39 -0600	[thread overview]
Message-ID: <d6lko8$ohi$1@sea.gmane.org> (raw)
In-Reply-To: <B4998EB1-92B2-4B9B-A7F0-1AE6E168501F@bellcow.com>

David Nelson wrote:
 > I'm using Carbon Emacs (emacs for OS X) which is based on GNU Emacs
 > 22.0.50.2. OS X has a "click to focus" window manager.
 >
 > I'm trying to set up a detached or floating minibuffer arrangement.
 > I've nearly got this working the way I would like, but I've hit a  wall.
 > As currently configured, I'm using minibuffer-setup-hook to  raise the
 > frame containing the minibuffer. I use minibuffer-exit-hook  to set the
 > focus back to the frame I was working in when the  minibuffer is done.
 >
 > This works great except that if the minibuffer is showing status
 > information, it does not get raised.

That's because messages are output to the echo area, which is
conceptually distinct from the minibuffer.  They may share the same
screen real estate, but calling message does not activate the
minibuffer, which would invoke minibuffer-setup-hook.

 > I tried using minibuffer-auto-raise, but that's too aggressive. It
 > takes the focus away from the window I'm working on for everything
 > concerning the minibuffer. For example, if I do something involving
 > setting the mark, the minibuffer displays a message about that, but  it
 > also takes the focus away from the frame I'm editing in.

Can you advise the message function, to save and reset the focus just
like you did in minibuffer-setup-hook/minibuffer-exit-hook?

 > Ideally, there would be a variable that would cause the minibuffer to
 > be raised, but without stealing the focus.

Yes, Emacs seems to conflate input focus and frame stacking, especially
on non-X platforms.

 > Does anyone have any suggestions on this. I suspect the problems is  the
 > lack of focus follows mouse in OS X's window manager.

I'm curious whether follow-mouse.el (which implements
focus-follows-mouse within Emacs) works for you:
http://www.emacswiki.org/elisp/follow-mouse.el

-- 
Kevin Rodgers

      reply	other threads:[~2005-05-20 21:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 18:11 detached minibuffer woes David Nelson
2005-05-20 21:28 ` Kevin Rodgers [this message]

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='d6lko8$ohi$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.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.