From: Bastien <bzg@gnu.org>
To: Leo Gaspard <orgmode@leo.gaspard.io>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-capture fails to insert link even on :immediate-finish templates
Date: Tue, 11 Feb 2020 14:46:50 +0100 [thread overview]
Message-ID: <8736bh1bjp.fsf@gnu.org> (raw)
In-Reply-To: <87a79desd2.fsf@llwynog.ekleog.org> (Leo Gaspard's message of "Sun, 03 Nov 2019 01:06:01 +0100")
Hi Leo,
Leo Gaspard <orgmode@leo.gaspard.io> writes:
> Is it possible to make org-capture fail loudly when capturing a
> =:immediate-finish t= template for which all the substitutions didn't
> succeed, instead of just having empty strings at the substitution
> locations?
Good idea - I've implemented this just for annotations (%a). When
:immediate-finish is non-nil and the template contains a "%a", chances
are that the content of the finished template is useless when the %a
cannot be expanded.
Thanks,
--
Bastien
prev parent reply other threads:[~2020-02-11 13:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-03 0:06 org-capture fails to insert link even on :immediate-finish templates Leo Gaspard
2020-02-11 13:46 ` Bastien [this message]
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=8736bh1bjp.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=orgmode@leo.gaspard.io \
/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).