From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Belohrad Subject: how to make relative file links? Date: Tue, 05 Nov 2013 23:09:05 +0100 Message-ID: <87d2meqz5q.fsf@pcbe13433.cern.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdooE-0005Fp-Nn for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 17:09:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdoo8-0004I9-MZ for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 17:09:14 -0500 Received: from static-212-101-19-163.adsl.solnet.ch ([212.101.19.163]:52861 helo=server.belohrad.ch) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdoo8-0004HY-FG for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 17:09:08 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode Mailinglist 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 there any way how to tell to org-store-link (and as well to %a in org-capture templates) to specify link path relative to the file the link is stored in? respectively: if file contains many links, how can i assure file: links portability when entire org tree changes location? many thanks david