emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yuri Niyazov <yuri.niyazov@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Creating a link to a file using ID
Date: Thu, 23 Apr 2015 15:10:24 -0700	[thread overview]
Message-ID: <CACbjG0uFXnvPXnT6ftv1+08Hau04iGiGi4VTJWWeWs=Q0=JzeQ@mail.gmail.com> (raw)

I would like to link to a whole file (rather than a heading in that
file), but instead of using the path+name, I would like to use an id,
so that it survives renames. Is it possible to assign an ID to the
whole buffer? I tried doing
#+CUSTOM_ID:       A948A2E7-F4A0-4F77-8D7A-C6273DA7D734
and
#+ID:       A948A2E7-F4A0-4F77-8D7A-C6273DA7D734

but a link to such an ID results in an error when clicked. I am going
to link to a heading in the file instead for now, but it would be nice
to know if this is possible. Thanks!

             reply	other threads:[~2015-04-23 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-23 22:10 Yuri Niyazov [this message]
2015-04-24  6:48 ` Creating a link to a file using ID Rainer M Krug

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='CACbjG0uFXnvPXnT6ftv1+08Hau04iGiGi4VTJWWeWs=Q0=JzeQ@mail.gmail.com' \
    --to=yuri.niyazov@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).