From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Danan Subject: No completion when querying for property value in capture template Date: Thu, 7 Jun 2018 15:05:55 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000043054c056e0cf232" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQucH-0007bj-9b for emacs-orgmode@gnu.org; Thu, 07 Jun 2018 09:06:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQucC-0002ea-Ay for emacs-orgmode@gnu.org; Thu, 07 Jun 2018 09:06:13 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:38783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQucC-0002e4-5U for emacs-orgmode@gnu.org; Thu, 07 Jun 2018 09:06:08 -0400 Received: by mail-io0-f171.google.com with SMTP id l19-v6so11707947ioj.5 for ; Thu, 07 Jun 2018 06:06:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --00000000000043054c056e0cf232 Content-Type: text/plain; charset="UTF-8" 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 --00000000000043054c056e0cf232 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

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

=

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

<= /div>
But if I define a capture template with that file as target and t= he element "%^{prop}p" in the template, then no completetion is o= ffered when I am queried for the property value. That makes this template e= lement 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
--00000000000043054c056e0cf232--