From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Bug: Relative paths in file: links are expanded [6.36trans] Date: Tue, 13 Jul 2010 19:29:21 -0400 Message-ID: <87mxtv9d0u.fsf@fastmail.fm> References: <4C3C3167.9070301@no8wireless.co.nz> <87pqyrd10d.fsf@fastmail.fm> <87r5j712y7.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47017 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYooC-0005Mh-Cw for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 19:22:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYooB-000182-0f for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 19:22:40 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:55474) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYooA-00017y-VA for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 19:22:38 -0400 In-Reply-To: <87r5j712y7.wl%dmaus@ictsoc.de> (David Maus's message of "Tue, 13 Jul 2010 23:34:08 +0200") 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: David Maus Cc: emacs-orgmode@gnu.org, Aidan Gauland David Maus writes: > Matt Lundin wrote: >>Aidan Gauland writes: > >>> If I create a link with C-c C-l and give it a relative "file:" link, a >>> link is created with an absolute path. For example, C-c C-l >>> file:../foo.org foo puts >>> [[file:~/path/to/working-directory/foo.org][foo]] in the buffer. I was >>> expecting [[file:../foo.org][foo]]. > >>That is the default behavior. You can change it by setting >>org-link-file-path-type to relative. > > And in addition there was a fix pushed to repo.or.cz Carsten is fast!! I turns out I tested the behavior with the applied patch installed (having just updated org-mode). Sorry for the noise. Best, Matt