[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel and compilation log
From: |
Eric Schulte |
Subject: |
Re: [O] org-babel and compilation log |
Date: |
Fri, 10 May 2013 10:05:36 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Mohamed <address@hidden> 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