[slime-devel] Re: stream-file-position in CCL

shmargolis at gmail.com shmargolis at gmail.com
Wed Sep 3 14:17:02 UTC 2008


On Sun, Aug 31, 2008 at 2:54 AM, Michael Weber <michaelw+slime at foldr.org> wrote:
...
> trivial-gray-streams calls this function STREAM-FILE-POSITION, as do CMUCL,
> SBCL, LispWorks
> <http://www.lispworks.com/documentation/lw51/LWRM/html/lwref-619.htm>, and
> ACL <http://www.franz.com/support/documentation/current/doc/streams.htm>.

ACL 8.1 doesn't seem to implement a function STREAM-FILE-POSITION,
despite the referenced documentation. When ACL tries to import
*gray-stream-symbols* from EXCL, it fails to find that function. In
analogy to the conditionals for :stream-line-length, I made
:stream-file-position conditional in the list of *gray-stream-symbols*
in swank-backend.lisp. I offer the difference below, but don't know if
that's the best approach.

Thanks,

Steve

Index: swank-backend.lisp
===================================================================
RCS file: /project/slime/cvsroot/slime/swank-backend.lisp,v
retrieving revision 1.149
diff -r1.149 swank-backend.lisp
208c208
<     :stream-file-position
---
>     #-allegro :stream-file-position



More information about the slime-devel mailing list