From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: insert item under previous headline (feature request?) Date: Tue, 04 Sep 2007 20:19:32 +0200 Message-ID: <871wdee1jf.fsf@bzg.ath.cx> References: <87642rhuxp.fsf@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISczz-0002Ct-IP for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 14:19:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISczy-0002Bh-Sd for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 14:19:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISczy-0002BW-LY for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 14:19:38 -0400 Received: from ag-out-0708.google.com ([72.14.246.246]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISczy-0005Iw-Jc for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 14:19:38 -0400 Received: by ag-out-0708.google.com with SMTP id 35so2198541aga for ; Tue, 04 Sep 2007 11:19:38 -0700 (PDT) In-Reply-To: <87642rhuxp.fsf@mail.ru> (Maxim Loginov's message of "Tue, 04 Sep 2007 12:16:18 +0700") 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 Maxim Loginov writes: > usually I look for the paper in internet and use remember to insert > such TODOs, and temporarily modify remember template in order not to > seek "* TODO read papers" headline every time. It would be good if > org-mode can remember the last used headline and insert newly created > TODO under it for example using prefix argument 0 (C-u 0 M-x remember) > > I'm wondering if such feature exist or can be implemented? I don't know about inserting "the last used headline" but it would certainly be useful to be able to call the last used *template*. Maybe just an option saying org-remember-last-template-is-default so that you'll have to choose a template the first time you call `remember', and the next calls to `remember' will use this template until you call `remember' again with a prefix. (If we want to use another template and forgot to call `remember' with a prefix then no problem, we can always switch from within the `remember' buffer.) Further more: the first template in `org-remember-templates' could be silently used as the default template unless we call `remember' with a prefix argument (possible the key for the template). Hence the meaning of the prefix to M-x remember would be something like "change the default/last template". I guess such a set up might be okay for those who heavily use `remember' to store TODOs. -- Bastien