From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: FR: extend remember %^{prompt} to allow default values Date: Tue, 11 Dec 2007 23:34:58 +0000 Message-ID: <20071211233458.GD12375@atlantic.linksys.moosehall> References: <20071211130139.GC12375@atlantic.linksys.moosehall> <87r6htnfhc.fsf@bzg.ath.cx> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2Ecz-0000No-Ci for emacs-orgmode@gnu.org; Tue, 11 Dec 2007 18:35:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2Ecx-0000L0-Rq for emacs-orgmode@gnu.org; Tue, 11 Dec 2007 18:35:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2Ecx-0000Kk-NJ for emacs-orgmode@gnu.org; Tue, 11 Dec 2007 18:35:03 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J2Ecx-0002Uu-Mg for emacs-orgmode@gnu.org; Tue, 11 Dec 2007 18:35:03 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lBBNZ13p004503 for ; Tue, 11 Dec 2007 17:35:01 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lBBNZ13T004498 for emacs-orgmode@gnu.org; Tue, 11 Dec 2007 23:35:01 GMT Content-Disposition: inline In-Reply-To: <87r6htnfhc.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, Dec 11, 2007 at 09:28:15PM +0100, Bastien wrote: > Adam Spiers writes: > > > It would be very handy if prompts in org remember templates could > > optionally have default values, e.g. %^{prompt text|default value}. > > Good idea. What about also specifying a history: > > %^{prompt text|default value|history value1|history value2} Could do, although it would be nicer if it dynamically learnt history :-)