From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Table formula bug? Date: Mon, 8 Mar 2010 09:06:31 +0100 Message-ID: <98AA17D6-22BC-4CC5-8C47-5CAEB873632F@gmail.com> References: <41c818191003070534y42ce46bex8f92d04ae564bfd8@mail.gmail.com> <78D5EBEA-D0A4-4CB6-8841-0598B1396C12@gmail.com> <41c818191003070931x2e18e8edp93a6d082c9ff6849@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoXz7-0005SQ-Px for emacs-orgmode@gnu.org; Mon, 08 Mar 2010 03:06:41 -0500 Received: from [140.186.70.92] (port=57738 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoXz3-0005QP-Oe for emacs-orgmode@gnu.org; Mon, 08 Mar 2010 03:06:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoXz1-0001HV-MO for emacs-orgmode@gnu.org; Mon, 08 Mar 2010 03:06:37 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53947) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoXz1-0001HF-Cm for emacs-orgmode@gnu.org; Mon, 08 Mar 2010 03:06:35 -0500 Received: by wyb29 with SMTP id 29so2961556wyb.0 for ; Mon, 08 Mar 2010 00:06:34 -0800 (PST) In-Reply-To: <41c818191003070931x2e18e8edp93a6d082c9ff6849@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Henney Cc: emacs-org 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 > 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