all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org functions in source blocks
Date: Tue, 13 Dec 2022 22:05:55 +0700	[thread overview]
Message-ID: <5fa56962-58c7-0a5c-3fcf-88922ab8bb65@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2212112211300.121316@shell3.miskatonic.org>

On 12/12/2022 10:23, William Denton wrote:
> On 10 December 2022, Max Nikulin wrote:
> 
>> @I$A and the "remote" function are available in table formulas only. 
...
> I'll be back with more questions eventually,

Using source blocks you may define new functions that you may call from 
table formulas.

You may create an intermediate table to evaluate expressions heavily 
relied on cell ranges and feed this table to another source block as a 
variable.

By the way, a range may be specified when passing a table as a source 
block variable, but it uses another syntax, see

(info "(org)Environment of a Code Block")
https://orgmode.org/manual/Environment-of-a-Code-Block.html

So it is possible to mix table formulas and source code blocks.


      reply	other threads:[~2022-12-13 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09 20:41 Org functions in source blocks William Denton
2022-12-10  2:28 ` Max Nikulin
2022-12-12  3:23   ` William Denton
2022-12-13 15:05     ` Max Nikulin [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5fa56962-58c7-0a5c-3fcf-88922ab8bb65@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wtd@pobox.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.