From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [Babel] :colnames "no" no longer default for Emacs Lisp [Was] Lisp error: (wrong-type-argument listp hline) Date: Wed, 02 Oct 2013 07:13:10 -0600 Message-ID: <87mwmrol8t.fsf@gmail.com> References: <86zjr3bp2y.fsf@somewhere.org> <87ob7j15ci.fsf@gmail.com> <86fvsuk3tw.fsf@somewhere.org> <87d2ntw22n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRMTk-0001QF-AA for emacs-orgmode@gnu.org; Wed, 02 Oct 2013 09:28:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRMTf-0006jF-Eq for emacs-orgmode@gnu.org; Wed, 02 Oct 2013 09:28:36 -0400 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:52504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRMTf-0006j6-7q for emacs-orgmode@gnu.org; Wed, 02 Oct 2013 09:28:31 -0400 Received: by mail-pd0-f178.google.com with SMTP id w10so870816pde.23 for ; Wed, 02 Oct 2013 06:28:29 -0700 (PDT) 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: "Thomas S. Dye" Cc: Sebastien Vauban , emacs-orgmode@gnu.org tsd@tsdye.com (Thomas S. Dye) writes: > Hi Eric, > > I think this breaks Marc-Oliver Ihm's lob-table-operations.org. > > I use these a lot with #+call: lines. > > Any tips on how to get the old behavior back? You could add the following to your configuration which would replace the previous default. (add-to-list 'org-babel-default-header-args:emacs-lisp '(:colnames . "no")) (add-to-list 'org-babel-default-header-args:emacs-lisp '(:hlines . "yes")) You could also change the default emacs lisp header arguments for certain files with property lines. Best, > I tried :colnames no with one of Marc-Oliver's code blocks, (and kept > :colnames yes with my #+call: line) but this didn't seem to change > anything. Instead of the column names from the original tables, which > I used to get, I now get names like "t1c2". > > All the best, > Tom > > Eric Schulte writes: > >>> >>> I always wondered why emacs-lisp is the _only_ language with ":colnames no" as >>> its default. Is there a reason therefore? If no really good reason, could we >>> suppress that? >>> >> >> This seemed to make sense early on because Emacs Lisp could easily >> process hlines itself, but at this point it adds more confusion than it >> is worth. I've reverted this default for elisp, hopefully it doesn't >> break too many peoples existing Org-mode files. >> >> Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D