emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: New tutorial on using Emacs lisp for Org spreadsheet formulas
Date: Tue, 31 Jan 2012 21:01:26 +0100	[thread overview]
Message-ID: <87pqdzhca1.fsf@Rainer.invalid> (raw)
In-Reply-To: 87aa53u0rz.fsf@gmail.com

Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Multiple #+tblfm: lines would certainly be useful, as there already is
> multiple #+header: lines.

I still think that the syntax for these is unnecessarily clumsy.

> Though, a table and a drawer are different elements. Affiliated keywords
> shouldn't be separated from the element they belong.

Would introducing a different syntax for multiline "keyword" elements
be a possibility?  Like:

:+TBLFM:
 ; There be dragons!
:END:

#+BEGIN_SRC emacs_lisp
:+HEADERS:
  :var data1=1
  :var data2=2
:END:
  (message "data1:%S, data2:%S" data1 data2)
#END_SRC

It should look & feel like a drawer for the user, IMHO.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

  reply	other threads:[~2012-01-31 20:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 17:33 New tutorial on using Emacs lisp for Org spreadsheet formulas Bastien
2012-01-31 18:33 ` Achim Gratz
2012-01-31 19:31   ` Nicolas Goaziou
2012-01-31 20:01     ` Achim Gratz [this message]
2012-01-31 20:55       ` Nicolas Goaziou
2012-02-01  6:27         ` Achim Gratz
2012-02-01 12:39           ` Nicolas Goaziou
2012-02-01  6:10     ` Jude DaShiell
2012-01-31 22:29   ` Carsten Dominik
2012-02-01  6:37     ` Achim Gratz
2012-02-01  6:56       ` Carsten Dominik
2012-02-01  7:03       ` Bastien
2012-02-01 17:29         ` Achim Gratz
2012-02-01  7:14     ` Bastien
2012-02-01 15:39 ` Eric S Fraga

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=87pqdzhca1.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    /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).