From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [Babel] Padlines Date: Wed, 18 Sep 2013 15:23:50 -0600 Message-ID: <87y56t7rix.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMPDh-0000f8-PD for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 17:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMPDc-0000ZM-K2 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 17:23:33 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:34601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMPDc-0000ZA-C4 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 17:23:28 -0400 Received: by mail-pa0-f44.google.com with SMTP id fz6so8829376pac.3 for ; Wed, 18 Sep 2013 14:23:26 -0700 (PDT) In-Reply-To: (aditya siram's message of "Tue, 17 Sep 2013 17:36:07 -0500") 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: aditya siram Cc: emacs-orgmode@gnu.org aditya siram writes: > Hi all, > What's the rationale for having padlines by default in tangled source? It > generates wrong programs for languages where whitespace is significant > (Haskell) and, for me, doesn't noticeably improve the look of the tangled > file in cases where it isn't. > Thanks! > -deech It is possible to change the value of default header arguments on a per-language basis because e.g., while (:padlines "yes") may make sense for sh, it probably doesn't for Haskell. I just changed the value of org-babel-default-header-args:haskell, so that :padlines will be turned off by default for that language. Cheers, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D