emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Allisson" <francois@allisson.co>
To: Org mode <emacs-orgmode@gnu.org>
Subject: Capture template expansion: feature or bug?
Date: Mon, 12 Mar 2018 17:28:29 +0100	[thread overview]
Message-ID: <m1y3ixgswi.fsf@allisson.co> (raw)

Hello everyone,

When one uses the following template expansion,

> %^{prop}p   Prompt the user for a value for property ‘prop’.

it supposes one to supply a non-empty string of characters. If one
simply hits RETURN on a given prompt for property, the capture process
ends with an

> org-capture: Capture abort: (quit)

message. This means that all prompts for properties are mandatory. It
this a feature or a bug?

Of course, if I ask the question, it is because I clearly see use cases
for optional properties prompts (which would leave empty the property in
question): you ask for several information, which you don't always have;
and you don't want the capture process to quit because of that. But may
be there is a better way to achieve this?

Many thanks in advance for your time!

Best,
François
--
Org 9.0.10 / Emacs 25.2.1
http://francois.allisson.co

             reply	other threads:[~2018-03-12 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12 16:28 François Allisson [this message]
2018-03-17 14:17 ` Capture template expansion: feature or bug? Nicolas Goaziou

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=m1y3ixgswi.fsf@allisson.co \
    --to=francois@allisson.co \
    --cc=emacs-orgmode@gnu.org \
    /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).