From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Quazgar <quazgar@posteo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: g: Feature request: table formulas: resolve references on LHS [9.0.5 (9.0.5-elpa @ /home/daniel/.emacs.d/elpa/org-20170210/)]
Date: Fri, 17 Feb 2017 11:14:12 +0100 [thread overview]
Message-ID: <87o9y1azuz.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <8f26b1fb6dde9b543aa1090c6e3dd8bc@posteo.de> (quazgar@posteo.de's message of "Fri, 17 Feb 2017 11:02:44 +0100")
Hello,
Quazgar <quazgar@posteo.de> writes:
> As hinted on the manual http://orgmode.org/manual/Column-formulas.html
> and written explicitly on a StackOverflow topic
> http://emacs.stackexchange.com/questions/15185/cant-assign-to-hline-relative-reference,
> the left hand side of table formulas currently cannot contain
> references:
>
> The left-hand side of a column formula cannot be the name of column,
> it must be the numeric column reference or $>.
>
> In examples like the following, this would be very convenient though:
>
> | Value 1 | Value 2 | Sum |
> |---------+---------+-----|
> | 1 | 1 | |
> | 3 | 4 | |
> |---------+---------+-----|
> | Average | of sums | |
>
> #+TBLFM: @I$3..@II$3=$1+$2::$3=vmean(@I..@II)
>
> If I remember correctly, it used to work (I found a similar line in
> org documents from June 2015). Is it possible to have this feature
> (back), now officially?
This feature was never introduced, at least in a correct implementation.
At some point, there was something like it, but it was broken and was
consequently removed.
AFAIR, relative references using hlines (e.g., @I) is not well defined
and is therefore difficult to implement. You may want to search the
mailing list archives about it.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2017-02-17 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 10:02 g: Feature request: table formulas: resolve references on LHS [9.0.5 (9.0.5-elpa @ /home/daniel/.emacs.d/elpa/org-20170210/)] Quazgar
2017-02-17 10:14 ` Nicolas Goaziou [this message]
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=87o9y1azuz.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=quazgar@posteo.de \
/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).