From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
To: emacs-orgmode@gnu.org
Subject: Re: org table with auto-incrementing numbers in a column
Date: Tue, 16 Feb 2016 08:24:17 +0100 [thread overview]
Message-ID: <87a8n1yv6m.fsf@duenenhof-wilhelm.de> (raw)
In-Reply-To: loom.20160216T071346-143@post.gmane.org
>
> Try this
>
> | N | |
> |---+---|
> | | |
> | | |
> | | |
> | | |
> #+TBLFM: <at>$1..<at>>$1= <at>-1 + 1:: <at>2$1=1
>
I don't know exactly why "N" is *not* erased but the following is
working for me (org 8.2.10).
| N |
|-------|
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
#+TBLFM: $1=@#-1
> Placing point on the TBLFM line and doing C-c C-c should recalculate the
> whole table.
and C-u C-c C-* does it anywhere in the table.
Dieter
--
Best wishes
H. Dieter Wilhelm
Kelkheim, Germany
next prev parent reply other threads:[~2016-02-16 7:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 4:36 org table with auto-incrementing numbers in a column Kaushal Modi
2016-02-16 6:22 ` Derek Feichtinger
2016-02-16 7:24 ` H. Dieter Wilhelm [this message]
2016-02-16 9:16 ` Derek Feichtinger
2016-02-16 16:51 ` Nicolas Goaziou
2016-02-16 9:58 ` Eric S Fraga
2016-02-16 16:28 ` Kaushal Modi
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=87a8n1yv6m.fsf@duenenhof-wilhelm.de \
--to=dieter@duenenhof-wilhelm.de \
--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).