lilypond-devel
[Top][All Lists]
Advanced

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

Re: [GLISS] - alternative viewpoint


From: Jan Nieuwenhuizen
Subject: Re: [GLISS] - alternative viewpoint
Date: Sat, 15 Sep 2012 12:11:48 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (gnu/linux)

David Kastrup writes:

>> Is there any
>> possibility to fine-tune this as requested by Phil, in particular,
>> emitting the right usage as an example in the error message?
>
> You mean, currently we basically see the default error message from the
> parser generator.  Improving this involves basically accepting errors in
> input and acting on them by putting out hand-tailored messages.

Hopefully stating the obvious...to me, please be careful to keep
mentioning the actual error condition.

It can be very helpful to add error states and hand-tailor messages, and
even a usage example or suggestion may be helpful... if the suggestion
has a very high guestimate of being right.

Some softwares replace the actual error condition -- with whatever good
intention -- by a user friendly message that guessed wrong.  Ugh.

Also, more and more google is your friend with error messages, even or
especially if they're cryptic.  Hmm, people may not know that.  What if
upon error, after the error message, LilyPond prints google's first hit:
and by the way, this is what Google thinks about your problem. ;-)

Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  



reply via email to

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