From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Bug: Relative paths in file: links are expanded [6.36trans] Date: Tue, 13 Jul 2010 23:34:08 +0200 Message-ID: <87r5j712y7.wl%dmaus@ictsoc.de> References: <4C3C3167.9070301@no8wireless.co.nz> <87pqyrd10d.fsf@fastmail.fm> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1649205816==" Return-path: Received: from [140.186.70.92] (port=53943 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYn7l-0008II-In for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 17:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYn7k-0003WS-3E for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 17:34:45 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:36966) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYn7j-0003WA-Uj for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 17:34:44 -0400 In-Reply-To: <87pqyrd10d.fsf@fastmail.fm> 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: Matt Lundin Cc: emacs-orgmode@gnu.org, Aidan Gauland --===============1649205816== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Jul_13_23:34:07_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Tue_Jul_13_23:34:07_2010-1 Content-Type: text/plain; charset=US-ASCII 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 ,---- | commit acb8bcfba7023b362a7fbe9615bb167a046ad26d | Author: Carsten Dominik | Date: Tue Jul 13 12:53:47 2010 +0200 | | Fix relative path creation when making a file link | | * lisp/org.el (org-insert-link): Correctly determine if we should use | a relative path. | | 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]]. `---- HTH, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Tue_Jul_13_23:34:07_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkw8288ACgkQma24O1pEeOaCtgEA55E77qqgP96DLNbaR4PxcIi2 0E7yBOGJDQt/ctdnvN0A/RSs4eDUK5atjKCPt103aU1IKBrN7pJvPNsir8rE34xl =LMXG -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Jul_13_23:34:07_2010-1-- --===============1649205816== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1649205816==--