emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Phil Hudson <phil.hudson@iname.com>
To: emacs orgmode-mailinglist <emacs-orgmode@gnu.org>
Subject: RFE: Capture: property prompt: default completion
Date: Sat, 12 Sep 2020 19:20:36 +0100	[thread overview]
Message-ID: <CAJ1MqVGRwuzW50SFKX0=+V1_Xw2WHht_0Dc=wtcfxHr=w3TJYg@mail.gmail.com> (raw)

I'd like us to add the ability to provide a default completion value
for a property prompt in a capture template, as already exists for a
non-property prompt.

So where at the moment we can have:

    %^{prompt|default|completion2|completion3|...}

I want, by analogy:

    %^{prop|default}p

with the remaining completions provided by the #+prop_ALL in-buffer
setting, and with the implied constraint that "default" is a member of
that set.


             reply	other threads:[~2020-09-12 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-12 18:20 Phil Hudson [this message]
2020-09-13 23:32 ` RFE: Capture: property prompt: default completion Phil Hudson
2020-09-14  8:20   ` [PATCH] " Phil Hudson
2020-09-23  7:21     ` Bastien
2020-09-23  9:55       ` Phil Hudson
2020-09-23 11:15         ` Bastien
2020-09-23 11:40           ` Phil Hudson
2020-09-23 12:12             ` Bastien

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='CAJ1MqVGRwuzW50SFKX0=+V1_Xw2WHht_0Dc=wtcfxHr=w3TJYg@mail.gmail.com' \
    --to=phil.hudson@iname.com \
    --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).