emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juan Pechiar <juan@pechiar.com>
To: Hendrik Tews <hendrik.tews@kernkonzept.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: horizontal rules in table confuse org-table-iterate
Date: Mon, 7 Jan 2019 14:35:57 -0300	[thread overview]
Message-ID: <20190107173557.GA9594@soloJazz.com> (raw)
In-Reply-To: <87d0p8tru2.fsf@cert.kernkonzept.com>

Hi Hendrik,

Everything above the first hline is considered a table heading, and is
therefore not included in calculations.

This is explained in the docs:
https://orgmode.org/manual/Updating-the-table.html

On Mon, Jan 07, 2019 at 04:23:01PM +0100, Hendrik Tews wrote:
> org-table-iterate does not update tables for me. In the following
> table:
>
> | 1 | 1 |
> | 2 | 2 |
> |---+---|
> | 3 | 4 |
> #+TBLFM: $2=$1+1::@3$1=vsum(@1..@2)
>
> M-x org-table-iterate does not update the table, although I was
> expecting a 2 in cell @1$2. If I delete the horizontal rule, the
> table is updated. Am I doing something wrong?

  reply	other threads:[~2019-01-07 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-07 15:23 horizontal rules in table confuse org-table-iterate Hendrik Tews
2019-01-07 17:35 ` Juan Pechiar [this message]
2019-01-09 22:37 ` Nicolas Goaziou

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=20190107173557.GA9594@soloJazz.com \
    --to=juan@pechiar.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hendrik.tews@kernkonzept.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).