emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: how to make relative file links?
Date: Tue, 19 Nov 2013 22:48:11 -0500	[thread overview]
Message-ID: <874n773fc3.fsf@gmail.com> (raw)
In-Reply-To: CAJcAo8sOSdh28HTQv6E6KfHbZvKEJS+FsqyMZi9AZBpcf9NqUQ@mail.gmail.com

Samuel Wales <samologist@gmail.com> writes:

> I find that capture creates an absolute file link regardless of the variable.
>

That's correct: the variable is only used by org-insert-link. Capture
uses org-store-link which stores an absolute link.

Since you can initiate a capture from an arbitrary location in the file
system and store the capture in some other arbitrary location, it would
be a bit more difficult to use anything but absolute links (and things
like symbolic links might make it quite a bit more difficult). It
probably could be done, but I'm not sure it's worth it.

> On 11/6/13, David Belohrad <david@belohrad.ch> wrote:
>>> | org-link-file-path-type is a variable defined in `org.el'.
>>> | Its value is adaptive
>
>

-- 
Nick

  reply	other threads:[~2013-11-20  3:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 22:09 how to make relative file links? David Belohrad
2013-11-05 23:51 ` Nick Dokos
2013-11-06  7:52   ` David Belohrad
2013-11-20  3:18     ` Samuel Wales
2013-11-20  3:48       ` Nick Dokos [this message]
2013-11-20  4:27         ` Samuel Wales
2013-11-06  7:57   ` David Belohrad
2013-11-06  8:43     ` paul-sqPYmOVXOov10XsdtD+oqA

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=874n773fc3.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --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).