Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange Syrup Emacs Error

11 views
Skip to first unread message

Thomas Dean

unread,
Jan 18, 2012, 4:50:50 PM1/18/12
to
I am using Maple 15, Syrup 0.1.16, Emacs 23.3.1, maplev-mode 2.155
(may be 2.20?)

restart;
if not assigned(maplev_print) then maplev_print := print fi:
interface(prettyprint=1,verboseproc=2,errorbreak=0,
screenheight=infinity,warnlevel=2,errorcursor=false):
kernelopts(printbytes=false):

libname;
"/usr/local/maple11/lib", "/home/tomdean/maple/toolbox/Syrup/lib",
"/home/tomdean/maple/toolbox/emacs/lib"

with(Syrup);
Error, (in with) at offset 7 in `:-4.m`, unexpected DAG type: 0,117,(u)

I omitted the END_OF_INPUT messages.

The last two entries are picked up by maple startup, not my init file.

Syrup works OK from the maple GUI and cmaple.

Tom Dean

Thomas Dean

unread,
Jan 18, 2012, 6:59:52 PM1/18/12
to
On 01/18/12 13:50, Thomas Dean wrote:
>
> libname;
> "/usr/local/maple11/lib", "/home/tomdean/maple/toolbox/Syrup/lib",
> "/home/tomdean/maple/toolbox/emacs/lib"
>
> The last two entries are picked up by maple startup, not my init file.
OOPS. The last two entries in libname.

Tom Dean

Joe Riel

unread,
Jan 19, 2012, 11:54:27 AM1/19/12
to
Thomas Dean <tom...@speakeasy.net> writes:

> I am using Maple 15, Syrup 0.1.16, Emacs 23.3.1, maplev-mode 2.155
> (may be 2.20?)
>
> restart;
> if not assigned(maplev_print) then maplev_print := print fi:
> interface(prettyprint=1,verboseproc=2,errorbreak=0,
> screenheight=infinity,warnlevel=2,errorcursor=false):
> kernelopts(printbytes=false):
>
> libname;
> "/usr/local/maple11/lib", "/home/tomdean/maple/toolbox/Syrup/lib",
> "/home/tomdean/maple/toolbox/emacs/lib"

The first entry (/usr/local/maple11/lib) should not be there.
Are you sure the Maple is Maple15? Execute interface(version)
to confirm what kernel you are running.

Probably you haven't assigned maplev-default-release. That should
be done in your .emacs file:

(setq maplev-default-release "15")

With multiple Maple installed you have to customize
maplev-executable-alist. Mine is

(setq maplev-executable-alist
'(
("16" . ("maple" nil "mint"))
("15" . ("maple15" nil "mint15"))
("14" . ("maple14" nil "mint14"))
("13" . ("maple13" nil "mint13"))))

where I have shell scripts such that maple15 launches the maple 15 tty
version. You might want to do

(setq maplev-executable-alist
'(
( "15" . ("/usr/local/maple15/bin/maple" nil "/usr/local/maple15/bin/mint"))
( "11" . ("/usr/local/maple11/bin/maple" nil "/usr/local/maple11/bin/mint"))))

assuming that's where your maples are installed.


--
Joe Riel

Thomas Dean

unread,
Jan 19, 2012, 12:55:57 PM1/19/12
to
Thanks, that was the problem.

I was running FreeBSD and that worked OK. I booted Linux, worked for a
few hours on another project and then started Maple. Too many OS.

Tom Dean
0 new messages