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
..
2019-07-03 14:49:38 +03:00
2020-05-15 20:15:36 +02:00
2020-05-13 01:34:22 +02:00
2020-04-28 16:11:47 +02:00
2020-05-01 13:05:26 +02:00
2020-05-19 20:50:14 +02:00
2020-05-01 13:05:26 +02:00
2020-05-16 22:25:07 -07:00
2020-04-29 10:28:07 +02:00
2020-05-01 13:05:26 +02:00
2020-03-24 22:21:26 +01:00
2020-05-27 16:29:43 +02:00
2020-04-30 10:36:54 +02:00
2020-05-18 17:58:01 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-13 02:06:03 +02:00
2020-05-15 20:42:15 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-25 09:12:24 +02:00
2020-04-24 20:26:36 +02:00
2020-04-28 10:36:34 +02:00
2020-01-01 00:59:52 +00:00
2020-04-18 18:43:23 +02:00
2020-05-14 18:43:15 +02:00
2020-01-22 07:37:01 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-22 11:45:26 +01:00
2020-01-26 04:11:38 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-30 10:46:54 +01:00
2020-05-20 00:15:11 +01:00
2020-04-19 08:04:57 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-07 11:29:42 -08:00
2020-03-07 12:17:01 -08:00
2020-05-14 18:43:15 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-02-04 02:04:20 +01:00
2020-05-09 20:01:37 +02:00
2020-01-01 00:59:52 +00:00
2020-04-14 02:33:52 +03:00
2020-01-01 00:59:52 +00:00
2020-01-24 23:04:34 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-05-22 15:16:13 +01:00
2020-04-18 17:10:02 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-26 00:30:37 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-16 22:25:07 -07:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-31 12:31:27 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-20 15:52:27 +01:00
2020-04-29 07:50:20 -07:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-14 19:29:14 +02:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-14 18:43:15 +02:00
2020-02-21 11:15:00 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 01:08:16 +00:00
2020-01-01 00:59:52 +00:00
2020-04-28 23:35:52 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-23 14:01:17 +02:00
2020-01-01 00:59:52 +00:00