Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I stop focus stealing?

40 views
Skip to first unread message

Bruce Korb

unread,
Jul 26, 2008, 8:24:07 PM7/26/08
to help-gn...@gnu.org
Hi,

I like to use a couple of cscope windows triggering "file visits"
in an emacs session with three or four frames open. I do not,
however, enjoy typing several characters at the cscope window
only to have focus shifted to emacs and having the remaining
characters trigger various actions in an emacs window. I've
set my KDE desk top focus stealing prevention to "extreme", but
it is not extreme enough to stop this behavior. I've groped
through the emacs settings and not been able to figure out how
to prevent the emacsclient signaling from cause the theft of the
focus. So, I ask here: How can I do that? I do _not_ want
my mouse moved away from cscope into emacs. I'll move the mouse
myself when I am ready. I do not need the "help". Thank you.

Regards, Bruce


Bernardo Bacic

unread,
Jul 27, 2008, 2:40:28 AM7/27/08
to help-gn...@gnu.org
Not sure how to accomplish what you describe. Have you tried xcscope package
within Emacs itself?

it was a dark and stormy night when Bruce Korb said,

Juanma Barranquero

unread,
Jul 27, 2008, 7:16:38 AM7/27/08
to Bruce Korb, help-gn...@gnu.org
On Sun, Jul 27, 2008 at 02:24, Bruce Korb <bk...@gnu.org> wrote:

> I've groped
> through the emacs settings and not been able to figure out how
> to prevent the emacsclient signaling from cause the theft of the
> focus.

IIUC what you're asking, perhaps setting server-raise-frame to nil could help.

Juanma


Bruce Korb

unread,
Jul 27, 2008, 11:33:55 AM7/27/08
to Juanma Barranquero, help-gn...@gnu.org
On Sun, Jul 27, 2008 at 4:16 AM, Juanma Barranquero <lek...@gmail.com> wrote:
> On Sun, Jul 27, 2008 at 02:24, Bruce Korb <bk...@gnu.org> wrote:
>
>> I've groped
>> through the emacs settings and not been able to figure out how
>> to prevent the emacsclient signaling from causing the theft of the

>> focus.
>
> IIUC what you're asking, perhaps setting server-raise-frame to nil could help.

Thank you, Juanma. That was it! Regards, Bruce


0 new messages