From: Enzo Chi <enzoc@blackmagicdesign.com>
To: emacs-orgmode@gnu.org
Subject: Can't jump between code and Org when tangle to another directory
Date: Thu, 24 Dec 2015 10:27:48 +1100 [thread overview]
Message-ID: <87lh8koidn.fsf@blackmagicdesign.com> (raw)
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 other threads:[~2015-12-23 23:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lh8koidn.fsf@blackmagicdesign.com \
--to=enzoc@blackmagicdesign.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).