From: Derek Thomas <derekcthomas@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Maxima session support
Date: Wed, 6 Jul 2011 17:14:48 -0500 [thread overview]
Message-ID: <CALDRGc9AJQGpv_k_nmxXSiBdvuBFK7oZvmDe8TKq31dDTDeZtw@mail.gmail.com> (raw)
I've been poking around in the ob-maxima.el and maxima.el files and I
believe that maxima.el provides the commands necessary to simulate
session support in org-babel. Unfortunately my elisp skills are
rudimentary and I don't know how to write a function that when called
by C-c C-c in the source block will pass each line of the source block
to the function maxima-send-region and insert the output into the
results portion of the org file using maxima-insert-last-output (both
of these functions are provided by maxima.el). If anyone can point me
in the right direction for a similar function that I can modify, or
can provide a commented example of how this would be done, that would
be great. Thanks,
Derek
next reply other threads:[~2011-07-06 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 22:14 Derek Thomas [this message]
2011-07-08 1:23 ` Maxima session support Eric Schulte
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=CALDRGc9AJQGpv_k_nmxXSiBdvuBFK7oZvmDe8TKq31dDTDeZtw@mail.gmail.com \
--to=derekcthomas@gmail.com \
--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).