From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aidan Gauland Subject: Bug: Relative paths in file: links are expanded [6.36trans] Date: Tue, 13 Jul 2010 21:27:03 +1200 Message-ID: <4C3C3167.9070301@no8wireless.co.nz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0850482195==" Return-path: Received: from [140.186.70.92] (port=47792 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYblL-0008UV-8F for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 05:26:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYblI-0001ir-SV for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 05:26:50 -0400 Received: from jersey.rurallink.co.nz ([114.134.15.197]:60144 helo=smtp.rurallink.co.nz) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYblI-0001g7-Dh for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 05:26:48 -0400 Received: from 114-134-6-5.rurallink.co.nz ([114.134.6.5] helo=[192.168.2.102]) by smtp.rurallink.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OYbko-00028L-Ba for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 21:26:18 +1200 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 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0850482195== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF9A8107DAD5C166599F8EF3B" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF9A8107DAD5C166599F8EF3B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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]]. Emacs : GNU Emacs 24.0.50.6 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-07-10 on neko Package: Org-mode version 6.36trans current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars= ) org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-defaul= t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers= org-cycle-show-empty-lines org-optimize-window-after-visibility-= change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append = local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all = append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-p= oint org-babel-execute-src-block-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp "\\" org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc= org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) --------------enigF9A8107DAD5C166599F8EF3B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkw8MWwACgkQjyzTRvYJmaXOcgCfa82D63S1jcKC5FpSCl2daOQe BCEAnjk1ds4bfzi536Uc3/5hK88mTOdP =XVEV -----END PGP SIGNATURE----- --------------enigF9A8107DAD5C166599F8EF3B-- --===============0850482195== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0850482195==--