emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Table formula bug?


From: Carsten Dominik
Subject: Re: [Orgmode] Table formula bug?
Date: Mon, 8 Mar 2010 09:06:31 +0100

Hi William,

On Mar 7, 2010, at 6:31 PM, William Henney wrote:

Hi Carsten,

On Sun, Mar 7, 2010 at 9:22 AM, Carsten Dominik
<address@hidden> wrote:
Org does read arctan2 as a field reference like B4 or AB2 and determinates
that this is a row REALLY far to the right.

I have fixed this special case. Are there more functions in calc which have
names like this?

I confirm that your fix works. Thanks for doing this so fast!

A quick search for digits in the "(calc) Function Index" info node
gives the following list:

arctan2, exp10, expm1, lnp1, log10, stir1, stir2

Thanks! I am catching aything now that has more than two letters, which is probably OK (it assumes that org tables will never have more than 676 rows....).


Here is a list of all the calc operators that I could find, some of
which might confuse your regexps:

!, !!, !!!, !=, %, &&, &&&, *, +, +/-, -, /, :, ::, :=, <, <=, =, ==,
=>, >, >=, ?, \, ^, _, |, ||, |||

I don't think it is necessary to allow all of these in table formulae
since many have synonyms. E.g., `x &&& y' can be written `pand(x, y)'

I think these are all OK.  Only problem *might* be && and &&&, but
I think we should be fine here as well.

Thanks for your very complete answer!

- Carsten





reply via email to

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