emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Danan <eric.danan@u-cergy.fr>
To: emacs-orgmode@gnu.org
Subject: No completion when querying for property value in capture template
Date: Thu, 7 Jun 2018 15:05:55 +0200	[thread overview]
Message-ID: <CAMBH+RYq=dE7cA6PwLNA9uR3x8_YeDfVp10QZt7mD8ftx9NFCA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

Hello,

There seems to be an old thread about this but I didn't find an answer
there:

http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01079.html

If, from an org file containing two entries with respective values "foobar"
and "foobaz" for property "prop", I call "org-set-property" to set property
"prop", then the two values "foobar" and "foobaz" are offered as
completions.

But if I define a capture template with that file as target and the element
"%^{prop}p" in the template, then no completetion is offered when I am
queried for the property value. That makes this template element much less
usable in my opinion. Is it a bug?

I tested with "emacs -q"
GNU Emacs 26.1 (build 1, x86_64-unknown-cygwin) of 2018-05-28
Org mode version 9.1.13 (9.1.13-elpaplus @
/c/test/.emacs.d/elpa/org-plus-contrib-20180604/)

I'm happy to help with further testing if needed.

Thanks in advance,

Eric

[-- Attachment #2: Type: text/html, Size: 1359 bytes --]

             reply	other threads:[~2018-06-07 13:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07 13:05 Eric Danan [this message]
2018-06-07 15:21 ` No completion when querying for property value in capture template Jeremie Juste
2018-06-07 21:18   ` Eric Danan
2018-06-08 20:29     ` [PATCH] " Eric Danan
2018-06-16 15:06       ` Nicolas Goaziou
2018-06-16 19:59         ` Eric Danan
2018-06-16 21:24           ` Nicolas Goaziou
2018-06-17  9:33             ` Eric Danan

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='CAMBH+RYq=dE7cA6PwLNA9uR3x8_YeDfVp10QZt7mD8ftx9NFCA@mail.gmail.com' \
    --to=eric.danan@u-cergy.fr \
    --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).