From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Bug: Relative paths in file: links are expanded [6.36trans] Date: Tue, 13 Jul 2010 08:22:58 -0400 Message-ID: <87pqyrd10d.fsf@fastmail.fm> References: <4C3C3167.9070301@no8wireless.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=38194 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYePQ-0002Rc-Fr for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 08:16:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYePO-0004Yr-VT for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 08:16:24 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:36115) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYePO-0004Yl-TY for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 08:16:22 -0400 In-Reply-To: <4C3C3167.9070301@no8wireless.co.nz> (Aidan Gauland's message of "Tue, 13 Jul 2010 21:27:03 +1200") 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: Aidan Gauland Cc: emacs-orgmode@gnu.org 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. Best, Matt