From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Question about org-link-file-path-type Date: Mon, 03 Nov 2008 17:24:03 -0600 Message-ID: <87ej1s5r70.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kx8o0-0008FD-T8 for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 18:25:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kx8ny-0008EY-NN for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 18:25:55 -0500 Received: from [199.232.76.173] (port=52493 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx8ny-0008EQ-Ag for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 18:25:54 -0500 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:37767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kx8nx-0006tP-RD for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 18:25:53 -0500 Received: from matt-desktop (vu019215.valpo.edu [152.228.168.123]) by mail.messagingengine.com (Postfix) with ESMTPA id DF6063A2C3 for ; Mon, 3 Nov 2008 18:23:42 -0500 (EST) 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: emacs-orgmode@gnu.org I am using org 6.10c. When I set org-link-file-path-type to absolute and use C-u C-c C-l (org-insert-link with argument), any file in my home directory above my org directory is given the shortcut ~ -- as in file:~/pdfs/paper.pdf. (This is the desired behavior.) But when org-link-file-path-type is set to adaptive and I use org-insert link, the files above my org-directory are given unabbreviated names. E.g.: file:/home/matt/pdfs/paper.pdf. Since I use org on two separate computers with different root directory structures but also rely on relative links for my website, I would like the adaptive option to create abbreviated links for the home directory (i.e., ~). Is this possible? I seem to remember the adaptive setting resulting in the abbreviated links in 6.06 (before I upgraded to 6.08 and then 6.10), but I may be wrong about that. Thanks, Matt Lundin