From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: question about writing org-remember templates Date: Thu, 25 Feb 2010 15:49:06 +0100 Message-ID: <09827770-7393-4CE4-A5CA-9DCFCF3020E8@gmail.com> References: <32e43bb71002250456m2c8f23cwf6e9918fdf7c17e3@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nkf1d-0005Wx-PT for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 09:49:13 -0500 Received: from [140.186.70.92] (port=36441 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nkf1c-0005Uq-Pd for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 09:49:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nkf1b-0006D4-1X for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 09:49:12 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:50621) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nkf1a-0006Ci-S4 for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 09:49:10 -0500 Received: by fxm22 with SMTP id 22so6379198fxm.26 for ; Thu, 25 Feb 2010 06:49:10 -0800 (PST) In-Reply-To: <32e43bb71002250456m2c8f23cwf6e9918fdf7c17e3@mail.gmail.com> 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: "Emin.shopper Martinian.shopper" Cc: emacs-orgmode@gnu.org 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