Open gallais opened 6 years ago
Such a mode should perhaps be enabled by default. Experienced users can turn it off if they want to. This can be somewhat awkward when switching between different versions of Agda in the Emacs mode, but I don't want to ask newcomers to customise Emacs before they begin using Agda.
One alternative is to require the use of a flag, but include this flag in the default value of agda2-program-args
. Then it is easy to turn off verbose output, and by default the output on the command-line is not verbose. People who have already customised agda2-program-args
might not discover this new flag, but perhaps that isn't so important.
For example (error message involving with
) see
I was reading an issue on the Idris bug tracker where people were puzzled by the use of "strictly positive". Given that we have great documentation covering these topics (case in point), I think it could be helpful to newcomers to point directly to them from inside our error messages.
This mode could be enabled via a flag e.g.
verbose-errors
.