GNU bug report logs -
#7269
24.0.50; opening a file via emacsclient -c <file> moves the mouse cursor to the top left of the frames buffer.
Previous Next
Reported by: arne_bab <at> web.de
Date: Fri, 22 Oct 2010 20:30:04 UTC
Severity: normal
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 7269 <at> debbugs.gnu.org (full text, mbox):
On 11/13/2010 10:31 PM, Lennart Borgman wrote:
[...]
> As I said I know of no exception on w32. All applications I can think
> of right now grabs focus when you call them from the command line (or
> from Windows Explorer).
Ok, but if I really liked this braindead behavior, I'd actually use
Windows, rather than Linux. And I'd probably use Notepad too rather than
Emacs :-)
So why exactly is Emacs trying to force Windows down everybody's throat?
Emacs, of all software! The flagship of the GNU movement! The mind
boggles...
Maybe, in emacs this behavior could be made conditional on running on
Windows?
>
> Maybe this is dependent on the window manager used?
I use KDE.
I don't believe this is a window manager issue... if that was the case,
wouldn't all applications behave the same way?
>
> What happens if you launch a program from the command line without a
> file name argument? Does the application get focus?
No, of course not.
Unless it just happens to pop up in front of the mouse.
And this has been the case with other Window managers as well, even
before KDE. Even in mwm, twm, fvwm, applications didn't steal focus
willy-nilly. I don't know for sure about Gnome, I don't use Gnome very
often, but I guess I would have noticed if this was the case...
> (On w32 they do
> get focus.)
... and that's one of the zillion reasons why I don't use w32... :-)
Alain
This bug report was last modified 14 years and 160 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.