From: Christian Wittern <cwittern@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Parent path for links
Date: Fri, 20 Feb 2015 08:49:21 +0900 [thread overview]
Message-ID: <54E67681.1070907@gmail.com> (raw)
In-Reply-To: <CA+GKSr7SXcO_vnx6w-Vb5HrjGJhpwm9Kt0os8A_eRvLNwBS_6Q@mail.gmail.com>
On 2015-02-19 10:55, Giacomo M wrote:
> What happens is that in project.org <http://project.org> I end up specifying
> a lot of links all starting with ~/working/project/. This is useful as I can
> directly jump from "organization" to "action", or just to switch in a
> quicker way across project files.
>
> I know there is an header arg (i.e. dir) for the path of code execution, but
> I am not aware of anything similar for link referencing.
Look at Section 4.6 Link Abbreviations in the manual. What you would want
to do is having
#+LINK: wp ~/working/project
in your header, than you can reference it as [[wp:your-project.org]] instead
of [[~/working/project/your-project.org]].
Best, Christian
--
Christian Wittern, Kyoto
next prev parent reply other threads:[~2015-02-19 23:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 1:55 Parent path for links Giacomo M
2015-02-19 5:17 ` Kyle Meyer
2015-02-19 23:49 ` Christian Wittern [this message]
2015-02-20 0:07 ` Kyle Meyer
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=54E67681.1070907@gmail.com \
--to=cwittern@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).