[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: load-port error?
From: |
Dale P. Smith |
Subject: |
Re: load-port error? |
Date: |
Sat, 06 Jan 2001 08:30:17 -0500 |
Stefan Petersen wrote:
>
> 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.
Yes. I found this out too. If you (debug-enable 'backtrace) you get
better error messages, but I don't thing there is any way to get at the
line and column from the handler.
-Dale
--
Dale P. Smith
Altus Technologies Corporation
address@hidden
440-746-9000 x309