From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: sharing my firsts, org babel tangle and "init" .org file Date: Sat, 19 Apr 2014 15:05:30 +0000 (UTC) Message-ID: References: <87sipa5fp5.fsf@enterprise.sectorq.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbWpz-0006cp-Af for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 11:05:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbWpr-0001sP-Qa for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 11:05:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:33059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbWpr-0001sL-JF for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 11:05:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WbWpq-0006ww-Hc for emacs-orgmode@gnu.org; Sat, 19 Apr 2014 17:05:42 +0200 Received: from 172-7-166-26.lightspeed.sndgca.sbcglobal.net ([172.7.166.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Apr 2014 17:05:42 +0200 Received: from ccberry by 172-7-166-26.lightspeed.sndgca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Apr 2014 17:05:42 +0200 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: emacs-orgmode@gnu.org Pete Ley gmail.com> writes: > > I've looked at the solution on worg and, though I didn't actually try to > implement, it seems like tangling your init file every time you open > Emacs is a little cumbersome. Please correct me if I'm wrong in this > assumption. OK, here goes: In `org-babel-load-file' the code following the comment ;; tangle if the org-mode file is newer than the elisp file appears to only re-tangle the .el file iff it is older than the .org file HTH, Chuck