From: Sankalp <sankalpkhare@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: "Phil (Philip) Mason" <phil.mason@broadcom.com>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Using last row in remote table references
Date: Fri, 13 Jan 2012 09:00:03 +0530 [thread overview]
Message-ID: <CABcJk5CkypO+MmFJMqM-hsFzQ4Xt-QrG4HxvnOwbkbu5FbwgrQ@mail.gmail.com> (raw)
In-Reply-To: <CALn3zohTiF_J=5h2axrNLnqRq6ezDBzeZ=Y5=4=94xv=fSHNvw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1632 bytes --]
On 11 January 2012 23:04, Michael Brand <michael.ch.brand@gmail.com> wrote:
> 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
>
>
I'm using org 7.8.03 but the issue is still there.
> > 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
>
>
As mentioned in my emails a while ago, @> still evaluates to the number of
rows in the current table (from where the reference is being made) instead
of the number of rows in the remote table being referenced.
http://imgur.com/4W75H
Sincerely,
--
Sankalp
[-- Attachment #2: Type: text/html, Size: 2940 bytes --]
next prev parent reply other threads:[~2012-01-13 3:30 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
2012-01-13 3:30 ` Sankalp [this message]
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=CABcJk5CkypO+MmFJMqM-hsFzQ4Xt-QrG4HxvnOwbkbu5FbwgrQ@mail.gmail.com \
--to=sankalpkhare@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=michael.ch.brand@gmail.com \
--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.