From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Babel CALL no longer produces HTML output Date: Sat, 23 Jul 2016 15:16:01 -0700 Message-ID: References: <87r3akzh3c.fsf@iki.fi> <87fur0fgbh.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR5DL-0001F6-Gq for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 18:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bR5DI-0004eT-9T for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 18:16:07 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:55200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR5DI-0004eC-1P for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 18:16:04 -0400 In-Reply-To: <87fur0fgbh.fsf@saiph.selenimh> 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" To: Nicolas Goaziou Cc: Jarmo Hurri , emacs-orgmode@gnu.org On Sat, 23 Jul 2016, Nicolas Goaziou wrote: > Hello, > > "Charles C. Berry" writes: > >> IIUC, one result is that header args in the src block being called take >> precedence over default header args. More below. > > [...] > >> I am not sure I find this new behavior to be an improvement. > > Having default header args to take precedence over local ones seems > counter-intuitive. It makes it harder to override them, and harder to > reason about the current active headers. > > OTOH, inheriting :exports property may not be optimal. In particular, > ":exports code" for a Babel call is probably nonsensical. Perhaps > a solution would be to keep the current behaviour and make an exception > for :exports, which would always be `results' for Babel calls. > > WDYT? I think that would work well enough. Although I might quibble about what 'local' means here. If the src block is under a headline called XYZ with a `header-args' property of `:eval no' and the babel call is under headline ABC with no header-args property, I think some would expect the default to take precedence for calls under ABC over the property in XYZ. Chuck