guile-user
[Top][All Lists]
Advanced

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

Re: load-port error?


From: Stefan Petersen
Subject: Re: load-port error?
Date: Sat, 6 Jan 2001 11:54:12 +0100 (CET)

Hello Martin,

On Sat, 6 Jan 2001, Martin Grabmueller wrote:

> > I tried to use port-column and port-line and getting port from
> > current-load-port, but current-load-port returned #f.
> 
> I think current-load-port is only defined during the loading
> operation, so when do you try to get at it?  In the handler?

Yes, I try to access in the error handler. I looked at the guile source
and there is some kind of "port swapping" going on that I don't understand.

Regards,
/Stefan
/----------------------------------\
! Stefan Petersen, MSc EE         !  \    
! http://www.stacken.kth.se/~spe/ !    \_________________________
! address@hidden              !    /  ! umop apisdn 'sdoo !
! address@hidden         !  /    ---------------------
\----------------------------------/





reply via email to

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