[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Bug: Relative paths in file: links are expanded [6.36t
From: |
David Maus |
Subject: |
Re: [Orgmode] Re: Bug: Relative paths in file: links are expanded [6.36trans] |
Date: |
Tue, 13 Jul 2010 23:34:08 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Matt Lundin wrote:
>Aidan Gauland <address@hidden> 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 <RET> 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 <address@hidden>
| 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 <RET> 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.... address@hidden
Email..... address@hidden
pgpt1ArKFF3Ok.pgp
Description: PGP signature