From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: "Capture"-like browser plugin? Date: Wed, 29 Jul 2015 11:51:31 -0400 Message-ID: <6sw6c74mknt118.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKTdl-0001Rn-AH for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 11:51:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKTde-0000x6-CJ for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 11:51:33 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKTde-0000x1-8r for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 11:51:26 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A889720DDD for ; Wed, 29 Jul 2015 11:51:25 -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: > >> Alan Schmitt writes: >> >>> On 2015-07-29 06:18, Peter Davis writes: >>> >>>> Thank you, Daniele. I've tried the above command line, and I get: >>>> >>>> emacsclient: can't find socket; have you started the server? >>>> To start the server in Emacs, type "M-x server-start". >>>> emacsclient: No socket or alternate editor. Please use: >>>> >>>> --socket-name >>>> --server-file (or environment variable EMACS_SERVER_FILE) >>>> --alternate-editor (or environment variable ALTERNATE_EDITOR) >>>> >>>> I have (server-start) at the top of my .emacs file, and I've restarted >>>> manually a few times, so I suspect emacsclient is failing >>>> silently somehow and that's the problem. I'll try to troubleshoot that. >>> >>> You=E2=80=99re probably running the emacsclient that comes by default w= ith OS X, >>> which is probably a different version from your emacs. Here I had to >>> change the path in the extension setting to use >>> =E2=80=9C/usr/local/bin/emacsclient=E2=80=9D instead of the system >>> =E2=80=9C/usr/bin/emacsclient=E2=80=9D. >> >> Ah! There's no /usr/local/bin/emacsclient, but on my Mac, I have >> >> /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_5/emacsclient >> >> When I set the extension to use that, I get a new frame with a buffer na= med Org-capture%20for%20Firefox, but there's nothing in it >> and it doesn't seem to correspond to a file. >> >> Progress. >> > > You need to (require 'org-protocol) in your .emacs (or wherever). > And if you don't want the new frame, you can uncheck that it in the exten= sion's preferences. Excellent! That works. It prepends "CAPTURE-2-" to the filename I specified= in the template, but otherwise seems to work beautifully. Now to look for the Chrome version. Thanks, all! -pd