bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clisp+Emacs


From: Sam Steingold
Subject: Re: Clisp+Emacs
Date: 12 Jun 2001 10:41:52 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104

> * In message <Pine.SUN.3.91.1010612114939.1700O-100000@is>
> * On the subject of "Re: Clisp+Emacs"
> * Sent on Tue, 12 Jun 2001 11:49:57 +0300
> * Honorable eliz@is.elta.co.il (Eli Zaretskii) writes:
>
> On 11 Jun 2001, Eduardo =?iso-8859-1?q?Mu=F1oz?= wrote:
> 
> > Just by removing (set-language-environment "Latin-1")
> > from my .emacs file makes clisp "debug as
> > advertised"  :)
> > 
> > This means that clisp acts in different ways
> > inside a "ms-dos box" and inside an emacs shell or
> > inferior-lisp 
> > 
> > Why?
> 
> Try playing with set-process-coding-system, to set the
> encoding/decoding of I/O between Emacs and the subordinate clisp.
> It's possible that its output includes non-ASCII characters which
> Emacs tries to interpret in a wrong way.

Cool!  Eli - you are brilliant!

Actually, this _is_ the problem - you must put
(modify-coding-system-alist 'process "" 'unix)
into your .emacs (see emacs/clisp-coding.el in the next release).

The reason is that CLISP gets "STEP\r\n" instead of just "STEP\n"
if you do not set the coding system to 'unix.

-- 
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on <http://www.memri.org/>
MS Windows vs IBM OS/2: Why marketing matters more than technology...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]