From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: automatically jumping to stored note location Date: Fri, 30 May 2008 13:21:46 +0100 Message-ID: <20080530122146.GA9520@atlantic.linksys.moosehall> References: <20071230112259.GB20947@atlantic.linksys.moosehall> <20071230112259.GB20947@atlantic.linksys.moosehall> <20080103124801.GF18716@atlantic.linksys.moosehall> 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 1K23cH-0004j1-TW for emacs-orgmode@gnu.org; Fri, 30 May 2008 08:21:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K23cG-0004iF-6t for emacs-orgmode@gnu.org; Fri, 30 May 2008 08:21:53 -0400 Received: from [199.232.76.173] (port=35861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K23cF-0004i9-Ur for emacs-orgmode@gnu.org; Fri, 30 May 2008 08:21:52 -0400 Received: from mail.beimborn.com ([70.84.38.100]:56866) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K23cF-0008F3-J4 for emacs-orgmode@gnu.org; Fri, 30 May 2008 08:21:51 -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 m4UCLnJe011697 for ; Fri, 30 May 2008 07:21:49 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id m4UCLnPr011690 for emacs-orgmode@gnu.org; Fri, 30 May 2008 13:21:49 +0100 Content-Disposition: inline In-Reply-To: <20080103124801.GF18716@atlantic.linksys.moosehall> 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 Thu, Jan 03, 2008 at 12:48:01PM +0000, Adam Spiers wrote: > On Thu, Jan 03, 2008 at 10:01:37AM +0100, Carsten Dominik wrote: > > On Dec 30, 2007, at 12:22 PM, Adam Spiers wrote: > > >On Thu, Dec 20, 2007 at 07:28:42AM +0100, Carsten Dominik wrote: > > >> - The new command `org-remember-goto-last-stored' will jump > > >> to the location of the remember note stored most recently. > > >> If you have `org-remember' on a key like `C-c r', then you > > >> can go to the location with a double prefix arg: `C-u C-u > > >> C-c r'. This was a proposal by Rainer Stengele. > > > > > >This is also great - it would be *even* better if we also had the > > >per-template option of automatically jumping there. > > > > We do, this is from the 5.14 release notes: > > > > You can now use a C-u prefix on `org-remember' to jump to the > > location where a specific templates stores its notes. For > > example, if you have `org-remember' bound to `C-c r', then `C-u > > C-c r n' will get you to the file and headline given in the > > template associated with the letter "n". > > Sorry, I should have been clearer. I'm aware of that functionality, > but for some templates, I really want it to *automatically* jump to > where the note has been stored *immediately* after storing has > happened, rather than requiring extra keystrokes. This is because for > some templates, I will *always* want to review the new note in its > final context. That's why I suggested implementing it by reusing the > really nice idea you had of defining %! within a template to mean > "don't prompt me" - similarly you could have %& or some other sequence > to mean "jump straight to the destination". And in some cases, a > combination of both ("%!%&") will be very effective. > > Additionally it would provide a workaround to the problems described > here: > > http://thread.gmane.org/gmane.emacs.orgmode/4692 > > since if the new item is immediately moved to its final context, > keywords/tags/priorities etc. can be set there rather than from within > the *Remember* buffer. Any more thoughts on this one? I would have thought it would be very easy to implement, and it would be a huge help in streamlining my workflow (and hopefully other people's too). Additionally, is it possible to set up a template so that it will always insert at the very top of a particular file? Thanks!