grep-mode-map
grep-mode-map is a variable defined in `
grep.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Keymap for grep buffers.
`compilation-minor-mode-map' is a cdr of this.
Value:
(keymap
(menu-bar keymap
(grep "Grep" keymap
(compilation-next-error menu-item "Next Match" next-error :help "Visit the next match and corresponding location")
(compilation-previous-error menu-item "Previous Match" previous-error :help "Visit the previous match and corresponding location")
(compilation-first-error menu-item "First Match" first-error :help "Restart at the first match, visit corresponding location")
(compilation-recompile menu-item "Repeat grep" recompile :help "Run grep again")
(compilation-grep menu-item "Another grep..." grep :help "Run grep, with user-specified args, and collect output in a buffer.")
(compilation-grep-find menu-item "Grep via Find..." grep-find :help "Run grep via find, with user-specified args")
(compilation-lgrep menu-item "Local grep..." lgrep :help "User-friendly grep in a directory")
(compilation-rgrep menu-item "Recursive grep..." rgrep :help "User-friendly recursive grep in directory tree")
(compilation-compile menu-item "Compile..." compile :help "Compile the program including the current buffer. Default: run `make'")
(compilation-separator2 "----")
(compilation-kill-compilation menu-item "Kill Grep" kill-compilation :help "Kill the currently running grep process")
"Grep"))
(backtab . compilation-previous-error)
(9 . compilation-next-error)
(125 . compilation-next-file)
(123 . compilation-previous-file)
(112 . previous-error-no-select)
(110 . next-error-no-select)
(13 . compile-goto-error)
(3 keymap
(6 . next-error-follow-minor-mode))
(127 . scroll-down-command)
(33554464 . scroll-down-command)
(32 . scroll-up-command)
keymap
(menu-bar keymap
(compilation "Errors" keymap
(compilation-next-error menu-item "Next Error" next-error :help "Visit next `next-error' message and corresponding source code")
(compilation-previous-error menu-item "Previous Error" previous-error :help "Visit previous `next-error' message and corresponding source code")
(compilation-first-error menu-item "First Error" first-error :help "Restart at the first error, visit corresponding source code")
(compilation-mode-separator2 "----")
(compilation-skip "Skip Less Important Messages" keymap
(compilation-skip-warning-and-info menu-item "Skip Warnings and Info"
(lambda nil
(interactive)
(customize-set-variable 'compilation-skip-threshold 2))
:help "Skip over Warnings and Info, stop for errors" :button
(:radio eq compilation-skip-threshold 2))
(compilation-skip-info menu-item "Skip Info"
(lambda nil
(interactive)
(customize-set-variable 'compilation-skip-threshold 1))
:help "Skip anything less than warning" :button
(:radio eq compilation-skip-threshold 1))
(compilation-skip-none menu-item "Don't Skip Any Messages"
(lambda nil
(interactive)
(customize-set-variable 'compilation-skip-threshold 0))
:help "Do not skip any type of messages" :button
(:radio eq compilation-skip-threshold 0))
"Skip")
(compilation-next-error-follow-minor-mode menu-item "Auto Error Display" next-error-follow-minor-mode :help "Display the error under cursor when moving the cursor" :button
(:toggle . next-error-follow-minor-mode))
(compilation-mode-separator3 "----")
(stop-subjob menu-item "Stop Compilation" kill-compilation :help "Kill the process made by the M-x compile or M-x grep commands")
"Errors"))
(103 . recompile)
(27 keymap
(125 . compilation-next-file)
(123 . compilation-previous-file)
(112 . compilation-previous-error)
(110 . compilation-next-error))
(15 . compilation-display-error)
(13 . compile-goto-error)
(3 keymap
(11 . kill-compilation)
(3 . compile-goto-error))
(follow-link . mouse-face)
(mouse-2 . compile-goto-error)
keymap
(103 . revert-buffer)
(60 . beginning-of-buffer)
(62 . end-of-buffer)
(104 . describe-mode)
(63 . describe-mode)
(127 . scroll-down-command)
(33554464 . scroll-down-command)
(32 . scroll-up-command)
(113 . quit-window)
(57 . digit-argument)
(56 . digit-argument)
(55 . digit-argument)
(54 . digit-argument)
(53 . digit-argument)
(52 . digit-argument)
(51 . digit-argument)
(50 . digit-argument)
(49 . digit-argument)
(48 . digit-argument)
(45 . negative-argument)
(remap keymap
(self-insert-command . undefined)))