emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Can't jump between code and Org when tangle to another directory
@ 2015-12-23 23:27 Enzo Chi
  0 siblings, 0 replies; only message in thread
From: Enzo Chi @ 2015-12-23 23:27 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-23 23:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-23 23:27 Can't jump between code and Org when tangle to another directory Enzo Chi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).