[CM] cm/clisp/xemacs

Johannes Quint Johannes.Quint@web.de
Mon, 26 Mar 2007 12:44:15 +0200


--Apple-Mail-1--969839921
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

trying to load cm under windows, i still have problems.
with clisp 2.4.1 under xemacs, i've used the following
startup code:

(add-to-list 'load-path "/lisp/slime-2.0/")
(defvar cm-directory "C:/lisp/cm")

(defvar cm-startfile "cm.bat")

(let* ((els (concat cm-directory "/etc/xemacs"))
       (bin (concat cm-directory "/bin/"
                    cm-startfile))
       (load-path (cons els load-path)))
  (load "listener")
  (load "cm")
  (setq inferior-lisp-program bin))

now, when i try 'M-x cm', i get:
'Searching for program: No such file or directory, cm'
but - strange - i can do 'M-x lisp-mode' and i get a listener,
automatically loading the cm-sources.
this is probably a pathname-problem -
any ideas how to solve it?

j
_________________________

Johannes Quint
Rilkestr.55
D-53225 Bonn
0228 468256
johannes.quint@web.de
www.johannes-quint.de


--Apple-Mail-1--969839921
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">trying to =
load cm under windows, i still have problems.</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">with clisp 2.4.1 under xemacs, i've used the =
following=A0</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">startup code:</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">(add-to-list 'load-path "/lisp/slime-2.0/")</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">(defvar cm-directory "C:/lisp/cm")</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(defvar =
cm-startfile "cm.bat")</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">(let* ((els (concat cm-directory =
"/etc/xemacs"))</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">=A0 =A0 =A0 (bin (concat =
cm-directory "/bin/"</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">=A0=A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 cm-startfile))</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">=A0 =A0 =A0 =
(load-path (cons els load-path)))</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">=A0(load =
"listener")</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">=A0(load "cm")</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">=A0(setq inferior-lisp-program bin))</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">now, =
when i try 'M-x cm', i get:</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">'Searching =
for program: No such file or directory, cm'</DIV><DIV style=3D"margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">but - =
strange - i can do 'M-x lisp-mode' and i get a listener,=A0</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">automatically loading the cm-sources.=A0</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">this is probably a pathname-problem -</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">any=A0ideas how to solve it?</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV>j<BR><DIV> <SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial; =
font-size: 11px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial; =
font-size: 11px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Arial; =
font-size: 11px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><DIV =
style=3D"font-family: Helvetica; font-size: 12px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; =
">_________________________</SPAN></SPAN></SPAN></DIV><DIV =
style=3D"font-family: Helvetica; font-size: 12px; "><BR style=3D"; =
font-family: Times New Roman; font-style: italic; ; font-size: 11px; =
"></DIV><DIV style=3D"font-family: Helvetica; font-size: 12px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; ">Johannes =
Quint</SPAN></SPAN></SPAN></DIV><DIV style=3D"font-family: Helvetica; =
font-size: 12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; ">Rilkestr.55</SPAN></SPAN></SPAN></DIV><DIV style=3D"font-family: =
Helvetica; font-size: 12px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; ">D-53225 =
Bonn</SPAN></SPAN></SPAN></DIV><DIV style=3D"font-family: Helvetica; =
font-size: 12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; ">0228 468256</SPAN></SPAN></SPAN></DIV><DIV style=3D"font-family: =
Helvetica; font-size: 12px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Helvetica; font-size: 12px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; ">johannes.quint@<A =
href=3D"http://web.de">web.de</A></SPAN></SPAN></SPAN></DIV><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; font-size: =
12px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Helvetica; font-size: 12px; =
">www.johannes-quint.de</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN> =
</DIV><BR></BODY></HTML>=

--Apple-Mail-1--969839921--