[Orgmode] Re: Bug: Relative paths in file: links are expanded [6.36trans]
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 ___ 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
Re: [Orgmode] Re: Bug: Relative paths in file: links are expanded [6.36trans]
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 dmj...@jabber.org Email. dm...@ictsoc.de pgp3xE4XuFkLp.pgp Description: PGP signature ___ 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
[Orgmode] Re: Bug: Relative paths in file: links are expanded [6.36trans]
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 ___ 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