* question about writing org-remember templates
@ 2010-02-25 12:56 Emin.shopper Martinian.shopper
2010-02-25 14:49 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Emin.shopper Martinian.shopper @ 2010-02-25 12:56 UTC (permalink / raw)
To: emacs-orgmode
Dear Experts,
Thanks for org-mode. It's great!
I have a question about org-remember templates: Is there a way to have
the heading (i.e., the 5th argument in an org-remember template)
chosen in a more interactive way? For example, I'd like to do
something like
("TODO" ?t "* TODO %? %^{topic} \n %i\n " "~/org/todo.org"
"Tasks/^{topic}")
where the topic the user enters will get used in deciding which
heading to put the item under.
1. Is this possible?
2. Is there a simple hack I can do to the latest version of org-mode
to do it myself? (Pointers/suggestions to appropriate .el files
appreciated)
3. Can I avoid asking the user for topic multiple times and just
have the first value entered by the user used in all places?
Thanks,
-Emin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question about writing org-remember templates
2010-02-25 12:56 question about writing org-remember templates Emin.shopper Martinian.shopper
@ 2010-02-25 14:49 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-02-25 14:49 UTC (permalink / raw)
To: Emin.shopper Martinian.shopper; +Cc: emacs-orgmode
On Feb 25, 2010, at 1:56 PM, Emin.shopper Martinian.shopper wrote:
> Dear Experts,
>
> Thanks for org-mode. It's great!
>
> I have a question about org-remember templates: Is there a way to have
> the heading (i.e., the 5th argument in an org-remember template)
> chosen in a more interactive way? For example, I'd like to do
> something like
>
> ("TODO" ?t "* TODO %? %^{topic} \n %i\n " "~/org/todo.org"
> "Tasks/^{topic}")
>
> where the topic the user enters will get used in deciding which
> heading to put the item under.
>
> 1. Is this possible?
Yes, use the C-1 prefix when storing the note. And read
http://orgmode.org/manual/Storing-notes.html#Storing-notes
and also check the docstring of the variable
org-remember-interactive-interface
> 2. Is there a simple hack I can do to the latest version of org-mode
> to do it myself? (Pointers/suggestions to appropriate .el files
> appreciated)
> 3. Can I avoid asking the user for topic multiple times and just
> have the first value entered by the user used in all places?
You can file to the same location as the last time using the C-0
prefix when storing the note. All this is also shown in the
commentary in the remember buffer.
HTH
- Carsten
>
> Thanks,
> -Emin
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-25 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 12:56 question about writing org-remember templates Emin.shopper Martinian.shopper
2010-02-25 14:49 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.