* Improving error messages
@ 2003-03-02 13:01 Wolfgang Jaehrling
2003-03-04 21:31 ` Rob Browning
2003-03-19 19:48 ` Marius Vollmer
0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Jaehrling @ 2003-03-02 13:01 UTC (permalink / raw)
Hi!
I think that a weak point of Guile are the error messages, which are
often very terse. This is not much of a problem once you are used to
it and know what the messages refer to, but when I was new to Guile
(and new to Scheme at the same time), this was a major problem for me.
Thus, I decided to try my best to make Guile more newbie-friendly. At
<http://www.8ung.at/shell/guile.patch> you find a very incomplete
patch, and I would like to know if it goes into the right direction at
all: Is this the kind of stuff you would want?
Cheers,
GNU/Wolfgang
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Improving error messages
2003-03-02 13:01 Improving error messages Wolfgang Jaehrling
@ 2003-03-04 21:31 ` Rob Browning
2003-03-19 19:48 ` Marius Vollmer
1 sibling, 0 replies; 5+ messages in thread
From: Rob Browning @ 2003-03-04 21:31 UTC (permalink / raw)
Cc: guile-devel
Wolfgang Jaehrling <pro-linux@gmx.de> writes:
> I think that a weak point of Guile are the error messages, which are
> often very terse. This is not much of a problem once you are used to
> it and know what the messages refer to, but when I was new to Guile
> (and new to Scheme at the same time), this was a major problem for me.
> Thus, I decided to try my best to make Guile more newbie-friendly. At
> <http://www.8ung.at/shell/guile.patch> you find a very incomplete
> patch, and I would like to know if it goes into the right direction at
> all: Is this the kind of stuff you would want?
>From a quick look, it appears pretty good to me. Though I'd like to
hear what someone more familiar with eval.c thinks.
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Improving error messages
2003-03-02 13:01 Improving error messages Wolfgang Jaehrling
2003-03-04 21:31 ` Rob Browning
@ 2003-03-19 19:48 ` Marius Vollmer
2003-03-23 13:04 ` Wolfgang Jaehrling
1 sibling, 1 reply; 5+ messages in thread
From: Marius Vollmer @ 2003-03-19 19:48 UTC (permalink / raw)
Cc: guile-devel
Wolfgang Jaehrling <pro-linux@gmx.de> writes:
> Thus, I decided to try my best to make Guile more newbie-friendly. At
> <http://www.8ung.at/shell/guile.patch> you find a very incomplete
> patch, and I would like to know if it goes into the right direction at
> all: Is this the kind of stuff you would want?
Yes, very much! And even more, we don't need to keep all these
scm_s_expression constants. They only remove the message text from
the point where the message is issued. That's a minor nuisance, I'd
say.
Sooo, if you could continue your work, that would be splendid!
(I s'pose there is no problem getting "the papers" from you, right?)
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Improving error messages
2003-03-19 19:48 ` Marius Vollmer
@ 2003-03-23 13:04 ` Wolfgang Jaehrling
2003-03-23 20:33 ` Marius Vollmer
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Jaehrling @ 2003-03-23 13:04 UTC (permalink / raw)
Cc: guile-devel
On Wed, Mar 19, 2003 at 08:48:12PM +0100, Marius Vollmer wrote:
> Yes, very much! And even more, we don't need to keep all these
> scm_s_expression constants. They only remove the message text from
> the point where the message is issued. That's a minor nuisance, I'd
> say.
Thanks for the suggestion. I like the idea, but the constants are
also declared in eval.h like this:
SCM_API const char scm_s_expression[];
So it seems to me like they are part of the API. (However, if it ever
becomes feasable to internationalize Guile to provide error messages
in the native language of the user, this aspect of the API would most
likely have to be changed anyway in one way or another.)
Any opinions?
> (I s'pose there is no problem getting "the papers" from you, right?)
If I have a working and complete patch and you say that you like it,
I'll have to contact assign@gnu.org, right?
Cheers,
GNU/Wolfgang
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Improving error messages
2003-03-23 13:04 ` Wolfgang Jaehrling
@ 2003-03-23 20:33 ` Marius Vollmer
0 siblings, 0 replies; 5+ messages in thread
From: Marius Vollmer @ 2003-03-23 20:33 UTC (permalink / raw)
Cc: guile-devel
Wolfgang Jaehrling <pro-linux@gmx.de> writes:
> On Wed, Mar 19, 2003 at 08:48:12PM +0100, Marius Vollmer wrote:
> > Yes, very much! And even more, we don't need to keep all these
> > scm_s_expression constants. They only remove the message text from
> > the point where the message is issued. That's a minor nuisance, I'd
> > say.
>
> Thanks for the suggestion. I like the idea, but the constants are
> also declared in eval.h like this:
>
> SCM_API const char scm_s_expression[];
>
> So it seems to me like they are part of the API.
Arghh! Ok, we need to deprecate them first, but we don't need to use
them in eval.c itself.
> (However, if it ever becomes feasable to internationalize Guile to
> provide error messages in the native language of the user, this
> aspect of the API would most likely have to be changed anyway in one
> way or another.)
I guess the string constants are in the API by accident only. You
can't do anything sensible with them.
> > (I s'pose there is no problem getting "the papers" from you, right?)
>
> If I have a working and complete patch and you say that you like it,
> I'll have to contact assign@gnu.org, right?
No, you will be contacted with detailed instructions. Don't call us,
we call you! :-)
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-23 20:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-02 13:01 Improving error messages Wolfgang Jaehrling
2003-03-04 21:31 ` Rob Browning
2003-03-19 19:48 ` Marius Vollmer
2003-03-23 13:04 ` Wolfgang Jaehrling
2003-03-23 20:33 ` Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).