From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how to make relative file links? Date: Tue, 19 Nov 2013 22:48:11 -0500 Message-ID: <874n773fc3.fsf@gmail.com> References: <87d2meqz5q.fsf@pcbe13433.cern.ch> <87bo1yz9tv.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViymG-0008Bk-JB for emacs-orgmode@gnu.org; Tue, 19 Nov 2013 22:48:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViymA-000601-E7 for emacs-orgmode@gnu.org; Tue, 19 Nov 2013 22:48:32 -0500 Received: from plane.gmane.org ([80.91.229.3]:46426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViymA-0005zv-7F for emacs-orgmode@gnu.org; Tue, 19 Nov 2013 22:48:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Viym9-0000d0-4G for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 04:48:25 +0100 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 04:48:25 +0100 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Nov 2013 04:48:25 +0100 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: emacs-orgmode@gnu.org 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. > On 11/6/13, David Belohrad wrote: >>> | org-link-file-path-type is a variable defined in `org.el'. >>> | Its value is adaptive > > -- Nick