From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: New exporter - publishing org files doesn't include :tangle Date: Wed, 24 Apr 2013 16:27:35 +0200 Message-ID: <8738ug9f6w.fsf@gmail.com> References: <8761zcrp24.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV0ff-0003kb-BZ for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 10:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV0fa-0003Gw-CG for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 10:27:43 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:60275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV0fa-0003Gm-1s for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 10:27:38 -0400 Received: by mail-wi0-f178.google.com with SMTP id hm14so2215908wib.5 for ; Wed, 24 Apr 2013 07:27:37 -0700 (PDT) In-Reply-To: <8761zcrp24.fsf@norang.ca> (Bernt Hansen's message of "Wed, 24 Apr 2013 10:17:07 -0400") 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: Bernt Hansen Cc: emacs-orgmode@gnu.org Hello, Bernt Hansen writes: > James Yuan noticed that the .org file that is published with my document > (http://doc.norang.ca/org-mode.org does not contain :tangle on any of > the source blocks. > > One of the uses of this document is to pull up the file and tangle it to > create an emacs configuration but this seems to be broken in 8.0. This is not directly related to the export framework. For some reason, Babel removes all properties from the opening string of a block when evaluated. IOW #+BEGIN_SRC emacs-lisp :exports code :tangle yes (+ 1 1) #+END_SRC becomes #+BEGIN_SRC emacs-lisp (+ 1 1) #+END_SRC One workaround is to add Babel properties on a #+header: affiliated keyword instead as #+header: :tangle yes #+BEGIN_SRC emacs-lisp :exports code (+ 1 1) #+END_SRC becomes #+header: :tangle yes #+BEGIN_SRC emacs-lisp (+ 1 1) #+END_SRC Regards, -- Nicolas Goaziou