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: Wed, 01 Feb 2012 07:27:29 +0100	[thread overview]
Message-ID: <87pqdzt6em.fsf@Rainer.invalid> (raw)
In-Reply-To: 87sjivsiax.fsf@gmail.com

Nicolas Goaziou <n.goaziou@gmail.com> writes:
> I don't see what is clumsy with affiliated keywords.

Well, you write the arguments before starting the source block, getting
everything wardbacks (and I don't think that's easier to parse, but you
would know better(*)).  Then there is the verbosity of the headers
themselves, but that's an argument based on aesthetics.  Last but not
least I can never remember if any of the "#+" stuff is supposed to end
with a ":" and whether it wants another ":" in front of the arguments or
not.

(*) Reminds me I'll have to try what happens if I write header arguments
that are detached from the source block.  Devious, I know, but the
manual does not really specify anything.

>> #+BEGIN_SRC emacs_lisp
>> :+HEADERS:
>>   :var data1=1
>>   :var data2=2
>> :END:
>>   (message "data1:%S, data2:%S" data1 data2)
>> #END_SRC
>
> Src-blocks are elements. As such, they can't contain drawers.

If you look carefully, that source block above does not contain a
drawer.  It has a (hypothetical) associated multiline header argument
that happens to look and feel like a drawer.

> Though, drawers can contain src-blocks.

Is there any specification that they must fully contain them?

Anyway, that was just an idea and if nobody likes it, that's fine with
me, too.


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

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

  reply	other threads:[~2012-02-01  6:27 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
2012-01-31 20:55       ` Nicolas Goaziou
2012-02-01  6:27         ` Achim Gratz [this message]
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=87pqdzt6em.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).