[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/6] Error reporting and hints for missing modules
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 0/6] Error reporting and hints for missing modules |
Date: |
Sat, 11 Nov 2017 23:02:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
myglc2 <address@hidden> skribis:
> On 11/10/2017 at 00:04 Ludovic Courtès writes:
>>
>> Thrilled by this idea, I pushed an unbound-variable handler that can
>> provide hints, such as:
>>
>> configuration.scm:88:19: zip: unbound variable
>> hint: Try adding `(use-modules (gnu packages compression))'.
>>
>> Feedback welcome!
>
> I built and played with this. If I follow some of the hints literally
> they lead me astray. Here are some suggested hint rewording.
Again, it’s a hint, it could be wrong.
So perhaps that’s a good reason for “Did you mean xyz?”, ending with a
question mark (like GCC does), rather than a sentence that looks
assertive.
In the example above, it may be less confusing if we write:
Did you forget (use-modules …)?
With the question mark, the user understands that this may or may not be
the cause of the error.
Thoughts?
Ludo’.
- Re: [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros., (continued)
- Re: [PATCH 0/6] Error reporting and hints for missing modules, julien lepiller, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/08
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/09
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/10
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Julien Lepiller, 2017/11/10
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/11
- Re: [PATCH 0/6] Error reporting and hints for missing modules,
Ludovic Courtès <=
- Re: [PATCH 0/6] Error reporting and hints for missing modules, myglc2, 2017/11/13
- Re: [PATCH 0/6] Error reporting and hints for missing modules, Ludovic Courtès, 2017/11/30
- Re: The usability of Guix configurations, Hartmut Goebel, 2017/11/07
Re: The usability of Guix configurations, myglc2, 2017/11/06
Re: The usability of Guix configurations, myglc2, 2017/11/06
Re: The usability of Guix configurations, myglc2, 2017/11/07
Re: The usability of Guix configurations, Ludovic Courtès, 2017/11/07