From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-babel and compilation log Date: Fri, 10 May 2013 11:11:12 -0600 Message-ID: <878v3m7ob3.fsf@gmail.com> References: <87d2sy7rcf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uaqqv-0002kH-Ej for emacs-orgmode@gnu.org; Fri, 10 May 2013 13:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uaqqt-0001AU-UK for emacs-orgmode@gnu.org; Fri, 10 May 2013 13:11:29 -0400 Received: from mail-pb0-x235.google.com ([2607:f8b0:400e:c01::235]:50539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uaqqt-0001AQ-O7 for emacs-orgmode@gnu.org; Fri, 10 May 2013 13:11:27 -0400 Received: by mail-pb0-f53.google.com with SMTP id un1so2917349pbc.12 for ; Fri, 10 May 2013 10:11:27 -0700 (PDT) In-Reply-To: (Mohamed's message of "Fri, 10 May 2013 16:33:26 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mohamed Cc: emacs-orgmode@gnu.org > > 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