From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code Date: Fri, 28 May 2010 08:55:48 -0600 Message-ID: <87sk5c8497.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=45885 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI0yX-0006f6-Py for emacs-orgmode@gnu.org; Fri, 28 May 2010 10:55:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OI0yW-000630-IV for emacs-orgmode@gnu.org; Fri, 28 May 2010 10:55:53 -0400 Received: from mail-pz0-f173.google.com ([209.85.222.173]:33367) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OI0yW-00062t-Cu for emacs-orgmode@gnu.org; Fri, 28 May 2010 10:55:52 -0400 Received: by pzk3 with SMTP id 3so588671pzk.24 for ; Fri, 28 May 2010 07:55:51 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi, The insertion of automatically generated comments in tangled source code is now controlled by the new `org-babel-tangle-w-comments' variable. Setting this variable to non-nil will allow org-babel to insert comments for those languages with comment support. This changes the default behavior. The default value for this variable is nil -- previously these comments were always inserted, now they are only inserted after setting `org-babel-tangle-w-comments' to a non-nil value. Best -- Eric ,----[commit ff58dacc7ca83c07cd6a57eccda3a55e20019d95] | babel: `org-babel-tangle-w-comments' controls comment insertion in tangled code | | * contrib/babel/lisp/org-babel-tangle.el (org-babel-spec-to-string): | The insertion of automatically generated comments into tangled code | is now customizable through the `org-babel-tangle-w-comments' | variable. `----