all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: Bastien <bzg@altern.org>, emacs-orgmode List <emacs-orgmode@gnu.org>
Subject: Re: Table rows and ranges as LHS of formulas
Date: Wed, 2 Mar 2011 23:57:32 +0100	[thread overview]
Message-ID: <A8BC38BE-FAD6-4834-ACD9-8C0D372B4B08@gmail.com> (raw)
In-Reply-To: <24402.1299092049@alphaville.dokosmarshall.org>


On 2.3.2011, at 19:54, Nick Dokos wrote:

> Carsten Dominik <carsten.dominik@gmail.com> wrote:
> 
>> 
>> On 2.3.2011, at 18:21, Bastien wrote:
>> 
>>> Hi Carsten,
>>> 
>>> Carsten Dominik <carsten.dominik@gmail.com> 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

  parent reply	other threads:[~2011-03-02 22:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 14:28 Table rows and ranges as LHS of formulas Carsten Dominik
2011-03-01 15:10 ` Carsten Dominik
2011-03-02 16:11 ` Christian Moe
2011-03-02 16:46   ` Bernt Hansen
2011-03-02 17:31   ` Carsten Dominik
2011-03-02 23:09     ` Christian Moe
2011-03-02 23:16       ` Carsten Dominik
2011-03-02 17:21 ` Bastien
2011-03-02 17:35   ` Carsten Dominik
2011-03-02 18:54     ` Nick Dokos
2011-03-02 20:00       ` Suvayu Ali
2011-03-02 22:57       ` Carsten Dominik [this message]
2011-03-02 23:08         ` Samuel Wales
2011-03-03  4:18         ` Nick Dokos
2011-03-03  8:28           ` Bastien
2011-03-03 12:23             ` Carsten Dominik
2011-03-03 16:46               ` Bastien
2011-03-03 12:23           ` Carsten Dominik
2011-03-03 21:19           ` Carsten Dominik
2011-03-03 22:01             ` Suvayu Ali
2011-03-03 22:11               ` Nick Dokos
2011-03-03 22:25                 ` Suvayu Ali
2011-03-04  5:41                 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A8BC38BE-FAD6-4834-ACD9-8C0D372B4B08@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.