emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: put input focus on active minibuffer


From: Drew Adams
Subject: RE: put input focus on active minibuffer
Date: Sun, 14 Feb 2016 19:01:21 -0800 (PST)

> >> But, if using GNU Emacs 24.4 or later, perhaps make use of
> >> `focus-in-hook`? For example, something along the lines of:
> >>
> >>     (defun focus-to-active-minibuffer ()
> >>       (if (minibuffer-window-active-p (minibuffer-window))
> >>           (select-window (minibuffer-window))))
> >>
> >>     (add-hook 'focus-in-hook #'focus-to-active-minibuffer)
> >
> > If you do that then whenever a frame receives the focus so will
> > its (active) minibuffer window.  That precludes the user
> > interactions I described above, and about which you "Agreed".
> 
> Well, my suggestion was code to help the OP achieve the effect
> they want, without any other GNU Emacs users being affected. i'm
> sorry that my wording seems to have conveyed the impression that i
> was suggesting that my code be incorporated directly into GNU
> Emacs itself.

I see.  You were saying how to do it on one's own, and not
speaking to the OP's feature request for Emacs.  Sorry for
not understanding that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]