all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: org-store-link and org-link-to-org-use-id issue
@ 2012-12-14 20:06 John Hendy
  2012-12-15  8:21 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: John Hendy @ 2012-12-14 20:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2022 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* org-store-link and org-link-to-org-use-id issue
@ 2012-10-12 20:34 John Hendy
  2012-10-12 21:21 ` John Hendy
  0 siblings, 1 reply; 5+ messages in thread
From: John Hendy @ 2012-10-12 20:34 UTC (permalink / raw)
  To: emacs-orgmode

Hi,


I have the following in .emacs:

(setq org-link-to-org-use-id "create-if-interactive")

When I navigate to a headline and do =C-c l=, a unique ID is not
created for that headline. Am I misunderstanding the
'create-if-interactive' setting for this variable? It reads as though
if I call =org-store-link= manually, a unique ID will be created. I've
tried both =C-c l= and =M-x org-store-link=. Neither produces the ID.

As a side note, is there completion for links? This would be even
better for me than using =C-c l=. I'd like to just do =C-c l file: RET
~/org/filename.org/ TAB for headline names... etc.=

Something similar to interactive refiling would be fantastic for
links. Does this exist?


Thanks,
John

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-20 17:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-14 20:06 org-store-link and org-link-to-org-use-id issue John Hendy
2012-12-15  8:21 ` Bastien
2012-12-20 17:21   ` John Hendy
  -- strict thread matches above, loose matches on Subject: below --
2012-10-12 20:34 John Hendy
2012-10-12 21:21 ` John Hendy

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.