From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: automatically jumping to stored note location Date: Fri, 13 Jun 2008 10:38:03 +0100 Message-ID: <20080613093803.GB8066@atlantic.linksys.moosehall> References: <20080530122146.GA9520@atlantic.linksys.moosehall> <9592BB6CDB1CEB48826BE86ACD71FA996ABF8A@kwik.ic.uva.nl> <20080611105307.GA19396@atlantic.linksys.moosehall> <13139D8D-7D2D-46E2-9797-3A125926CC18@uva.nl> Reply-To: Adam Spiers 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 1K75jT-00078J-Be for emacs-orgmode@gnu.org; Fri, 13 Jun 2008 05:38:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K75jS-00076v-Aw for emacs-orgmode@gnu.org; Fri, 13 Jun 2008 05:38:06 -0400 Received: from [199.232.76.173] (port=49784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K75jR-00076S-NY for emacs-orgmode@gnu.org; Fri, 13 Jun 2008 05:38:05 -0400 Received: from mail.beimborn.com ([70.84.38.100]:39736) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K75jR-0002Nk-CG for emacs-orgmode@gnu.org; Fri, 13 Jun 2008 05:38:05 -0400 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id m5D9c46s012406 for ; Fri, 13 Jun 2008 04:38:04 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id m5D9c39k012401 for emacs-orgmode@gnu.org; Fri, 13 Jun 2008 10:38:03 +0100 Content-Disposition: inline In-Reply-To: <13139D8D-7D2D-46E2-9797-3A125926CC18@uva.nl> 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 On Fri, Jun 13, 2008 at 10:23:38AM +0200, Carsten Dominik wrote: > On Jun 11, 2008, at 12:53 PM, Adam Spiers wrote: > >On Wed, Jun 11, 2008 at 07:16:21AM +0200, Dominik, C. wrote: > >>Hi Adam, > >> > >>I have now implemented this feature, exactly as ordered :-), > >>with %&. > > > >Woohoo! Awesome, thanks - I have wanted that one for a long time :-) > >Seems to work great. I have three comments/questions related to this > >and similar org-remember details: > > > > 1) Ideally %& would preserve the position of the point within the > > template when it arrives in the final destination. This is > > particularly important if a template has all three of %? %! and > > %&, otherwise %? is effectively ignored when %! and %& are > > present. > > That does now work, I believe. It seems to ensure that the point is wherever %& was, rather than wherever %? was. Is that intentional? > > 2) It doesn't seem possible to set up a template so that it will > > always insert at the very top of a particular file. I really > > miss that, since I keep most TODOs at the top level, and I like > > a "newest first" view by default when not in the agenda. > > Well, the newest first is no problem, just use the first headline in > the file as remember target and configure the variable org-reverse- > note-order to make sure that the specified file it treated in this > way. > > Having said that, you can now use `top' or `bottom' as values for > the remember target heading, and the note will then be filed as a > level 1 entry to the top or bottom of the file, respectively. That's *exactly* what I was after, and I love the way you've implemented it; thanks! > > 3) I am a bit confused by the 'Selection interface for heading' 5th > > option of a remember template. It doesn't seem to have any > > effect - how is it supposed to interact with > > `org-remember-store-without-prompt'? > > Yes, this is confusing, I agree. When > `org-remember-store-without-prompt' is set (which is the default), > all the positioning interface stuff is completely by-passed. > Setting nil for file or headline really means: use the default, > taken from `org-default-notes-file' and > `org-remember-default-heading', respectively. Thanks for the clarification - and the changes to the Customize UI seem spot on too.