emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jarmo Hurri <jarmo.hurri@syk.fi>
To: emacs-orgmode@gnu.org
Subject: Preserving the geometry of a table range
Date: Sun, 26 Aug 2012 09:54:14 +0300	[thread overview]
Message-ID: <87lih25ejt.fsf@syk.fi> (raw)


Greetings.

If you pass a table range to an elisp function in a tblfm - say, using
remote - the values in the range seem to be passed to the function as a
single list. Thus the geometry of the region is lost. Is it possible to
return a list of lists, e.g., a list of rows instead? Is this supported
by some notation in a tblfm formula? If not, could we have something
like this?

I ran into this problem while trying to make a contribution by
implementing functions corresponding to vlookup and hlookup in
traditional spreadsheets.  I have only used relatively basic properties
of org, so there might be a simple solution that I just don't know.

--

Jarmo

             reply	other threads:[~2012-08-26  6:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-26  6:54 Jarmo Hurri [this message]
2012-08-26  7:10 ` Michael Brand
2012-08-26  8:45   ` Jarmo Hurri
2012-08-26 18:58     ` Michael Brand
2012-08-27 12:33 ` Michael Brand
2012-09-02 14:53   ` Small contrib: lookup (was "Preserving the geometry of a table range") Jarmo Hurri

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=87lih25ejt.fsf@syk.fi \
    --to=jarmo.hurri@syk.fi \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Preserving the geometry of a table range' \
    /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

Code repositories for project(s) associated with this 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).