emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Can't jump between code and Org when tangle to another directory


From: Enzo Chi
Subject: [O] Can't jump between code and Org when tangle to another directory
Date: Thu, 24 Dec 2015 10:27:48 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Try to use "Jumping between code and Org" feature.

The org file link in the tangled code doesn't have path information.

So if I tangle my file to another directory, I can't jump back to my
org-mode file.


My org file (jump.org):

* Dummy Header
  :PROPERTIES:
  :ID:       11af8f9b-c22d-4549-9191-97bfa980608c
  :END:
  #+NAME: 8258bf05-64bb-430b-9b13-913a7dc2a458
  #+BEGIN_SRC sh :padline yes :comments link :tangle test/test.sh :mkdirp yes 
:shebang "#!/usr/bin/env bash"
    echo "Hello"
  #+END_SRC


Tangled code (test.sh):

#!/usr/bin/env bash
# [[file:jump.org::*Dummy%20Header][8258bf05-64bb-430b-9b13-913a7dc2a458]]
echo "Hello"
# 8258bf05-64bb-430b-9b13-913a7dc2a458 ends here




reply via email to

[Prev in Thread] Current Thread [Next in Thread]