emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <djsinder@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Including row numbers in a table
Date: Sat, 09 Aug 2008 01:16:14 -0700	[thread overview]
Message-ID: <489D524E.9020609@gmail.com> (raw)
In-Reply-To: <87myjmu0ry.fsf@gollum.intra.norang.ca>

Bernt Hansen wrote:
> Bernt Hansen <bernt@norang.ca> writes:
> Last one... *honest*
> 
>   | Row | Data Column 1 | Data Column 2 |
>   |-----+---------------+---------------|
>   |   1 | x1            |               |
>   |   2 | some data     | more data     |
>   |-----+---------------+---------------|
>   |   3 |               |               |
>   |   4 |               |               |
>   |   5 |               |               |
> #+TBLFM: $1=vlen(@I$1..0);EN

Thanks for all three solutions -- I'm using the last one and it 
works great!  (I think the '$1' is superfluous).

Dan

      reply	other threads:[~2008-08-09  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09  4:40 Including row numbers in a table Daniel J. Sinder
2008-08-09  5:59 ` Bernt Hansen
2008-08-09  6:57   ` Bernt Hansen
2008-08-09  7:04     ` Bernt Hansen
2008-08-09  8:16       ` Daniel J. Sinder [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=489D524E.9020609@gmail.com \
    --to=djsinder@gmail.com \
    --cc=bernt@norang.ca \
    --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).