From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman 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 22:52:08 +0100 Message-ID: References: <87y69q55un.fsf@yahoo.de> <4CDEF181.6010503@knaff.lu> <4CDEFD4E.1090603@knaff.lu> <4CDF0235.8030301@knaff.lu> <4CDF05BF.7040805@knaff.lu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1289686482 11772 80.91.229.12 (13 Nov 2010 22:14:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2010 22:14:42 +0000 (UTC) Cc: 7269@debbugs.gnu.org To: Alain Knaff Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 13 23:14:38 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 1PHOMn-0002mz-Mm for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 23:14:38 +0100 Original-Received: from localhost ([127.0.0.1]:56677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHOMm-0006Rf-Sp for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Nov 2010 17:14:37 -0500 Original-Received: from [140.186.70.92] (port=51380 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHOMK-00063Y-9d for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 17:14:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHOMH-0000Gg-6R for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 17:14:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHOMH-0000Gc-3Z for bug-gnu-emacs@gnu.org; Sat, 13 Nov 2010 17:14:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PHNx3-00067z-Th; Sat, 13 Nov 2010 16:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman 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 21:48:01 +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.128968485923549 (code B ref 7269); Sat, 13 Nov 2010 21:48:01 +0000 Original-Received: (at 7269) by debbugs.gnu.org; 13 Nov 2010 21:47:39 +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 1PHNwh-00067m-Iw for submit@debbugs.gnu.org; Sat, 13 Nov 2010 16:47:39 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHNwe-00067h-TV for 7269@debbugs.gnu.org; Sat, 13 Nov 2010 16:47:37 -0500 Original-Received: by eyd10 with SMTP id 10so2468324eyd.3 for <7269@debbugs.gnu.org>; Sat, 13 Nov 2010 13:52:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=Mjn9aj6o39abbK3rkDx0d42faI1dFVQIzZ12Wdj+ij8=; b=myyNoNCFzrCTJ/gDJXSEDHXITB/3WW5+jOy/SF7/X6CHlTROJkbDC5xLdEC6ECb8et Af5EboubuDbpj4u6PITGlB67YRLcSYM6yOAUzbdCPWZad7pPZJMQGzFiIXiuhf+IstkP NSc/q4t+rKaimGLIEeTDmLtgeORHYPpShIi38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=voXwyStZnG9EnvxQti9zLu/NwDBMTSwLcGMUq7d/PuFaV7zg9MZMHS2xdJERGzfsYN ZMrfsu7vRcpwB7/xj54pKHLvYOr0dENJpenS4Kvr1KnKvIXsCLQhebPLWLwG9A+ez5PS wTjpntWVFHLhj/0ZkkS+cS9sS+8GG2bbjLc9I= Original-Received: by 10.213.14.79 with SMTP id f15mr3449277eba.58.1289685148725; Sat, 13 Nov 2010 13:52:28 -0800 (PST) Original-Received: by 10.213.22.135 with HTTP; Sat, 13 Nov 2010 13:52:08 -0800 (PST) In-Reply-To: <4CDF05BF.7040805@knaff.lu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 13 Nov 2010 16:48:01 -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:41586 Archived-At: On Sat, Nov 13, 2010 at 10:40 PM, Alain Knaff wrote: > 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 :-) Why is it good that the newly started program does not get focus? > Maybe, in emacs this behavior could be made conditional on running on > Windows? Yes. Or the window manager if that is better (and possible). >> 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? No. There are some extra difficulties since Emacs uses a server which emacsclients connects to. >> 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. Thanks. > 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...