venta: (Default)
venta ([personal profile] venta) wrote2002-11-22 03:08 pm

Emacs Guru required

If the subject line made you go "What?"...
(I'm using NTEmacs, on Windows XP)

Every so often, when I've had an Emacs session open for a while, it develops a strange glitch. If I try to cut a line of text, or select a region, or cut a region, then the window loses the focus.

This fantastically annoying. It didn't happen when I had Windows '95 running.

So... is there some arcane combination of keys I'm hitting, which is bound to M-x do-strange-things ? Is it just a bug, and I deserve it for trying to use Emacs with Windows ? Is there some strange setting I need to tweak somewhere ?

Help!

Umm...

[identity profile] bateleur.livejournal.com 2002-11-22 03:53 pm (UTC)(link)
Not many Emacs gurus would use Win-XP !

I've never heard of the effect you describe, but it can't be anything to do with Emacs per se, because it's not in control of focus traversal at that level.

You probably need a Win-XP guru, but they'll mostly have been put off by your subject line.

Re: Umm...

[identity profile] onebyone.livejournal.com 2002-11-23 10:10 am (UTC)(link)

it can't be anything to do with Emacs per se, because it's not in control of focus traversal at that level.

I don't think that's true. There are windows calls that allow an application to steal or lose the focus, it's just that most apps are too polite to use them.