emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Bernd Weiss <bernd.weiss@uni-koeln.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] Maxima code blocks do not work
Date: Wed, 29 Jun 2011 17:32:25 +0100	[thread overview]
Message-ID: <8739is61k6.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4E08EA0C.1080305@uni-koeln.de> (Bernd Weiss's message of "Mon, 27 Jun 2011 16:37:32 -0400")

Bernd Weiss <bernd.weiss@uni-koeln.de> writes:

[...]

> Hi Eric,
>
> Again, thanks a lot for your help!

You're very welcome!

> Okay, it definitely is a Windows problem. If I run the following command
> in a cygwin shell, everything works as expected:
>
> maxima --very-quiet -r
> 'batchload("c:/Users/weiss/AppData/Local/Temp/babel-17716aLH/maxima-17716hCp")$'
> nil
>
> However, it does not work in a Windows shell. But this is no longer an
> org issue.
>
> Bernd

Actually, it is still an org issue, albeit one which requires input from
those with much more Windows knowledge than I have.  It's an org issue
because I think we do (or should) strive to have org, as a whole, work
on any system that runs Emacs?  

There are only two arguments to the maxima invocation above:
=--very-quiet= to minimise the amount of superfluous output and =-r= to
ask maxima to execute the following maxima command ("batchload(...)")
which is what tells maxima to execute commands from the file that babel
creates.

If you (anybody) can figure out the magic incantation necessary to
invoke maxima on Windows and have it execute commands from a file, it
should be straightforward to upgrade the =ob-maximal.el= file to use the
right incantation depending on the operating system.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.510.g56080)

  reply	other threads:[~2011-06-29 17:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27 20:37 [babel] Maxima code blocks do not work Bernd Weiss
2011-06-29 16:32 ` Eric S Fraga [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-24 18:07 Bernd Weiss
2011-06-27  8:34 ` Eric S Fraga
2011-06-27 12:22   ` Bernd Weiss
2011-06-27 14:32     ` 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=8739is61k6.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bernd.weiss@uni-koeln.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).