From: Nick Dokos <nicholas.dokos@hp.com> To: Carsten Dominik <carsten.dominik@gmail.com> Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Tom <adatgyujto@gmail.com> Subject: Re: Table formula changes are not always necessary when moving rows Date: Thu, 17 Mar 2011 10:15:47 -0400 [thread overview] Message-ID: <7997.1300371347@alphaville.dokosmarshall.org> (raw) In-Reply-To: Message from Carsten Dominik <carsten.dominik@gmail.com> of "Thu, 17 Mar 2011 07:03:29 BST." <B3DE5F6C-F4A2-45F2-A055-C8A4C6572507@gmail.com> Carsten Dominik <carsten.dominik@gmail.com> wrote: > > On 28.2.2011, at 12:43, Tom wrote: > > > I have a table in which I sum the values of all rows in the last > > row: vsum(@1..@-I-1). The problem is when move a row with M-up > > before the first row (e.g. I press M-up on the second row) then > > org modifies this formula to vsum(@2..@-I-1). > > > Hi Tom, > > I have thought a bit more about this issue. I do agree that, > in particular when specifying ranges, it may not always > desirable to have the formulas automatically adapt when > rows and columns are swapped. > > I have just pushed a change that makes $< and @< refer in > a stable way to the first column and row, respectively. > You can also use @<<< to mean the second row and @>> > the second to last row. > I hope you mean @<< above: otherwise the symmetry is spoiled :-) > I hope this will prove to be useful for such cases. > > Regards > > P.S. Nick (Dokos), I also added them to get the symmetry with > the @> and $> references :) > And a thing of beauty it is, too! ;-) Much appreciated, Nick
next prev parent reply other threads:[~2011-03-17 14:16 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-02-28 11:43 Tom 2011-03-05 22:40 ` Bastien 2011-03-07 17:53 ` Carsten Dominik 2011-03-07 18:38 ` Tom 2011-03-17 6:03 ` Carsten Dominik 2011-03-17 10:02 ` Christian Moe 2011-03-17 11:23 ` Carsten Dominik 2011-03-17 14:15 ` Nick Dokos [this message] 2011-03-20 8:48 ` Achim Gratz 2011-03-20 9:06 ` 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 List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7997.1300371347@alphaville.dokosmarshall.org \ --to=nicholas.dokos@hp.com \ --cc=adatgyujto@gmail.com \ --cc=carsten.dominik@gmail.com \ --cc=emacs-orgmode@gnu.org \ --subject='Re: Table formula changes are not always necessary when moving rows' \ /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
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).