From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Dehennin Subject: Search links in a list of files Date: Mon, 12 Dec 2011 20:53:45 +0100 Message-ID: <871us9pnw6.fsf@hati.baby-gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaBwc-00029B-2o for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 14:53:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaBwa-000433-84 for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 14:53:49 -0500 Received: from zion.baby-gnu.net ([82.225.168.180]:55537 helo=zion.baby-gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaBwa-00042p-0w for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 14:53:48 -0500 Received: from hati.asgardr.info ([192.168.1.2] helo=hati.baby-gnu.org) by zion.baby-gnu.org with esmtp (Exim 4.77) (envelope-from ) id 1RaC2z-0003pw-Db for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 21:00:25 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: =2D in file1.org, I link something like [[file:file2.org::#some-point][some point in some file]] =2D 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, ..." =20 Any idea about this issue? Regards. Footnotes:=20 [1] http://orgmode.org/manual/Search-options.html#Search-options =2D-=20 Daniel Dehennin R=C3=A9cup=C3=A9rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEAREKAAYFAk7mW8kACgkQb97L6l6P4FvqqwCfUL7EkXui2Re04pxzxgluHLJ3 3MEAnAwV/gMAxB6mqZoaSArD8m9jffGb =/x2e -----END PGP SIGNATURE----- --=-=-=--