From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maurizio Vitale Subject: giving emacs focus w/ org-protocol/firefox Date: Thu, 03 Dec 2009 11:42:47 -0500 Message-ID: <878wdkggag.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: maurizio.vitale@polymath-solutions.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGEWj-0003l3-Uo for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:27:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGEWf-0003hP-8B for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:27:33 -0500 Received: from [199.232.76.173] (port=33986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGEWe-0003hE-VO for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:27:29 -0500 Received: from lo.gmane.org ([80.91.229.12]:56933) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGEWe-0007uB-L4 for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:27:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NGEWa-0004gG-Rm for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 17:27:24 +0100 Received: from pool-72-95-253-175.pitbpa.east.verizon.net ([72.95.253.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Dec 2009 17:27:24 +0100 Received: from maurizio.vitale by pool-72-95-253-175.pitbpa.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Dec 2009 17:27:24 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Has somebody managed to get the Emacs window popping up and get the focus when emacsclient is invoked from Firefox with an org-protocol URL? I'm using the two scripts at http://www.emacswiki.org/emacs/EmacsClient#toc25 and although the emacsclient-wrapper script works just fine from a console, it doesn't when invoked from Firefox. If in Firefox I set the protocol handler to be emacsclient (without wrapper), everything works fine (but the Emacs window is not raised, of course). I suspect that the Window ID for Firefox is not found, but I wouldn't know how to check whether this is true. Any ideas? Thanks in advance, Maurizio