[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Fix error prone babel table output format detection
From: |
Achim Gratz |
Subject: |
Re: [O] [PATCH] Fix error prone babel table output format detection |
Date: |
Thu, 01 May 2014 09:08:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Ian Kelling writes:
> org-babel table output uses different formatting for a list of lists,
> but detects it incorrectly causing an error, as in this example:
> #+begin_src emacs-lisp
> '((1) 2)
> #+end_src
So this isn't a proper table, what do you expect to happen?
> - (and (listp (car result))
> - (listp (cdr (car result)))))
> + (cl-every 'listp result))
This is wrong, because a table can come with any number of 'hline
symbols, so ostensibly not every element will be a listp. Besides, you
can't use cl-every unless Org drops backwards compatibility with older
Emacsen or mandates cl-lib to be present. Even then, you'd also need to
require cl-extra.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
- [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/01
- Re: [O] [PATCH] Fix error prone babel table output format detection,
Achim Gratz <=
- Re: [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/01
- Re: [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/01
- Re: [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/01
- Re: [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/01
- Re: [O] [PATCH] Fix error prone babel table output format detection, Eric Schulte, 2014/05/04
- Re: [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/04
- Re: [O] [PATCH] Fix error prone babel table output format detection, Eric Schulte, 2014/05/07
- Re: [O] [PATCH] Fix error prone babel table output format detection, Ian Kelling, 2014/05/09
- Re: [O] [PATCH] Fix error prone babel table output format detection, Bastien, 2014/05/21