Re: [O] how to make relative file links?

2013-11-19 Thread Samuel Wales
Actually, I wanted a link to a headline in the same file. On 11/19/13, Nick Dokos wrote: > Samuel Wales writes: > >> I find that capture creates an absolute file link regardless of the >> variable. >> > > That's correct: the variable is only used by org-insert-link. Capture > uses org-store-link

Re: [O] how to make relative file links?

2013-11-19 Thread Nick Dokos
Samuel Wales writes: > I find that capture creates an absolute file link regardless of the variable. > That's correct: the variable is only used by org-insert-link. Capture uses org-store-link which stores an absolute link. Since you can initiate a capture from an arbitrary location in the file

Re: [O] how to make relative file links?

2013-11-19 Thread Samuel Wales
I find that capture creates an absolute file link regardless of the variable. On 11/6/13, David Belohrad wrote: >> | org-link-file-path-type is a variable defined in `org.el'. >> | Its value is adaptive

Re: [O] how to make relative file links?

2013-11-06 Thread paul
David Belohrad writes: > ups, second test. it really works. I have messed up settings on two > computers... I use Dropbox (there are alternatives) for an elisp file with all my emacs settings so that I always loading the same settings. A minimal .emacs.d/init.el loads this file on each machine,

Re: [O] how to make relative file links?

2013-11-05 Thread David Belohrad
ups, second test. it really works. I have messed up settings on two computers, one had adaptive and one absolute setting of this variable. sorry for the mess. d.. Nick Dokos writes: > David Belohrad writes: > >> Dear all, >> >> i've just noticed one annoying thing. When I specify the relati

Re: [O] how to make relative file links?

2013-11-05 Thread David Belohrad
i have it set to adaptive, but always finish with absolute paths, even if the link is into sub-directory of directory, where the current org file is. Nick Dokos writes: > David Belohrad writes: > >> Dear all, >> >> i've just noticed one annoying thing. When I specify the relative file >> link b

Re: [O] how to make relative file links?

2013-11-05 Thread Nick Dokos
David Belohrad writes: > Dear all, > > i've just noticed one annoying thing. When I specify the relative file > link by org-insert-link, then I specify 'file:' , then i specify > filename with relative path, the function converts the relative path to > absolute path. so when i move my org files i

[O] how to make relative file links?

2013-11-05 Thread David Belohrad
Dear all, i've just noticed one annoying thing. When I specify the relative file link by org-insert-link, then I specify 'file:' , then i specify filename with relative path, the function converts the relative path to absolute path. so when i move my org files into another location, well... is th