From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: how to make relative file links? Date: Tue, 19 Nov 2013 21:27:05 -0700 Message-ID: References: <87d2meqz5q.fsf@pcbe13433.cern.ch> <87bo1yz9tv.fsf@alphaville.bos.redhat.com> <874n773fc3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VizNb-0007Kr-Uw for emacs-orgmode@gnu.org; Tue, 19 Nov 2013 23:27:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VizNa-0007Qf-Vd for emacs-orgmode@gnu.org; Tue, 19 Nov 2013 23:27:07 -0500 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:33438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VizNa-0007Qb-PT for emacs-orgmode@gnu.org; Tue, 19 Nov 2013 23:27:06 -0500 Received: by mail-wi0-f175.google.com with SMTP id hi5so1650617wib.8 for ; Tue, 19 Nov 2013 20:27:05 -0800 (PST) In-Reply-To: <874n773fc3.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Actually, I wanted a link to a headline in the same file. On 11/19/13, Nick Dokos wrote: > Samuel Wales writes: > >> I find that capture creates an absolute file link regardless of the >> variable. >> > > That's correct: the variable is only used by org-insert-link. Capture > uses org-store-link which stores an absolute link. > > Since you can initiate a capture from an arbitrary location in the file > system and store the capture in some other arbitrary location, it would > be a bit more difficult to use anything but absolute links (and things > like symbolic links might make it quite a bit more difficult). It > probably could be done, but I'm not sure it's worth it. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.