From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: "Capture"-like browser plugin? Date: Wed, 29 Jul 2015 15:35:25 -0400 Message-ID: <6sw6c7h9omsqo2.fsf@dhcp-10-92-132-216.hmco.com> References: <6sw6c7y4i7nejo.fsf@dhcp-10-92-133-17.hmco.com> <86zj2nzzzz3p8k@me.localhost.invalid> <6sw6c7wpxkt8gd.fsf@dhcp-10-92-132-216.hmco.com> <86vbd3zzzzxgif@me.localhost.invalid> <6sw6c7io93t84h.fsf@dhcp-10-92-132-216.hmco.com> <6sw6c7bnevt5eh.fsf@dhcp-10-92-132-216.hmco.com> <87d1zb9fh8.fsf@alphaville.usersys.redhat.com> <6sw6c74mknt118.fsf@dhcp-10-92-132-216.hmco.com> <6sw6c7oaiusxo5.fsf@dhcp-10-92-132-216.hmco.com> <876152akln.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKX8P-0002Iu-Ks for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:35:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKX8J-0006pz-Ph for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:35:25 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:43025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKX8J-0006pZ-Iw for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:35:19 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0CE0D20648 for ; Wed, 29 Jul 2015 15:35:19 -0400 (EDT) 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Peter Davis writes: > >> Peter Davis writes: >> >>> >>> Excellent! That works. It prepends "CAPTURE-2-" to the filename I specified in the template, but otherwise seems to work >>> beautifully. >> >> This is not working as expected. Each time I click the Org Capture button in Firefox, it opens a new buffer (CAPTURE-2-links.org, >> CAPTURE-3-links.org, etc.). These buffers have no prior contents, only the current link I'm trying to capture. If I save the buffer, >> it saves to links.org, the filename I specified, apparently appending to the file. Is that as expected? >> > > What does your org-capture template look like? Did you try it explicitly > (i.e. not through the extension, just an ordinary capture)? > > FWIW, it works fine for me. The template is this: ("l" "org-protocol" entry (file "~/org/links.org" "Links") "\n* Link: %c\n%U\n%i\n" :immediate-finish) If I do a capture explicitly using this template, it also gives me the CAPTURE-N-... buffer. >>> Now to look for the Chrome version. >> >> I found a Chrome Org Capture extension, but no way to configure it for which emacsclient to use, which capture template, etc. Am I >> missing something? >> > > Whatever you are missing, I'm missing too. In my case, it wants to call > xdg-open which basically calls the desktop environment's underlying > "open" (e.g. gnome-open, exo-open, etc.), so I think I need to configure > that underlying open properly. But I have no idea what happens on OSX. Thanks. The OS X instructions on the org-protocol page seem to be tied to a Mac app, EmacsClient.app, which is tied to Aquamacs, a Mac-ified version of Gnu emacs which is not the one I'm interested in using. Also, I've tried installing EmacsClient.app per the instructions (i.e., download and unpack the ZIP, but the ZIP does not unpack for me. If I unpack EmacsClient.zip, it gives me EmacsClient.zip.cpgz. Thanks, -pd