This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: message primitive


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> "Greg J. Badros" <gjb@cs.washington.edu> writes:
> 
> > SCM_DEFINE (scm_display_error, "display-error", 6, 0, 0,
> >            (SCM stack, SCM port, SCM subr, SCM message, SCM args, SCM rest),
> 
> [Sorry for breaking up my response in small packages.]
> 
> Two further points:
> 
> * Clearification: error and scm-error are for submitting errors while
>   display-error is used at the receiving end to print the error.
> 
> * Probably, `error' should be rewritten in a way that you can pass %s
>   and %S through to scm-error, so that we also get a more simple and
>   user-friendly way of using "%s"-expansion.

Perhaps, but I want to be able to access just the printing functionality 
without the connotation of an error or any of the error handling code.
That error handling code can then use the %simple-message primitive
as it likes, but I'm not forced to hack around the error system just to
do a simple message display.

Greg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]