From: Michael Brand <michael.ch.brand@gmail.com>
To: "Phil (Philip) Mason" <phil.mason@broadcom.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Using last row in remote table references
Date: Wed, 11 Jan 2012 18:34:51 +0100 [thread overview]
Message-ID: <CALn3zohTiF_J=5h2axrNLnqRq6ezDBzeZ=Y5=4=94xv=fSHNvw@mail.gmail.com> (raw)
In-Reply-To: <2D76BBD878DB8B49BBE309F15526B38E8042@SJEXCHMB06.corp.ad.broadcom.com>
Hi Phil
On Tue, Jan 10, 2012 at 14:39, Phil (Philip) Mason
<phil.mason@broadcom.com> wrote:
> Should I be able to use @> in references to remote tables?
Yes, this issue has been resolved by Carsten with
release_7.7-420-g1432e4b
> Is there a syntax I should be using if I want to get all the entries
> in a table below a certain row without explicitly entering the
> number of the last row?
The general solution for a Calc formula is e. g. with subvec as I
described here:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00562.html
and in a similar sense as I described for subscr in the subsection
"Dynamic variation of ranges" here:
http://orgmode.org/worg/org-hacks.html#field-coordinates-in-formulas
The general solution for a Lisp formula is e. g. with calc-subvector I
guess.
The following simpler solution is only possible when the range is
relative to the field where the formula is evaluated in and when the
offset to the range border is static:
|---+-----|
| a | abc |
| b | bcd |
| c | cde |
| d | |
| e | |
|---+-----|
#+TBLFM: @<$2..@>>>$2 = '(concat @0$1..@+2$1)
With a remote table you can not use the simple solution.
Michael
next prev parent reply other threads:[~2012-01-11 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 13:39 Using last row in remote table references Phil (Philip) Mason
2012-01-11 17:34 ` Michael Brand [this message]
2012-01-13 3:30 ` Sankalp
2012-01-13 3:51 ` Michael Brand
2012-01-13 4:15 ` Sankalp
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALn3zohTiF_J=5h2axrNLnqRq6ezDBzeZ=Y5=4=94xv=fSHNvw@mail.gmail.com' \
--to=michael.ch.brand@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=phil.mason@broadcom.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.