emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: David Maus <dmaus@ictsoc.de>
Cc: emacs-orgmode@gnu.org, Aidan Gauland <aidalgol@no8wireless.co.nz>
Subject: Re: Bug: Relative paths in file: links are expanded	[6.36trans]
Date: Tue, 13 Jul 2010 19:29:21 -0400	[thread overview]
Message-ID: <87mxtv9d0u.fsf@fastmail.fm> (raw)
In-Reply-To: <87r5j712y7.wl%dmaus@ictsoc.de> (David Maus's message of "Tue, 13 Jul 2010 23:34:08 +0200")

David Maus <dmaus@ictsoc.de> writes:

> Matt Lundin wrote:
>>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.
>
> And in addition there was a fix pushed to repo.or.cz

Carsten is fast!! I turns out I tested the behavior with the applied
patch installed (having just updated org-mode). Sorry for the noise.

Best,
Matt

      reply	other threads:[~2010-07-13 23:22 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
2010-07-13 21:34   ` David Maus
2010-07-13 23:29     ` Matthew Lundin [this message]

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=87mxtv9d0u.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=aidalgol@no8wireless.co.nz \
    --cc=dmaus@ictsoc.de \
    --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).