emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: named columns in tables not working if name contains "_"


From: Nick Dokos
Subject: Re: [O] Bug: named columns in tables not working if name contains "_"
Date: Wed, 24 Aug 2011 16:39:32 -0400

Michael Brand <address@hidden> wrote:

> On Tue, Aug 23, 2011 at 20:29, Carsten Dominik
> <address@hidden> wrote:
> > I have checked, underscore is aceptable, calc allows it in variables names.
> > However, I would not recommend adding any more characters to this regexp.
> 
> Just to mention: Although "_" is the subscript operator that takes the
> nth vector element in Calc, I don't mind the change since the formula
> below that uses "$vector_1" did also not work before the change
> probably because some other regexp to parse the field name already
> included "_". And the alternative formula with "subscr($vector, 1)"
> seems to be syntactically more robust/flexible/clear/etc. anyway.
> 
> |   | [x y]  | x | x | #ERROR | x |
> | ^ | vector |   |   |        |   |
> #+TBLFM: @<$3 = $2_1 :: @<$4 = subscr($2, 1) :: @<$5 = $vector_1 ::
> @<$6 = subscr($vector, 1)
> 

That's worth recording somewhere in Worg, methinks.

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]