From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: most robust linking practices? Date: Thu, 16 Jan 2014 16:09:48 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b15aa6175711504f01cd836 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3uCF-0007Pz-Vh for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 16:09:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3uCE-0005AX-Eh for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 16:09:51 -0500 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]:47419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3uCE-0005AN-25 for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 16:09:50 -0500 Received: by mail-pd0-f179.google.com with SMTP id q10so1048991pdj.10 for ; Thu, 16 Jan 2014 13:09:48 -0800 (PST) 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" --047d7b15aa6175711504f01cd836 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am using org-mode in a multiuser environment, (i.e. many people have access to the org-files). I create org-files with links in them to other files, and I am trying to find the most robust way to do that. For example, in one file in section I type C-c l to store a link, and then later C-c-C-l to insert it in another file. That link looks like this: [[file:~/dft-book/dft.org::*Introduction%20to%20DFT][Introduction to DFT]] It works for me, but not for other users, because of the ~ in it. I have tried using org-id, with mixed results. I set this up in my init file ;; automatically create ids for links (require 'org-id) (setq org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id) Now, when C-c l is typed, it creates a unique id in the heading, and the link looks like this: [[id:065443d5-59d7-4119-b530-7b63af28349b][Background]] I haven't figured out a detail though. If the original file is not open, org-mode does not seem to find it when I click on it. Am I missing some setup for org-id? I can see here http://orgmode.org/worg/org-api/org-id-api.html that there is some concept of a database of ids, but I didn't see anything about using it. How would another user click on that id link and get to the file if they didn't have the database? Finally, the end goal here is to package a set of interlinked org-files that someone else would use as a standalone package. What is the best link strategy for that? Thanks! John ----------------------------------- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu --047d7b15aa6175711504f01cd836 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

I am using org-mode in a mu= ltiuser environment, (i.e. many people have access to the org-files). I cre= ate org-files with links in them to other files, and I am trying to find th= e most robust way to do that.

For example, in one file in section I type C-c l to store a link,= and then later C-c-C-l to insert it in another file. That link looks like = this:

[[file:~/dft-book/dft.org::*Introduction%20to%20DFT][Intr= oduction to DFT]]

It works for me, but not for other users= , because of the ~ in it.

I have tried using org-id, with= mixed results.=A0 I set this up in my init file

;; autom= atically create ids for links
(require 'org-id)
(setq org-id-link-to-org-use-id 'create-if-int= eractive-and-no-custom-id)


Now, when C-c l is typed, = it creates a unique id in the heading, and the link looks like this:
[[id:065443d5-59d7-4119-b530-7b63af28349b][Background]]

I= haven't figured out a detail though. If the original file is not open,= org-mode does not seem to find it when I click on it.

Am I missing some setup for org-id? I can see here http://orgmode.org/worg/org-api/org-id-= api.html that there is some concept of a database of ids, but I didn= 9;t see anything about using it.

How would another user click on that id link and get to the file if the= y didn't have the database?

Finally, the end goal her= e is to package a set of interlinked org-files that someone else would use = as a standalone package. What is the best link strategy for that?

Thanks!

John

---------------------------------= --
John Kitchin
Associate Professor
Doherty Hall A207F
Departme= nt of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA = 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

--047d7b15aa6175711504f01cd836--