[slim-vim] Compiler Notes
Larry Clapp
larry at theclapp.org
Wed Aug 2 06:58:13 CDT 2006
On Tue, Aug 01, 2006 at 01:31:53PM -0700, Brad Beveridge wrote:
> One of the next items I am planning on tackling is handling compiler
> notes, which are warnings/errors/style warnings, etc.
> Emacs Slime groups the warnings together in a folded up tree, much
> like
> [+] Errors
> [-] Warnings
> - Warning1
> - Warning2
> I can emulate this behaviour, if we really really want it.
You could probably do this pretty easily with folding and associated
functions.
> But I was thinking we probably ought to stick to the Vim way of
> error handling (:help quickfix). I'll order the warnings/errors so
> the errors are first, and then in decreasing order (probably
> warnings then style-warnings).
I'm not familiar with quickfix mode (and don't have time just now to
read the helpfile :( ). That ordering sounds good, though I would
assume that a) for most compilers, notices (errors, warnings, etc)
occur in the same order as the source code, and b) some users would
prefer to see all notices regarding a particular piece of code in the
same place. So, maybe you could provide a hook to override the sort
method? Or perhaps a generic function open to :around-ing or
specialization or something.
-- Larry
More information about the slim-vim
mailing list