From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Tambouret Subject: How does prompt work for remember templates? Date: Fri, 05 Sep 2008 10:13:45 -0400 Message-ID: <48C13E99.6000606@chem.bu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kbc4t-0005gL-2f for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:14:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kbc4r-0005g9-Nj for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:14:22 -0400 Received: from [199.232.76.173] (port=54186 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kbc4r-0005g6-HH for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:14:21 -0400 Received: from relay12.bu.edu ([128.197.27.63]:57288) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kbc4s-0006WV-43 for emacs-orgmode@gnu.org; Fri, 05 Sep 2008 10:14:22 -0400 Received: from [128.197.73.25] (fluid.bu.edu [128.197.73.25]) by relay12.bu.edu (8.13.1/8.13.1) with ESMTP id m85EDj56011482 for ; Fri, 5 Sep 2008 10:13:45 -0400 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 Hi, I'd like to use the %^{prompt} option in a remember template, and I'd like to have optional defaults. I thought this was done like so: %^{Where|WORK|HOME|OUT} but when I use the template I get: Where [WORK] : If I press the up arrow once I get "HOME" or the down arrow once I get "WORK". If I press either arrow a second time, I get: End (Beginning) of history; no next (previous) item Where () is for up twice, and no () is for down twice. In other words, I never see the "OUT" option. What am I misunderstanding about the %^{prompt|default|completion2|completion3...} syntax? Thanks, Yann