From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois?= Allisson Subject: Capture template expansion: feature or bug? Date: Mon, 12 Mar 2018 17:28:29 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evQUZ-0007YB-H1 for emacs-orgmode@gnu.org; Mon, 12 Mar 2018 12:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evQUV-00056G-EY for emacs-orgmode@gnu.org; Mon, 12 Mar 2018 12:40:07 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:56639) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evQUV-00052v-8D for emacs-orgmode@gnu.org; Mon, 12 Mar 2018 12:40:03 -0400 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: Org mode 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