From: Texaner
Subject: My first compilation with Slime
Date: 
Message-ID: <1180133585.006688.162380@o5g2000hsb.googlegroups.com>
Dear all,

till today I never used the compilation option. I always only
evaluated my code.

When I try to compile my file I receive the following error message:

decoding error on stream
#<SB-SYS:FD-STREAM for "file /Users/deroxman/Documents/Programme/MCP/
MCP.lisp" {11E72DC1}>
(:EXTERNAL-FORMAT :UTF-8):
  the octet sequence (228 114 41) cannot be decoded.
   [Condition of type SB-INT:STREAM-DECODING-ERROR]

Restarts:
  0: [ATTEMPT-RESYNC] Attempt to resync the stream at a character
character boundary and continue.
  1: [FORCE-END-OF-FILE] Force an end of file.
  2: [ABORT] Abort SLIME compilation.
  3: [ABORT-REQUEST] Abort handling SLIME request.
  4: [ABORT] Exit debugger, returning to top level.

Does anybody know what has to be done?

Thank you very much in advance.

From: Pascal Bourguignon
Subject: Re: My first compilation with Slime
Date: 
Message-ID: <87iraghzwt.fsf@thalassa.lan.informatimago.com>
Texaner <·········@web.de> writes:

> Dear all,
>
> till today I never used the compilation option. I always only
> evaluated my code.
>
> When I try to compile my file I receive the following error message:
>
> decoding error on stream
> #<SB-SYS:FD-STREAM for "file /Users/deroxman/Documents/Programme/MCP/
> MCP.lisp" {11E72DC1}>
> (:EXTERNAL-FORMAT :UTF-8):
>   the octet sequence (228 114 41) cannot be decoded.
>    [Condition of type SB-INT:STREAM-DECODING-ERROR]
>
> Restarts:
>   0: [ATTEMPT-RESYNC] Attempt to resync the stream at a character
> character boundary and continue.
>   1: [FORCE-END-OF-FILE] Force an end of file.
>   2: [ABORT] Abort SLIME compilation.
>   3: [ABORT-REQUEST] Abort handling SLIME request.
>   4: [ABORT] Exit debugger, returning to top level.
>
> Does anybody know what has to be done?

Either convert the file MCP.lisp into utf-8 (I would advise that,
convert all files to UTF-8!).  Or give the right external-format. If
it is an ISO-8859-1 file, try:

(load "/Users/deroxman/Documents/Programme/MCP/MCP.lisp"
       :external-format :iso-8859-1)

You may also set it by default:

(SETF SB-IMPL::*DEFAULT-EXTERNAL-FORMAT* :ISO-8859-1)


> Thank you very much in advance.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.
From: Texaner
Subject: Re: My first compilation with Slime
Date: 
Message-ID: <1180181727.444727.256410@q75g2000hsh.googlegroups.com>
That information helped.

To be honest, the only reason why I used compile the first time is
because I experienced that only then M-. and M-, works.

Thanks.