all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Emin.shopper Martinian.shopper" <emin.shopper@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: question about writing org-remember templates
Date: Thu, 25 Feb 2010 15:49:06 +0100	[thread overview]
Message-ID: <09827770-7393-4CE4-A5CA-9DCFCF3020E8@gmail.com> (raw)
In-Reply-To: <32e43bb71002250456m2c8f23cwf6e9918fdf7c17e3@mail.gmail.com>


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

      reply	other threads:[~2010-02-25 14:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 12:56 question about writing org-remember templates Emin.shopper Martinian.shopper
2010-02-25 14:49 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09827770-7393-4CE4-A5CA-9DCFCF3020E8@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=emin.shopper@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.