emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Aidan Gauland <aidalgol@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Relative paths in file: links are expanded [6.36trans]
Date: Tue, 13 Jul 2010 08:22:58 -0400	[thread overview]
Message-ID: <87pqyrd10d.fsf@fastmail.fm> (raw)
In-Reply-To: <4C3C3167.9070301@no8wireless.co.nz> (Aidan Gauland's message of "Tue, 13 Jul 2010 21:27:03 +1200")

Aidan Gauland <aidalgol@no8wireless.co.nz> 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 <RET> 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

  reply	other threads:[~2010-07-13 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13  9:27 Bug: Relative paths in file: links are expanded [6.36trans] Aidan Gauland
2010-07-13 12:22 ` Matt Lundin [this message]
2010-07-13 21:34   ` David Maus
2010-07-13 23:29     ` Matthew Lundin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqyrd10d.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=aidalgol@no8wireless.co.nz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).