From: Alain Knaff <alain@knaff.lu>
To: 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 21:13:53 +0100 [thread overview]
Message-ID: <4CDEF181.6010503@knaff.lu> (raw)
In-Reply-To: <87y69q55un.fsf@yahoo.de>
> Nowadays focus follows mouse doesn't mean that the focus strictly
> follows the mouse position, it can still be set independent of it.
Even that (ignoring mouse position, and just grabbing focus) would be a
highly antisocial move. Why can't emacs just leave the mouse and the
focus alone, like most other apps do, and patiently wait until the user
gives it focus? It's not as if emacs is the only app that opens new
windows...
Focus grabbing is dangerous, may cause privacy issues (if emacs happens
to grab focus from another app where user is entering a password), may
cause data loss (if user happens to type in a character sequence in
another app which for emacs means "delete this file"... don't laugh,
I've lost a couple of photos due to such an issue in digikam), and is an
annoyance, in general.
One acceptable behavior would be to pop up the new window _near_ (but
not under!) the mouse pointer, so that the user doesn't have to move the
mouse too much to give it focus. Yes, make the window appear near mouse,
rather than the other way round.
Thanks,
Alain
next prev parent reply other threads:[~2010-11-13 20:13 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 ` Alain Knaff [this message]
2010-11-13 20:58 ` bug#7269: bug #7269: 24.0.50; opening a file via emacsclient -c <file> moves the mouse cursor to, " 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDEF181.6010503@knaff.lu \
--to=alain@knaff.lu \
--cc=7269@debbugs.gnu.org \
/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 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.