all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RFE emacs-trunk: It would be nice if occur-mode could have the same functions and keys as compilation-mode and grep-mode
@ 2007-05-23 19:48 Matzi Kratzi
  0 siblings, 0 replies; only message in thread
From: Matzi Kratzi @ 2007-05-23 19:48 UTC (permalink / raw)
  To: emacs-devel

occur-, grep- and compilation-mode provide, once the resulting buffers
are produced, pretty much the same functionality; you get from a copy
of line to the original line.

grep- and compilation-mode share most keys and functionality. I think
it would be nice if occur-mode could be made to share them as well.

I am especially missing compilation-next-error and compilation-previous-error.

Here are the key-maps from what will be 22.1.

/Mats

Occur mode:

key             binding
---             -------

C-c		Prefix Command
RET		occur-mode-goto-occurrence
C-o		occur-mode-display-occurrence
ESC		Prefix Command
c		clone-buffer
g		revert-buffer
o		occur-mode-goto-occurrence-other-window
q		quit-window
r		occur-rename-buffer
z		kill-this-buffer
<mouse-2>	occur-mode-mouse-goto

M-n		occur-next
M-p		occur-prev

C-c C-c		occur-mode-goto-occurrence
C-c C-f		next-error-follow-minor-mode


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Compilation mode:

key             binding
---             -------

C-c		Prefix Command
TAB		compilation-next-error
RET		compile-goto-error
ESC		Prefix Command
SPC		scroll-up
DEL		scroll-down
<backtab>	compilation-previous-error
<follow-link>	mouse-face
<mouse-2>	compile-goto-error

M-n		compilation-next-error
M-p		compilation-previous-error
M-{		compilation-previous-file
M-}		compilation-next-file

C-c C-c		compile-goto-error
C-c C-f		next-error-follow-minor-mode
C-c C-k		kill-compilation


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Grep mode:

key             binding
---             -------

C-c		Prefix Command
TAB		compilation-next-error
RET		compile-goto-error
ESC		Prefix Command
SPC		scroll-up
n		next-error-no-select
p		previous-error-no-select
{		compilation-previous-file
}		compilation-next-file
DEL		scroll-down
<backtab>	compilation-previous-error
<follow-link>	mouse-face
<mouse-2>	compile-goto-error

C-c C-c		compile-goto-error
C-c C-f		next-error-follow-minor-mode
C-c C-k		kill-compilation

M-n		compilation-next-error
M-p		compilation-previous-error
M-{		compilation-previous-file
M-}		compilation-next-file

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-23 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 19:48 RFE emacs-trunk: It would be nice if occur-mode could have the same functions and keys as compilation-mode and grep-mode Matzi Kratzi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.