From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Table rows and ranges as LHS of formulas Date: Wed, 2 Mar 2011 23:57:32 +0100 Message-ID: References: <5A22097F-A1F9-480E-B2E5-030CD6493B2F@gmail.com> <878vwx5tgl.fsf@gnu.org> <907667C9-5D38-4DF4-B0CE-BEFEFE40A192@gmail.com> <24402.1299092049@alphaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=44730 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuuzC-0005Cv-TN for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 17:57:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuuzB-0001g4-IA for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 17:57:38 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:47467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuuzB-0001fv-Cu for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 17:57:37 -0500 Received: by eyh6 with SMTP id 6so182306eyh.0 for ; Wed, 02 Mar 2011 14:57:36 -0800 (PST) In-Reply-To: <24402.1299092049@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: Bastien , emacs-orgmode List On 2.3.2011, at 19:54, Nick Dokos wrote: > Carsten Dominik wrote: > >> >> On 2.3.2011, at 18:21, Bastien wrote: >> >>> Hi Carsten, >>> >>> Carsten Dominik writes: >>> >>>> Bastien, please let me know if you want to have this integrated >>>> before the release, then I will do so. >>> >>> Please go ahead! This looks like a nice addition, thanks for that. >> >> I just pushed it. The patch I pushed contains another small thing: >> you can use @L to mean the last row. So >> >> @L=vsum(@I..II) >> >> is now a great way to sum columns in the last row. >> To skip the First column (in case it contains unsummable >> labels or so, use >> >> @L$2..@L@8=vsum(@I..II) >> > > Both of these and Christian's multiplication table are great > examples. Thanks! > > One nit: symmetry dictates that $L should be the last column, but it > isn't. Trying @2$2..@L$11 in Christian's example works fine, but > @2$2..@L$L changes the first column to all zeroes (not sure why). Yes, of cause, this symmetry would be nice, I have thought about it. However, $L is ambiguous syntax, there can be a name that is $L, so this might even break existing tables. I could do is so that if there is no name $L defined, then use it. But this is also confusing, and of cause not stable if someone does define new names. Maybe we should use something else to achieve symmetry, like @> and $>. Comments? - Carsten -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode