[Ecls-list] 10.3.1 slime issues

Tobias C. Rittweiler tcr at freebits.de
Mon Mar 8 10:08:24 UTC 2010


Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> writes:

> On Sun, Mar 7, 2010 at 9:17 PM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:
>
>> The same error occurs if I REQUIRE :profile twice at ECL's REPL after
>> commenting out the require line for it from my ~/.eclrc:
>
>
> This I can investigate.
>
> Just for the record, ECL in the default configuration works fine for me.
>
> Unfortunately Slime/CVS has also stopped working for me with Unicode but in
> a different form:
>
> ;; swank:close-connection: Cannot parse an integer in the string "〰〰㍣⠺敭慣".
> ;; Event history start:
> pull-input: #<two-way stream 022b4910> SOCKET-OPEN STDIN-OPEN
> wait-for-event: (COMMON-LISP:OR (:EMACS-REX . SWANK::|_|)
> (:EMACS-CHANNEL-SEND . SWANK::|_|)) T
> close-connection: Cannot parse an integer in the string
> "\x3030\x3030\x3363\x283A\x656D\x6163". ...
> ;; Event history end.
> ;; Backtrace:
> (0 SAFE-BACKTRACE)
> (1 G429)
> (2 UNIVERSAL-ERROR-HANDLER)
> (3 G11)
> (4 UNIVERSAL-ERROR-HANDLER)
> (5 READ-PACKET)
> (6 DECODE-MESSAGE)
> (7 WAIT-FOR-EVENT/EVENT-LOOP)

 make-stream-from-fd in contrib/sockets/socket.lisp contains

(ffi:c-inline (name fd smm-mode) (t :int :int) t
                               "ecl_make_stream_from_fd(#0,#1,(enum ecl_smmode)#2,8,
                                                        ECL_STREAM_DEFAULT_FORMAT,Cnil)"
                               :one-liner t)

I think instead of the DEFAULT_FORMAT you actually must include the
external-format passed to MAKE-STREAM-FROM-FD.

  -T.





More information about the ecl-devel mailing list