From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Yet another literate programming application
Date: Mon, 29 Jul 2013 20:00:01 +0200 [thread overview]
Message-ID: <m2mwp5tffi.fsf@polytechnique.org> (raw)
In-Reply-To: <87bo5lnw2q.fsf@gmail.com>
schulte.eric@gmail.com writes:
> Very cool, thanks for sharing. I would note, that one nice thing about
> embedded mode is that there is no need for the #+begin/end_src calc
> blocks, rather the formulas may be placed directly in the Org-mode
> file.
Yes, but I was thinking of exporting the result to something nice, so I
wanted to tell org I was in calc mode. In fact, I'm not sure to like how
calc deals with delimiters: it's not liking the "#+..." if there is no
blank line. I know it's configurable, though.
> Using embedded mode is still fairly awkward for me. I would benefit
> greatly from some sort of quick reference card explaining the key
> bindings and maybe an easier way to switch to/from embedded mode.
Yes, I basically read through the info page. The useful shortcuts I
picked were:
- C-x * u: update the formula (it's almost C-x * e C-x * e, except it
will still work if another formula is currently in embedded mode)
- C-x * d: duplicate the formula and enter embedded calc mode
- s = in calc mode: add the nice => thingy
> I'm not clear on how the even/odd example works in calc, could you share
> a link to the specific manual page you're referencing? I've long felt
> that calc would be a *very* powerful tool, if only I could climb the
> learning curve.
Well, it does not work as such. I don't know how to define mutually
recursive functions in calc, and that was basically my question. (But
then one may then use a real programming language at that point.) The
manual never really defines functions, and it seems that what I want to
do is rewrite things, but I cannot find a way to do it correctly.
Alan
prev parent reply other threads:[~2013-07-29 18:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 12:56 Yet another literate programming application Alan Schmitt
2013-07-29 14:08 ` Eric Schulte
2013-07-29 16:30 ` Alan Schmitt
2013-07-29 16:57 ` Eric Schulte
2013-07-29 18:00 ` Alan Schmitt [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
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=m2mwp5tffi.fsf@polytechnique.org \
--to=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.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 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).