From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniele Pizzolli Subject: Re: "Capture"-like browser plugin? Date: Wed, 29 Jul 2015 15:03:36 +0200 Message-ID: <86vbd3zzzzxgif@me.localhost.invalid> References: <6sw6c7y4i7nejo.fsf@dhcp-10-92-133-17.hmco.com> <86zj2nzzzz3p8k@me.localhost.invalid> <6sw6c7wpxkt8gd.fsf@dhcp-10-92-132-216.hmco.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKR1Q-0007gY-9Z for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 09:03:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKR1J-0005na-Rq for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 09:03:48 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:42421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKR1J-0005i4-IV for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 09:03:41 -0400 Received: from mfilter46-d.gandi.net (mfilter46-d.gandi.net [217.70.178.177]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id AC8F7172090 for ; Wed, 29 Jul 2015 15:03:39 +0200 (CEST) Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter46-d.gandi.net (mfilter46-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id TMur5LXQuYZf for ; Wed, 29 Jul 2015 15:03:38 +0200 (CEST) Received: from localhost.invalid (unknown [217.77.95.254]) (Authenticated sender: me@toel.it) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 43A3F1720B3 for ; Wed, 29 Jul 2015 15:03:37 +0200 (CEST) In-Reply-To: <6sw6c7wpxkt8gd.fsf@dhcp-10-92-132-216.hmco.com> (Peter Davis's message of "Tue, 28 Jul 2015 14:58:58 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, Jul 28 2015, Peter Davis wrote: > Daniele Pizzolli writes: > >> On Thu, Jul 23 2015, Peter Davis wrote: [] >> >> https://addons.mozilla.org/it/firefox/addon/org-mode-capture/ >> > > Thank you, Daniele. I'm afraid I haven't been able to get this to work on a Mac. I have the Firefox add-in installed, and emacs > configured, but when I click the icon, nothing (seems to) happen(s). Hello Peter, I did most of the development months ago and I do not remember a lot. By looking at the mozilla doc[1] you should be find some pointer on how to enable logging/debugging for extensions. The line where emacs is launched is at [2]. I do not know a lot of Mac, maybe you miss the emacsclient command or PATH? Maybe the run() at [2] does not work on Mac? A manual test would be to execute on a console something like: emacsclient 'org-protocol://capture://https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2FAdd-ons%2FSDK%2FTools%2Fconsole%23Logging_Levels/console%20-%20Mozilla%20%7C% 20MDN/console' If the latter does work the problem should be in the run() call. Hope this helps, Daniele [1] https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment [2] http://hub.darcs.net/oschwand/firefox-org-capture/browse/lib/main.js#156