From mboxrd@z Thu Jan 1 00:00:00 1970 From: dlc Subject: Re: org-capture template property completion Date: Mon, 31 Oct 2011 14:14:00 -0500 Message-ID: <294862C6-DD03-4FF8-9A4C-633695C03C66@coateconnection.com> References: <6B40CC1C-83DB-4317-B0F3-D9B194368F09@coateconnection.com> <87fwic80qf.fsf@gnu.org> <6FA44A6A-CCA4-45AC-BC8F-AE7510567CD5@coateconnection.com> <83ipn5nr38.fsf@yahoo.it> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKxJ6-0002RT-7Y for emacs-orgmode@gnu.org; Mon, 31 Oct 2011 15:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKxJ5-0003GH-2x for emacs-orgmode@gnu.org; Mon, 31 Oct 2011 15:14:04 -0400 Received: from coateconnection.com ([69.56.251.74]:33564 helo=mail.coateconnection.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKxJ4-0003G1-VV for emacs-orgmode@gnu.org; Mon, 31 Oct 2011 15:14:03 -0400 In-Reply-To: <83ipn5nr38.fsf@yahoo.it> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: Bastien , emacs-orgmode@gnu.org almost... using %^{Effort|0:10|0:20|0:30|1:00}p in the org-template expansion, this would match the same format as the %^{prompt} expansion. If only the stock property is provided in the template, e.g. %^{Effort}p ... then property completion would look in the capture target for #+PROPERTY Effort_ALL 0:10 0:20 0:30 1:00 to provide the value list for the choosing of 'effort' On Oct 31, 2011, at 10:00 AM, Giovanni Ridolfi wrote: > dlc writes: > >> While prompting the user for property "MyProtperty", Is there a way >> to >> get completion on the "MyProperty" value while in the org-capture >> bufffer? > > e.g. : > > :PROPERTIES: > :Effort: %^{prompt|0:10|0:20|0:30|1:00|2:00|3:00} > :END: > > so you can choose the value of 'effort'? > > > hth > Giovanni >