* eldoc vs minibuffer-auto-raise
@ 2019-01-19 9:32 martin rudalics
2019-01-19 16:20 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2019-01-19 9:32 UTC (permalink / raw)
To: emacs-devel
Since I'm not using minibuffer-only frames I'm asking here how the
following is supposed to behave: With emacs -Q I load a file with the
two lines
(setq initial-frame-alist '((minibuffer . nil)))
(setq minibuffer-auto-raise t)
and then in *scratch* I start typing something like
(setq
A short pause here switches focus to the minibuffer frame and typing
the subsequent space character gets me
SPC is undefined
Obviously, eldoc intervenes here since doing the same with Emacs 24
proceeds without problems.
I'd like to know whether people using separate minibuffer frames see
this problem, circumvent it by not using 'minibuffer-auto-raise' or
disabling 'eldoc-mode' or whatever exists to handle this behavior in a
reasonable way. If there was a previous discussion about this, please
point me to it.
Thanks, martin
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: eldoc vs minibuffer-auto-raise
2019-01-19 9:32 eldoc vs minibuffer-auto-raise martin rudalics
@ 2019-01-19 16:20 ` Drew Adams
2019-01-19 18:49 ` martin rudalics
0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2019-01-19 16:20 UTC (permalink / raw)
To: martin rudalics, emacs-devel
> (setq minibuffer-auto-raise t)
> and then in *scratch* I start typing something like
> (setq
> A short pause here switches focus to the minibuffer frame and typing
> the subsequent space character gets me
>
> SPC is undefined
>
> Obviously, eldoc intervenes here since doing the same with Emacs 24
> proceeds without problems.
>
> I'd like to know whether people using separate minibuffer frames see
> this problem, circumvent it by not using 'minibuffer-auto-raise' or
> disabling 'eldoc-mode' or whatever exists to handle this behavior in a
> reasonable way. If there was a previous discussion about this, please
> point me to it.
I mention this because you asked about uses of standalone
minibuffer frames. But I'm pretty sure it won't help you.
I didn't try from `emacs -Q', and my setup is far from
`emacs -Q'.
I use a standalone minibuffer frame. I have eldoc turned
on and `minibuffer-auto-raise' = t.
I don't see (e.g. with Emacs 26) what you describe. In my
case focus does not switch to the minibuffer frame.
I'm using MS Windows. Perhaps the window mgr is involved
here, switching the focus to the minibuffer frame in your
case?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eldoc vs minibuffer-auto-raise
2019-01-19 16:20 ` Drew Adams
@ 2019-01-19 18:49 ` martin rudalics
2019-01-19 19:24 ` Eli Zaretskii
2019-01-19 22:25 ` Drew Adams
0 siblings, 2 replies; 7+ messages in thread
From: martin rudalics @ 2019-01-19 18:49 UTC (permalink / raw)
To: Drew Adams, emacs-devel
> I'm using MS Windows. Perhaps the window mgr is involved
> here, switching the focus to the minibuffer frame in your
> case?
No. I suppose you have set 'w32-grab-focus-on-raise' to nil so you
won't see this behavior.
martin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eldoc vs minibuffer-auto-raise
2019-01-19 18:49 ` martin rudalics
@ 2019-01-19 19:24 ` Eli Zaretskii
2019-01-20 9:13 ` martin rudalics
2019-01-19 22:25 ` Drew Adams
1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2019-01-19 19:24 UTC (permalink / raw)
To: martin rudalics; +Cc: drew.adams, emacs-devel
> Date: Sat, 19 Jan 2019 19:49:07 +0100
> From: martin rudalics <rudalics@gmx.at>
>
> > I'm using MS Windows. Perhaps the window mgr is involved
> > here, switching the focus to the minibuffer frame in your
> > case?
>
> No. I suppose you have set 'w32-grab-focus-on-raise' to nil so you
> won't see this behavior.
FWIW, I didn't customize 'w32-grab-focus-on-raise', and I, like Drew,
don't see the problem you describe.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: eldoc vs minibuffer-auto-raise
2019-01-19 18:49 ` martin rudalics
2019-01-19 19:24 ` Eli Zaretskii
@ 2019-01-19 22:25 ` Drew Adams
2019-01-20 9:18 ` martin rudalics
1 sibling, 1 reply; 7+ messages in thread
From: Drew Adams @ 2019-01-19 22:25 UTC (permalink / raw)
To: martin rudalics, emacs-devel
> > I'm using MS Windows. Perhaps the window mgr is involved
> > here, switching the focus to the minibuffer frame in your
> > case?
>
> No. I suppose you have set 'w32-grab-focus-on-raise' to nil so you
> won't see this behavior.
Yes, it's nil. (Not that I even remembered what
that variable is or does, or when I set it to nil.)
However, I see the same behavior even if I set the
var to `t'. In my case, no doubt due to something
else in my setup, the focus stays where I left it,
in the *scratch* frame. Eldoc puts its msgs in the
minibuffer frame (in the echo area, presumably), and
focus stays put, in *scratch*.
However2: With the variable = t things are really
annoying outside of Emacs!
E.g., while typing this mail in Outlook (not Emacs),
Eldoc (?) keeps periodically sending the window-mgr
focus to the Emacs *scratch* frame (not to the
minibuffer frame - again, no doubt due to my setup),
so text I try to type into Outlook ends up in
*scratch*. That's creepy weird.
I'm not familiar with that variable, and I don't
really make much, if any, real use of Eldoc, but
if other users also find Eldoc periodically stealing
focus from other window-mgr windows and redirecting
it to some Emacs frame I'd think that would be quite
annoying. (Has anyone reported that?)
Good thing I have it set to nil, I guess.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eldoc vs minibuffer-auto-raise
2019-01-19 19:24 ` Eli Zaretskii
@ 2019-01-20 9:13 ` martin rudalics
0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2019-01-20 9:13 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: drew.adams, emacs-devel
> FWIW, I didn't customize 'w32-grab-focus-on-raise', and I, like Drew,
> don't see the problem you describe.
Then I'm clueless.
martin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: eldoc vs minibuffer-auto-raise
2019-01-19 22:25 ` Drew Adams
@ 2019-01-20 9:18 ` martin rudalics
0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2019-01-20 9:18 UTC (permalink / raw)
To: Drew Adams, emacs-devel
>> No. I suppose you have set 'w32-grab-focus-on-raise' to nil so you
>> won't see this behavior.
>
> Yes, it's nil. (Not that I even remembered what
> that variable is or does, or when I set it to nil.)
>
> However, I see the same behavior even if I set the
> var to `t'.
Eli noted the same. Strange.
> In my case, no doubt due to something
> else in my setup, the focus stays where I left it,
> in the *scratch* frame. Eldoc puts its msgs in the
> minibuffer frame (in the echo area, presumably), and
> focus stays put, in *scratch*.
This sounds a bit like focus redirection. I'm not so familiar with
that.
> However2: With the variable = t things are really
> annoying outside of Emacs!
>
> E.g., while typing this mail in Outlook (not Emacs),
> Eldoc (?) keeps periodically sending the window-mgr
> focus to the Emacs *scratch* frame (not to the
> minibuffer frame - again, no doubt due to my setup),
> so text I try to type into Outlook ends up in
> *scratch*. That's creepy weird.
This must be related to your setup, some timer maybe.
> I'm not familiar with that variable, and I don't
> really make much, if any, real use of Eldoc, but
> if other users also find Eldoc periodically stealing
> focus from other window-mgr windows and redirecting
> it to some Emacs frame I'd think that would be quite
> annoying. (Has anyone reported that?)
>
> Good thing I have it set to nil, I guess.
Maybe. I cannot see any of the behavior you describe here.
martin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-01-20 9:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-19 9:32 eldoc vs minibuffer-auto-raise martin rudalics
2019-01-19 16:20 ` Drew Adams
2019-01-19 18:49 ` martin rudalics
2019-01-19 19:24 ` Eli Zaretskii
2019-01-20 9:13 ` martin rudalics
2019-01-19 22:25 ` Drew Adams
2019-01-20 9:18 ` martin rudalics
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.