guix-devel
[Top][All Lists]
Advanced

[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:00:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Julien Lepiller <address@hidden> skribis:

> I saw that last hint today buveuse I misspelled a type name 
> (dovecot-configurtation). I understand the hint is great when you forget to 
> import a service module, but it's not so great when the error is misspelling. 
> Maybe the solution would be: if the unbound variable is the name of a 
> service, propose using that module, otherwise don't show any hint. 

A hint is nothing more than that, a hint (as opposed to a “solution”),
but maybe you’re right about removing the “Did you forget ‘use-modules’”
hint.

Thoughts?

(Misspelling is where we’d need something using the Levensthein
distance.  I’m sure one could do a PhD on this topic.  :-))

Ludo’.



reply via email to

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