emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: James Harkins <jamshark70@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Table cell refs with @0 or $0 are broken
Date: Wed, 04 Apr 2012 13:17:54 -0400	[thread overview]
Message-ID: <5119.1333559874@alphaville> (raw)
In-Reply-To: Message from James Harkins <jamshark70@gmail.com> of "Wed, 04 Apr 2012 17:35:29 +0800." <874nszzvoe.wl%jamshark70@dewdrop-world.net>

James Harkins <jamshark70@gmail.com> wrote:

> Don't know if this is fixed in a later org update, but -- the online
> org manual says that you can refer to table cells in the current row
> or column using @0 and $0 respectively, but that's definitely not
> working on my machine.
> 
> ** Works
> | 1.0 |
> | 2.0 |
> |  3. |
> #+TBLFM: @>$1=vsum(@1..@2)
> 
> ** Broken: "Not in table data field"
> | 1.0 |
> | 2.0 |
> |     |
> #+TBLFM: @>$1=vsum(@1$0..@2$0)
> 
> It's not a critical issue because it does work to omit $0 -- so my
> immediate problem is solved (getting the sum to calculate). But it
> costs a little extra time because either a/ the manual is wrong or b/
> $0 is supposed to work and there's a bug.
> 

Did this ever work? I've spot-checked back to 6.36c and I cannot find
a release where it actually worked: assuming I haven't made a mistake,
it seems to be an implementation oversight, rather than some patch
specifically breaking the functionality. 

Nick

  reply	other threads:[~2012-04-04 17:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04  9:35 Table cell refs with @0 or $0 are broken James Harkins
2012-04-04 17:17 ` Nick Dokos [this message]
2012-04-04 20:24   ` Christian Moe
2012-04-04 20:59     ` Nick Dokos
2012-04-04 21:05     ` Nick Dokos
2012-04-04 21:13       ` Christian Moe
2012-04-04 22:36         ` Nick Dokos
2012-04-09 18:07           ` Bastien
2012-04-09 18:13             ` Nick Dokos
2012-04-09 18:19               ` Bastien
2012-04-05  0:35   ` James Harkins

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=5119.1333559874@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@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).