emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul Stansell <paulstansell@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Fwd: Named columns in org tables [9.7-pre (release_9.6.9-797-g4d0f89]
Date: Wed, 27 Sep 2023 15:38:56 +0100	[thread overview]
Message-ID: <CAMJKaZygSzHwRPDU43FwoT-wBXU6tfhY3N8R4HmrPLp2JvOUgg@mail.gmail.com> (raw)
In-Reply-To: <CAMJKaZx2TseskAb7J+7AfKaFzcbDmJ32LPfv4VcPDAU=WRQNUA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

Hello Bruno,

It seems to me it's a bug in the documentation.
>
> Currently, column names are not allowed in the LHS (Left Hand Side) of
> the formula ('org-table-get-stored-formulas' assumes it).  Although I'm
> not sure why.
>

 However, the following, with the column name on the RHS, works

|---+----+----+----|
|   |  3 |  4 |    |
| ^ | c1 | c2 | c3 |
|---+----+----+----|
#+TBLFM: $c3 = $c1 + $c2

Could allowing column names on the LHS in my first example be put on a todo
list?

By the way, there is a small error in your example as your $3 should be $4.

Thanks,

Paul

[-- Attachment #2: Type: text/html, Size: 1076 bytes --]

  parent reply	other threads:[~2023-09-27 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26 22:46 Named columns in org tables [9.7-pre (release_9.6.9-797-g4d0f89] Paul Stansell
2023-09-27 12:10 ` Bruno Barbier
     [not found]   ` <CAMJKaZx2TseskAb7J+7AfKaFzcbDmJ32LPfv4VcPDAU=WRQNUA@mail.gmail.com>
2023-09-27 14:38     ` Paul Stansell [this message]
2023-09-27 14:40       ` Paul Stansell
2023-09-27 15:53         ` Bruno Barbier
2023-09-27 15:44       ` Fwd: " Bruno Barbier
2023-10-05 10:09 ` Ihor Radchenko

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=CAMJKaZygSzHwRPDU43FwoT-wBXU6tfhY3N8R4HmrPLp2JvOUgg@mail.gmail.com \
    --to=paulstansell@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).