emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [bug] removing last column with a column formula
Date: Tue, 9 Aug 2011 16:54:09 +0200	[thread overview]
Message-ID: <CALn3zoiayqp2WwpsK1Wp11BjLj=dQgtbBYb2cp5PaRb7o+i7xg@mail.gmail.com> (raw)
In-Reply-To: <87zkjilpej.fsf@gmail.com>

Hi Nicolas

Columns and rows are better referenced with "<" and ">" in many cases
to avoid such oddities:

#+begin_src org
| 1 | 2 | 3 |
| 1 | 2 | 3 |
#+TBLFM: @2$<..@2$>=@1
#+end_src

http://orgmode.org/manual/References.html#References

Michael

On Tue, Aug 9, 2011 at 14:50, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
>
> Let's consider the following table:
>
> #+begin_src org
> | 1 | 2 | 3 |
> | 1 | 2 | 3 |
> #+TBLFM: @2$1..@2$3=@1
> #+end_src
>
> If I remove the second column (M-S-Left), the formula is correctly
> updated. But when I remove the last column, the formula gets partly
> deleted and becomes:
>
>                            #+TBLFM: @2$1..
>
> Also, if this times, the first column is removed, that line becomes:
>
>                      #+TBLFM: @2$INVALID..@2$2=@1
>
> This is with latest Org and no user configuration.

  reply	other threads:[~2011-08-09 14:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09 12:50 [bug] removing last column with a column formula Nicolas Goaziou
2011-08-09 14:54 ` Michael Brand [this message]
2011-08-10  8:46   ` Nicolas Goaziou
2011-08-24 18:29 ` Bastien
2011-08-25  6:20   ` Carsten Dominik
2011-08-25  8:09     ` Bastien

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='CALn3zoiayqp2WwpsK1Wp11BjLj=dQgtbBYb2cp5PaRb7o+i7xg@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).