From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alain Knaff Newsgroups: gmane.emacs.bugs Subject: bug#7269: bug #7269: 24.0.50; opening a file via emacsclient -c moves the mouse cursor to, the top left of the frames buffer. Date: Sat, 13 Nov 2010 21:13:53 +0100 Message-ID: <4CDEF181.6010503@knaff.lu> References: <87y69q55un.fsf@yahoo.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289681057 23188 80.91.229.12 (13 Nov 2010 20:44:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 20:44:17 +0000 (UTC) To: 7269@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 13 21:44:13 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PHMxI-0005AG-Qv for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 21:44:12 +0100 Original-Received: from localhost ([127.0.0.1]:36153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHMxI-0005D5-44 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 15:44:12 -0500 Original-Received: from [140.186.70.92] (port=38788 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHMxD-0005Cj-0l for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 15:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHMx8-0000UH-BK for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 15:44:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHMx8-0000U3-8J for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 15:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PHMQE-0005P3-CY; Sat, 13 Nov 2010 15:10:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y69q55un.fsf@yahoo.de> Resent-From: Alain Knaff Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Nov 2010 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7269 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7269-submit@debbugs.gnu.org id=B7269.128967894720758 (code B ref 7269); Sat, 13 Nov 2010 20:10:02 +0000 Original-Received: (at 7269) by debbugs.gnu.org; 13 Nov 2010 20:09:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHMPK-0005Ol-8S for submit@debbugs.gnu.org; Sat, 13 Nov 2010 15:09:06 -0500 Original-Received: from crmm.lgl.lu ([158.64.72.228] helo=lll.lu) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHMPH-0005OL-Sx for 7269@debbugs.gnu.org; Sat, 13 Nov 2010 15:09:04 -0500 Original-Received: from [188.115.12.243] (ip-188-115-12-243.dyn.luxdsl.pt.lu [188.115.12.243] (may be forged)) by lll.lu (8.14.3/8.14.3/Debian-6) with ESMTP id oADKDrPn019612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <7269@debbugs.gnu.org>; Sat, 13 Nov 2010 21:13:55 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Lightning/1.0b1 Thunderbird/3.0.10 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 13 Nov 2010 15:10:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41568 Archived-At: > 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