flycheck/flycheck — pull request #230 by lunaryorn (2013-12-20 10:42:26+00:00)
Title: Improve or replace compilation-mode on error-list.

flycheck-error-list-mode derives from compilation-mode currently.

This provides error navigation.
One can jump to current error by pointing and clicking error message on error-list.

But unfortunately in it's current state there is a lot of misleading side effects when using compilation-mode with error list.

1. compilation-mode adds "Compile" menu on menu-bar.
Unfortunately:

- "Compile" - this name is misleading as we don't compile buffer.

- "Compile..." from menu works but usually has no use on current buffer, while we actually do not compile.

- "Recompile" - as above.

Sometimes it works, but sometimes it reports:
- "Next error" - user-error: Moved past last error
- "Previous error" - user-error: Moved back before first error
- "First error" - user-error: Moved back before first error

But while it works it's still a little buggy: "First error" jumps to... second error.

- "Stop compilation" - has no use here.

2. compilation-mode provides it's own keymap which is also inconsistent with flycheck or provides kemaps that just doesn't work. For example:

M-} - compilation-next-file
M-{ - compilation-previous-file
DEL - scroll-down-command
S-SPC - scroll-down-command
SPC - scroll-up-command