emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to make relative file links?
Date: Tue, 19 Nov 2013 21:27:05 -0700	[thread overview]
Message-ID: <CAJcAo8shxKmgmAXsbsKWpRcU51HJRQUok8d-oMRi5G5PLcYO+A@mail.gmail.com> (raw)
In-Reply-To: <874n773fc3.fsf@gmail.com>

Actually, I wanted a link to a headline in the same file.

On 11/19/13, Nick Dokos <ndokos@gmail.com> wrote:
> 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.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.

  reply	other threads:[~2013-11-20  4:27 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
2013-11-20  4:27         ` Samuel Wales [this message]
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=CAJcAo8shxKmgmAXsbsKWpRcU51HJRQUok8d-oMRi5G5PLcYO+A@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).