unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alain Knaff <alain@knaff.lu>
To: Lennart Borgman <lennart.borgman@gmail.com>, 7269@debbugs.gnu.org
Subject: bug#7269: bug #7269: 24.0.50; opening a file via emacsclient -c <file> moves the mouse cursor to, the top left of the frames buffer.
Date: Sat, 13 Nov 2010 22:40:15 +0100	[thread overview]
Message-ID: <4CDF05BF.7040805@knaff.lu> (raw)
In-Reply-To: <AANLkTikX_r7sKbh3TsE_rtXvyTzwTOA0W2u3ocroM0Ti@mail.gmail.com>

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





  parent reply	other threads:[~2010-11-13 21:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 20:29 bug#7269: 24.0.50; opening a file via emacsclient -c <file> moves the mouse cursor to the top left of the frames buffer Arne Babenhauserheide
2010-11-10 19:29 ` Anders Kaseorg
2010-11-11 23:04   ` Stefan Monnier
2010-11-12 17:02     ` Andreas Schwab
2010-11-13 20:13 ` bug#7269: bug #7269: 24.0.50; opening a file via emacsclient -c <file> moves the mouse cursor to, " Alain Knaff
2010-11-13 20:58   ` Lennart Borgman
     [not found]     ` <4CDEFD4E.1090603@knaff.lu>
     [not found]       ` <AANLkTikmo5es3TRm2UiOppzKv1EqQPjCryc=h8hnkPJj@mail.gmail.com>
2010-11-13 21:25         ` Alain Knaff
2010-11-13 21:31           ` Lennart Borgman
2010-11-13 21:39             ` Lennart Borgman
2010-11-13 21:42               ` Alain Knaff
2010-11-13 21:48                 ` Lennart Borgman
2010-11-13 21:40             ` Alain Knaff [this message]
2010-11-13 21:52               ` Lennart Borgman
2010-11-13 22:10                 ` Alain Knaff
2010-11-13 22:38                   ` Lennart Borgman
2010-11-13 23:20                     ` Alain Knaff
2010-11-13 23:50                       ` Lennart Borgman
2010-11-14  0:20                         ` Alain Knaff
2010-11-14  0:51                           ` Lennart Borgman
2010-11-14  8:10                             ` Alain Knaff
2010-12-20 11:15 ` bug#7269: 24.0.50; opening a file via emacsclient -c <file> moves the mouse cursor to " Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDF05BF.7040805@knaff.lu \
    --to=alain@knaff.lu \
    --cc=7269@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).