emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: "Capture"-like browser plugin?
Date: Wed, 29 Jul 2015 15:35:25 -0400	[thread overview]
Message-ID: <6sw6c7h9omsqo2.fsf@dhcp-10-92-132-216.hmco.com> (raw)
In-Reply-To: 876152akln.fsf@alphaville.usersys.redhat.com

Nick Dokos <ndokos@gmail.com> writes:

> Peter Davis <pfd@pfdstudio.com> writes:
>
>> Peter Davis <pfd@pfdstudio.com> 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 <http://orgmode.org/worg/org-contrib/org-protocol.html> 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

  reply	other threads:[~2015-07-29 19:35 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 14:18 "Capture"-like browser plugin? Peter Davis
2015-07-23 14:37 ` Jonathan Leech-Pepin
2015-07-23 14:39 ` Loris Bennett
2015-07-23 14:44 ` Cook, Malcolm
2015-07-23 14:47 ` Peter Davis
2015-07-23 14:47 ` Daniele Pizzolli
2015-07-24  7:22   ` Alan Schmitt
2015-07-28 18:58   ` Peter Davis
2015-07-28 21:20     ` Alan Schmitt
2015-07-28 22:10       ` Bob Newell
2015-07-28 22:33         ` Ken Mankoff
2015-07-29 12:27       ` Peter Davis
2015-07-29 13:03     ` Daniele Pizzolli
2015-07-29 13:18       ` Peter Davis
2015-07-29 14:05         ` Alan Schmitt
2015-07-29 14:17           ` Peter Davis
2015-07-29 14:59             ` Nick Dokos
2015-07-29 15:51               ` Peter Davis
2015-07-29 17:04                 ` Peter Davis
2015-07-29 18:23                   ` Nick Dokos
2015-07-29 19:35                     ` Peter Davis [this message]
2015-09-17 20:58   ` Samuel Wales
2015-09-18 14:03     ` Daniele Pizzolli
2015-09-18 21:25       ` Samuel Wales
2015-09-18 21:50         ` Samuel Wales
2015-10-01  0:09           ` Peter Salazar
2015-11-11 21:57             ` Samuel Wales
2015-07-29 19:48 ` Jay Dresser
2015-07-30 11:15   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6sw6c7h9omsqo2.fsf@dhcp-10-92-132-216.hmco.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).