[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] %( in capture template
From: |
Nicolas Goaziou |
Subject: |
Re: [O] %( in capture template |
Date: |
Wed, 11 Jan 2017 09:56:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Samuel Wales <address@hidden> writes:
> here are the entries:
>
> ("p" "Protocol p" entry
> (file+headline "/home/org/executive--a.org" "xyzzy-remember")
> "%(alpha-org-protocol-string \"%:link\" \"%:description\"
> \"%i\")" :prepend t :immediate-finish t :jump-to-captured t)
> ("L" "Protocol L" entry
> (file+headline "/home/org/executive--a.org" "xyzzy-remember")
> "%(alpha-org-protocol-string \"%:link\" \"%:description\"
> \"%i\")" :prepend t :immediate-finish t :jump-to-captured t)
I fixed an issue with :jump-to-captured in conjunction with a nil
`org-capture-bookmark'.
Now, I can use the following template without issue
("B" "BUG!" entry
(file+headline "/tmp/bug-capture.org" "test")
"%(concat \"* headline\" \"%:link\" \"%:description\" \"%i\")"
:prepend t :immediate-finish t :jump-to-captured t)
Note that `alpha-org-protocol-string' is expected to create a valid Org
tree (or headline).
Could you confirm it is now working as expected? Thank you.
Regards,
--
Nicolas Goaziou