[emacs-berlin] org-protocol-capture - using extra key-value pairs in a template?
chrisberkhout at gmail.com
Sun Oct 29 22:35:30 UTC 2017
Today I set up org-capture. The Org Capture Chrome plugin will open
"new-style" org-protocol URLs like:
And my "L" org-capture template will be used to to insert the link into my
Does anyone happen to know if it's possible make arbitrary key-value pairs
from an "org-protocol://capture?..." URL available to org-capture templates?
The org-protocol-capture handler (
looks like it's remapping a whitelist of properties extracted from the URL.
It seems like I'd need to write a whole new sub-protocol handler that does
everything done in org-protocol-capture, but use org-store-link-props to
store all properties, rather than just those hard-coded ones.
There's a footnote in the template expansion documentation (footnote 3,
http://orgmode.org/manual/Template-expansion.html#fn-3) that suggests extra
fields can be added by defining a hyperlink type, but I'm confused about
whether such a definition would be for a whole org-protocol link, or for an
embedded link (e.g. in place of "http%3A%2F%2Fexample.com" in the above
example), or something else.
Any thoughts would be appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the emacs-berlin