From: Eric Schulte <schulte.eric@gmail.com>
To: Mohamed <mohamed.hibti@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel and compilation log
Date: Fri, 10 May 2013 10:05:36 -0600 [thread overview]
Message-ID: <87d2sy7rcf.fsf@gmail.com> (raw)
In-Reply-To: <loom.20130510T175000-139@post.gmane.org> (Mohamed's message of "Fri, 10 May 2013 15:55:13 +0000 (UTC)")
Mohamed <mohamed.hibti@gmail.com> writes:
> Dear all,
> I'm managing my dotEmacs in an org file which is tangled and byte-compiled
> using a small function
>
> ------------------------------
> (defun mh-generate-dot-and-byte-comp ()
> (interactive)
> "Tangle current buffer and generate the dot emacs which is byte compiled"
> (with-current-buffer "dotEmacs.org" (org-babel-tangle))
> (byte-compile-file "~/.emacs.el"))
> --------------------------------
>
You may want to use `org-babel-load-file', unless you prefer to run this
manually.
>
> I'm asking is there any way to switch, in case of error or warning, from
> the Compilation Log file to the original org-mode file (dotEmacs.org)
> instead of .emacs.el.
>
Look at the `org-babel-tangle-jump-to-org' function, for it to work you
may need to tangle with the ":comments" header argument set to "link".
Best,
>
> Thanks,
> Mohamed
>
>
>
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte
next prev parent reply other threads:[~2013-05-10 16:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-10 15:55 org-babel and compilation log Mohamed
2013-05-10 16:05 ` Eric Schulte [this message]
2013-05-10 16:33 ` Mohamed
2013-05-10 17:11 ` Eric Schulte
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=87d2sy7rcf.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mohamed.hibti@gmail.com \
/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).