From: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
To: emacs-orgmode@gnu.org
Subject: Search links in a list of files
Date: Mon, 12 Dec 2011 20:53:45 +0100 [thread overview]
Message-ID: <871us9pnw6.fsf@hati.baby-gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Hello,
As I want to write some documentation with org-mode, I'm looking for a
way to manage an list of files in which org-mode will look for links, or
better, a list or directory to scan.
For example:
- in file1.org, I link something like
[[file:file2.org::#some-point][some point in some file]]
- in file2.org I have a property "CUSTOM_ID: some-point" somewhere.
If I reorganize my documentation and move file2.org in some
subdirectory, like examples/file2.org, I would like to avoid changing
all the references to "file2::#some-point".
Maybe a link like [[search:PATH::SOMETHING]], with SOMETHING like in
search-options[1].
We could define a per-org file PATH, with something like
"#+LINK_SEARCH_PATH: path1, path2, ..."
Any idea about this issue?
Regards.
Footnotes:
[1] http://orgmode.org/manual/Search-options.html#Search-options
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2011-12-12 19:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 19:53 Daniel Dehennin [this message]
2011-12-13 0:59 ` Search links in a list of files Bernt Hansen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871us9pnw6.fsf@hati.baby-gnu.org \
--to=daniel.dehennin@baby-gnu.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.