emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eddward DeVilla <eddward@gmail.com>
Cc: Michael <wuolong@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Re: Table questions
Date: Wed, 20 Dec 2006 00:25:02 +0100	[thread overview]
Message-ID: <42f043ca7c4c6d9e666bd66f8c7a1af3@science.uva.nl> (raw)
In-Reply-To: <b71b18520612191428w794324f1qea27d99407af034d@mail.gmail.com>


On Dec 19, 2006, at 23:28, Eddward DeVilla wrote:

> I know I use column swapping a lot.  I haven't got formulas down yet,
> but if I where to use them in a table where I'm liable to column swap,
> I'd probably use named columns.  (That's supported, right?)

Actually, column swapping is not the problem, and org-mode
supports it - the formulas stored in a TBLFM line will magically
change the $N references along with the swapped columns.  This
is possible because the calculations in org-mode tables are focused
on row formulas at the central use case.  An yes, named columns do
work as well.

For individual fields that you want to use in formulas, you can
name a field, or use a constant.

>  Row
> swapping would be trickier, but I don't do that much unless I'm
> sorting based on a field, and if I'm sorting, I don't think I'd do
> much more than ask for "$named_column one row up".

This is what I have started working on some time ago, but not
finished because I was not satisfied with the logics.
Maybe I'll get back to it.

>
> The ability to ask for a named column in a row relative to the current
> one might be reasonably safe without having to change formulas.
> Swapping rows could still bite the user if he didn't plan things out
> right.

Definitely.

- Carsten

  reply	other threads:[~2006-12-19 23:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 16:19 Table questions Michael
2006-12-15 16:08 ` Eddward DeVilla
2006-12-15 18:15   ` Michael
2006-12-18  9:39   ` Carsten Dominik
2006-12-18  9:29 ` Carsten Dominik
2006-12-19 16:54   ` Michael
2006-12-19 22:28     ` Eddward DeVilla
2006-12-19 23:25       ` Carsten Dominik [this message]
2006-12-19 23:20     ` 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=42f043ca7c4c6d9e666bd66f8c7a1af3@science.uva.nl \
    --to=carsten.dominik@gmail.com \
    --cc=eddward@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wuolong@gmail.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 public 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).