From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Samuel Wales <samologist@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: %( in capture template
Date: Wed, 11 Jan 2017 09:56:51 +0100 [thread overview]
Message-ID: <87inpmug8c.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJcAo8sDpWvYjC8Q_DaP2ZhtpK2qhC+6utweSWXsoXUapG-y0A@mail.gmail.com> (Samuel Wales's message of "Tue, 10 Jan 2017 17:20:51 -0700")
Hello,
Samuel Wales <samologist@gmail.com> 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
next prev parent reply other threads:[~2017-01-11 10:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 19:16 %( in capture template Samuel Wales
2017-01-10 23:38 ` Nick Dokos
2017-01-11 0:20 ` Samuel Wales
2017-01-11 8:56 ` Nicolas Goaziou [this message]
2017-01-12 2:19 ` Samuel Wales
[not found] ` <CAJcAo8u3=OqneKTpKWxBYwJW1Z-N9tQOe1-RZDD2-3OLgZkbxw@mail.gmail.com>
2017-02-09 4:41 ` Samuel Wales
2017-02-19 9:07 ` Nicolas Goaziou
2017-02-19 23:34 ` Samuel Wales
2017-02-19 23:34 ` Samuel Wales
2017-03-07 3:45 ` Samuel Wales
2017-01-11 0:00 ` Nicolas Goaziou
2017-03-13 1:45 ` Samuel Wales
2017-03-14 8:13 ` Nicolas Goaziou
2017-03-17 3:22 ` Samuel Wales
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87inpmug8c.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
--cc=samologist@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.