From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Insert link to recently captured Note? Date: Wed, 13 Oct 2010 01:29:25 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=45717 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5uq8-0004Xx-Nd for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 02:29:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5uq7-0000bi-SJ for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 02:29:28 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:48152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5uq7-0000bF-NZ for emacs-orgmode@gnu.org; Wed, 13 Oct 2010 02:29:27 -0400 Received: by fxm2 with SMTP id 2so1469045fxm.0 for ; Tue, 12 Oct 2010 23:29:25 -0700 (PDT) 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 I'd like to ask the mailing list how they handle the following situation: I'm clocked into FOO below, then spend about 20 minutes on something that's somewhat related to FOO, but is not really a direct sub-task of FOO, so I probably want to refile it later. So, I open org-capture and create some notes about * BAR, and file it away. Now, I'm back in * FOO and want to quickly put a note about * BAR in my FOO task. So, ideally my structure would look like this: ---------------------- some file ---------------------------- * FOO Got caught up with [[link to * BAR]] -------------------------- notes.org ------------------------ * BAR blew 30 minutes on this problem. I might file this headline somewhere, but I want to be able to link from * FOO to this new note I've found variables like org-capture-bookmark-last-stored-position, but I think that it contains just the filename (like notes.org). What I probably need is a way to create an ID for the newly captured heading, and then store a link to it on the clipboard or something. Does anyone else have a need for this, or do this in their everyday work? I know there's ways to create a link from * BAR (the new note) to * FOO (the origin/context) but I want an easy way to insert a link to * FOO to * BAR. Also, the link needs to work no matter where I file * BAR later on, so I presume that a unique ID needs to be created for * BAR when I capture it. Thanks for any advice, --Nate