1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-02 05:32:08 -08:00
emacs/lisp/progmodes
Tino Calancha 9380a7ed90 Add command to recenter errors from Occur/Grep buffers
To scroll up/down the current displayed occurrence/error
without abandon the Occur/Grep buffer.

Add also a command 'recenter-other-window' to recenter
the other window from any kind of buffer.

* lisp/window.el (recenter-other-window): New command.
Bind recenter-other-window to S-M-C-l (Bug#46119).

* lisp/simple.el (recenter-current-error): New command.
* lisp/progmodes/grep.el (grep-mode-map):
Delete bidings for n and p.

* lisp/progmodes/compile.el (compilation-minor-mode-map):
Move here the n and p bindings.
Bind `recenter-current-error' to l.
* lisp/replace.el (occur-mode-map):
Same.

* doc/emacs/windows.texi (Other Window):
* doc/emacs/display.texi (Recentering):
Document recenter-other-window.

* etc/NEWS (Changes in Specialized Modes and Packages in Emacs 28.1):
Announce the changes.
2021-02-07 16:51:07 +01:00
..
antlr-mode.el Assume font-lock-mode variable is not void 2021-02-05 01:15:02 +01:00
asm-mode.el Fix fill-paragraph in asm-mode 2021-01-28 07:34:10 +01:00
autoconf.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
bat-mode.el * lisp/progmodes/bat-mode.el: Use lexical-binding. 2021-01-28 21:57:51 +01:00
bug-reference.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-align.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-awk.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-bytecomp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-cmds.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-defs.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-engine.el CC Mode: Prevent "const" inside an identifier being recognized as the keyword 2021-02-02 20:34:42 +00:00
cc-fonts.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-guess.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-langs.el CC Mode: Prevent "const" inside an identifier being recognized as the keyword 2021-02-02 20:34:42 +00:00
cc-menus.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-mode.el Merge from origin/emacs-27 2021-01-01 01:28:16 -08:00
cc-styles.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-vars.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cfengine.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cl-font-lock.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cmacexp.el Remove some unnecessary references to Emacs 18 2021-02-05 02:27:57 +01:00
compile.el Add command to recenter errors from Occur/Grep buffers 2021-02-07 16:51:07 +01:00
cperl-mode.el cperl-mode: eliminate dead code 2021-02-04 20:52:29 +01:00
cpp.el Prefer defvar-local in progmodes/*.el 2021-01-31 20:08:25 +01:00
cwarn.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dcl-mode.el Remove Emacs 19 compat code from dcl-mode.el 2021-02-05 02:21:50 +01:00
ebnf-abn.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf-bnf.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf-dtd.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf-ebx.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf-iso.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf-otz.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf-yac.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ebnf2ps.el Prefer defvar-local in progmodes/*.el 2021-01-31 20:08:25 +01:00
ebrowse.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
elisp-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
etags.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
executable.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
f90.el Remove some unnecessary references to Emacs 18 2021-02-05 02:27:57 +01:00
flymake-cc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
flymake-proc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
flymake.el flymake-diagnostic-beg/end doc string and error reporting improvement 2021-01-29 07:15:35 +01:00
fortran.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gdb-mi.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
glasses.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
grep.el Add command to recenter errors from Occur/Grep buffers 2021-02-07 16:51:07 +01:00
gud.el Prefer defvar-local in progmodes/*.el 2021-01-31 20:08:25 +01:00
hideif.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
hideshow.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
icon.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
idlw-complete-structtag.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
idlw-help.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
idlw-shell.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
idlw-toolbar.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
idlwave.el Assume font-lock-mode variable is not void 2021-02-05 01:15:02 +01:00
inf-lisp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
js.el Prefer defvar-local in progmodes/*.el 2021-01-31 20:08:25 +01:00
ld-script.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
m4-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
make-mode.el Fontize more automatic variables in makefile-gmake-mode 2021-02-05 13:08:50 +01:00
meta-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
mixal-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
modula2.el Prefer setq-local in several progmodes 2020-12-06 10:06:22 +01:00
octave.el Revert "Fix inferior octave single-quote font lock" 2021-02-07 15:12:15 +01:00
opascal.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
pascal.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
perl-mode.el perl-mode.el: Eliminate keywords which are not in Perl. 2021-01-28 04:22:21 +01:00
prog-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
project.el Revert "Fix the previous change" 2021-02-06 22:59:00 +02:00
prolog.el Make font locking work in mercury-mode 2021-01-10 15:04:48 +01:00
ps-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
python.el Deactivate region in `C-c C-r' in python-mode 2021-02-04 18:24:34 +01:00
ruby-mode.el ruby-syntax-propertize: Fix certain cases following :: 2021-02-02 03:48:04 +02:00
scheme.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sh-script.el Prefer defvar-local in progmodes/*.el 2021-01-31 20:08:25 +01:00
simula.el Remove some unnecessary references to Emacs 19 2021-02-04 05:28:00 +01:00
sql.el Assume font-lock-mode variable is not void 2021-02-05 01:15:02 +01:00
subword.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
tcl.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
vera-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
verilog-mode.el Assume font-lock-mode variable is not void 2021-02-05 01:15:02 +01:00
vhdl-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
which-func.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xref.el Make sure default-directory relates to the originating buffer 2021-02-04 22:05:59 +02:00
xscheme.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00