From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Emin.shopper Martinian.shopper" Subject: question about writing org-remember templates Date: Thu, 25 Feb 2010 07:56:16 -0500 Message-ID: <32e43bb71002250456m2c8f23cwf6e9918fdf7c17e3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkdGO-0000wv-JR for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 07:56:20 -0500 Received: from [140.186.70.92] (port=50246 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkdGN-0000wg-N3 for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 07:56:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkdGN-0000uE-8m for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 07:56:19 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:7950) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkdGN-0000u0-1d for emacs-orgmode@gnu.org; Thu, 25 Feb 2010 07:56:19 -0500 Received: by ey-out-1920.google.com with SMTP id 3so74999eyh.2 for ; Thu, 25 Feb 2010 04:56:16 -0800 (PST) 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 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