emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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 11:11:12 -0600	[thread overview]
Message-ID: <878v3m7ob3.fsf@gmail.com> (raw)
In-Reply-To: <loom.20130510T181628-952@post.gmane.org> (Mohamed's message of "Fri, 10 May 2013 16:33:26 +0000 (UTC)")

>
> I didn't know this before. But my point here is to byte compile my
> .emacs.el for the next session. (I have dotEmacs.org ->> .emacs.elc)
>

`org-babel-load-file' does support an optional compile argument.

,----
| org-babel-load-file is an interactive autoloaded compiled Lisp
| function in `org.el'.
| 
| (org-babel-load-file FILE &optional COMPILE)
| 
| Load Emacs Lisp source code blocks in the Org-mode FILE.
| This function exports the source code using `org-babel-tangle'
| and then loads the resulting file using `load-file'.  With prefix
| arg (noninteractively: 2nd arg) COMPILE the tangled Emacs Lisp
| file to byte-code before it is loaded.
| 
| [back]
`----

>
>> 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".
>
> Great this is really what I'm looking for.
>
> Thanks a lot !!
>

Great, happy to help.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

      reply	other threads:[~2013-05-10 17:11 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
2013-05-10 16:33   ` Mohamed
2013-05-10 17:11     ` Eric Schulte [this message]

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=878v3m7ob3.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).