From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: org-store-link and org-link-to-org-use-id issue Date: Fri, 14 Dec 2012 14:06:51 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb1f01681427004d0d592cf Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjbX4-0007fw-6s for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 15:06:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjbX2-0003hh-VY for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 15:06:54 -0500 Received: from mail-oa0-f41.google.com ([209.85.219.41]:57745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjbX2-0003hb-QF for emacs-orgmode@gnu.org; Fri, 14 Dec 2012 15:06:52 -0500 Received: by mail-oa0-f41.google.com with SMTP id k14so4014154oag.0 for ; Fri, 14 Dec 2012 12:06:51 -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 --e89a8fb1f01681427004d0d592cf Content-Type: text/plain; charset=UTF-8 This is a continuation from here: http://comments.gmane.org/gmane.emacs.orgmode/61552 I thought this was fixed, but something's not functioning correctly. My main .emacs calls an org file with babel blocks housing my various configurations. Below are relevant sections: #+begin_src .emacs ;; set load paths ;; set load dirs and global config options (add-to-list 'load-path "~/.elisp/site-lisp/") (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp/") (add-to-list 'load-path "~/.elisp/org.git/lisp/") (add-to-list 'load-path "~/.elisp/site-lisp/ess/lisp/") ;; setup babel languages (org-babel-do-load-languages 'org-babel-load-languages '((latex . t) (emacs-lisp . t) (org . t) (R . t) (sh . t) (python .t ))) ;; load org-based config (org-babel-load-file "~/org/aux/emacs-config.org") #+end_src #+begin_src ~/org/aux/emacs-config.org Load orgmode modules: #+begin_src emacs-lisp (require 'org-id) ;; use unique ids for links (setq org-link-to-org-use-id "create-if-interactive") #+end_src Any reason this shouldn't create a unique ID when I do =C-c l= on a headline? I thought it was working as you can see from the followup to the thread above. Now, with the same settings, it's not working again. Thanks for any suggestions, John --e89a8fb1f01681427004d0d592cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is a continuation from here:=C2=A0http://comments.gmane.org/gmane.emacs.orgmode/6= 1552

I thought this was fixed, but something's n= ot functioning correctly. My main .emacs calls an org file with babel block= s housing my various configurations. Below are relevant sections:

#+begin_src .emacs
;; set load paths
;; set load dirs and global config options
(add-to-list &#= 39;load-path "~/.elisp/site-lisp/")
(add-to-list 'l= oad-path "~/.elisp/org.git/contrib/lisp/")
(add-to-list 'load-path "~/.elisp/org.git/lisp/")
<= div>(add-to-list 'load-path "~/.elisp/site-lisp/ess/lisp/")

;; setup babel languages
(org-babel-do-lo= ad-languages
=C2=A0'org-babel-load-languages
=C2=A0'((latex . t)<= /div>
=C2=A0 =C2=A0(emacs-lisp . t)
=C2=A0 =C2=A0(org . t)
=C2=A0 =C2=A0(R . t)
=C2=A0 =C2=A0(sh . t)
=C2= =A0 =C2=A0(python .t )))

;; load org-based config<= /div>
(org-babel-load-file "~/org/aux/emacs-config.org")
#+end_src

#+begin_src ~/org/aux/emacs-conf= ig.org
Load orgmode modules:

#+begin_src emacs-= lisp
(require 'org-id)

;; use u= nique ids for links
(setq org-link-to-org-use-id "create-if-= interactive")
#+end_src

Any reason this shouldn= 't create a unique ID when I do =3DC-c l=3D on a headline? I thought it= was working as you can see from the followup to the thread above. Now, wit= h the same settings, it's not working again.


Thanks for any suggestions,
Jo= hn

--e89a8fb1f01681427004d0d592cf--