emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How does prompt work for remember templates?
@ 2008-09-05 14:13 Yann Tambouret
  2008-09-05 14:44 ` R: " Giovanni Ridolfi
  0 siblings, 1 reply; 2+ messages in thread
From: Yann Tambouret @ 2008-09-05 14:13 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* R: How does prompt work for remember templates?
  2008-09-05 14:13 How does prompt work for remember templates? Yann Tambouret
@ 2008-09-05 14:44 ` Giovanni Ridolfi
  0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Ridolfi @ 2008-09-05 14:44 UTC (permalink / raw)
  To: emacs-orgmode

--- Ven 5/9/08, Yann Tambouret ha scritto:
> %^{prompt} option in a remember template,
[...]
> %^{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

You shall type the first letter: "O", then hitting TAB:
the word "OUT" will appear

cheers,

Giovanni

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-05 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-05 14:13 How does prompt work for remember templates? Yann Tambouret
2008-09-05 14:44 ` R: " Giovanni Ridolfi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).