Mohamed <mohamed.hi...@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

Reply via email to