From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: "Capture"-like browser plugin? Date: Wed, 29 Jul 2015 10:59:47 -0400 Message-ID: <87d1zb9fh8.fsf@alphaville.usersys.redhat.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKSqE-0004NI-Ej for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 11:00:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKSq9-0006wo-Ft for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 11:00:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:33073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKSq9-0006wj-AC for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 11:00:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZKSq7-0001do-15 for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 17:00:15 +0200 Received: from pool-108-20-41-232.bstnma.fios.verizon.net ([108.20.41.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jul 2015 17:00:15 +0200 Received: from ndokos by pool-108-20-41-232.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jul 2015 17:00:15 +0200 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 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’re probably running the emacsclient that comes by default with OS X, >> which is probably a different version from your emacs. Here I had to >> change the path in the extension setting to use >> “/usr/local/bin/emacsclient” instead of the system >> “/usr/bin/emacsclient”. > > 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 named 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 extension's preferences. Nick