1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 10:51:29 -08:00
emacs/etc
Tino Calancha abe7c22da9 occur: Add bindings for next-error-no-select
Make the navigation in the occur buffer closer
to the navigation in the compilation buffer.

Add bindings to navigate the occur matches (Bug#39121).
Honor `next-error-highlight' and `next-error-highlight-no-select'
when navigating the occurrences.

* lisp/replace.el (occur-highlight-regexp, occur-highlight-overlay):
New variables.
(occur-1): Set `occur-highlight-regexp' to the searched regexp.
(occur-goto-locus-delete-o, occur--highlight-occurrence): New defuns.
(occur-mode-display-occurrence, occur-mode-goto-occurrence):
Use `occur--highlight-occurrence'.
(occur-mode-map): Bind n to `next-error-no-select'
and p to `previous-error-no-select'

* etc/NEWS (Changes in Specialized Modes and Packages in Emacs 28.1):
Announce this change.

* test/lisp/replace-tests.el (replace-tests-with-highlighted-occurrence):
Add helper macro.
(occur-highlight-occurrence): Add test.
2020-05-31 12:31:27 +02:00
..
charsets
e
forms Use lexical-binding in forms.el example files 2020-04-25 07:59:28 +02:00
gnus
images
nxml
org
refcards
schema
srecode Add and remove backslashes in regexps 2020-02-20 16:03:30 +01:00
themes Merge from origin/emacs-27 2020-05-16 10:29:14 -07:00
tutorials
AUTHORS ; Update etc/AUTHORS 2020-04-14 18:33:50 +02:00
CALC-NEWS
ChangeLog.1
compilation.txt javac support in compilation-parse-errors rules 2020-04-01 03:04:31 +03:00
COPYING
DEBUG ; bug#39779: Fix some typos in documentation. 2020-02-28 15:21:55 +02:00
DEVEL.HUMOR
DISTRIB
edt-user.el * etc/edt-user.el: Use lexical-binding. 2020-04-24 11:48:25 +02:00
emacs-buffer.gdb
emacs.appdata.xml
emacs.desktop
emacs.icon
emacs.service
enriched.txt
ERC-NEWS
ETAGS.EBNF
ETAGS.README
future-bug
gnus-tut.txt
grep.txt
HELLO
HISTORY
JOKES
MACHINES
MH-E-NEWS
NEWS occur: Add bindings for next-error-no-select 2020-05-31 12:31:27 +02:00
NEWS.1-17
NEWS.18
NEWS.19
NEWS.20
NEWS.21
NEWS.22
NEWS.23
NEWS.24
NEWS.25 * etc/NEWS.25: Belatedly announce upcase-dwim and downcase-dwim. 2020-05-27 14:09:23 -04:00
NEWS.26
NEWS.27 Adjust NEWS for revert of eshell fix on emacs-27 (Bug#41370) 2020-05-27 13:00:05 -04:00
NEXTSTEP
NXML-NEWS
ORG-NEWS
package-keyring.gpg
PROBLEMS ; * etc/PROBLEMS: Add note about color list issues on macOS. 2020-05-20 21:25:01 +01:00
ps-prin0.ps
ps-prin1.ps
publicsuffix.txt
README
rgb.txt
ses-example.ses
spook.lines
TERMS
TODO ; * etc/TODO (Ligatures): Update the entry based on recent discussions. 2020-05-23 11:01:09 +03:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2020 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)