[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ba0e4f3: Merge from origin/emacs-28
From: |
Stefan Kangas |
Subject: |
master ba0e4f3: Merge from origin/emacs-28 |
Date: |
Tue, 9 Nov 2021 01:16:39 -0500 (EST) |
branch: master
commit ba0e4f3ad3f0605a99b497e2a375a1e1cfacb35c
Merge: 3808cb8 307d164
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Merge from origin/emacs-28
307d164c9c * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "...
818211ed89 * doc/emacs/search.texi (Isearch Yank): Add isearch-forwar...
# Conflicts:
# etc/NEWS
---
doc/emacs/search.texi | 10 ++++++++++
etc/NEWS.28 | 36 +++++++++++++++++++-----------------
lisp/mouse.el | 2 +-
3 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index f6d9cb3..fbbb1f6 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -337,6 +337,16 @@ value of the variable @code{search-upper-case} (@pxref{Lax
Search,
search-upper-case}) is other than @code{not-yanks}, that disables this
down-casing.
+@kindex M-s M-.
+@findex isearch-forward-thing-at-point
+ To begin a new incremental search with the text near point yanked
+into the initial search string, type @kbd{M-s M-.} that runs the
+command @code{isearch-forward-thing-at-point}. If the region was
+active, then it yanks the text from the region into the search string.
+Otherwise, it tries to yank a URL, a symbol or an expression found
+near point. What to yank is defined by the user option
+@code{isearch-forward-thing-at-point}.
+
@node Error in Isearch
@subsection Errors in Incremental Search
diff --git a/etc/NEWS.28 b/etc/NEWS.28
index 9ed340a..1d1b37a 100644
--- a/etc/NEWS.28
+++ b/etc/NEWS.28
@@ -1254,6 +1254,14 @@ Like 'search-highlight-submatches', this is controlled
by the new user option
'query-replace-highlight-submatches'.
+++
+*** New key 'M-s M-.' starts isearch looking for the thing at point.
+This key is bound to the new command 'isearch-forward-thing-at-point'.
+The new user option 'isearch-forward-thing-at-point' defines
+a list of symbols to try to get the "thing" at point. By default,
+the first element of the list is 'region' that tries to yank
+the currently active region to the search string.
+
++++
*** New user option 'isearch-wrap-pause' defines how to wrap the search.
There are choices to disable wrapping completely and to wrap immediately.
When wrapping immediately, it consistently handles the numeric arguments
@@ -1266,12 +1274,17 @@ When this option is set, direction changes in Isearch
move to another
search match, if there is one, instead of moving point to the other
end of the current match.
-*** New key 'M-s M-.' starts isearch looking for the thing at point.
-This key is bound to the new command 'isearch-forward-thing-at-point'.
-The new user option 'isearch-forward-thing-at-point' defines
-a list of symbols to try to get the "thing" at point. By default,
-the first element of the list is 'region' that tries to yank
-the currently active region to the search string.
++++
+*** New user option 'isearch-allow-motion'.
+When 'isearch-allow-motion' is set, the commands 'beginning-of-buffer',
+'end-of-buffer', 'scroll-up-command' and 'scroll-down-command', when
+invoked during I-search, move respectively to the first occurrence of
+the current search string in the buffer, the last one, the first one
+after the current window, and the last one before the current window.
+Additionally, users can change the meaning of other motion commands
+during I-search by using their 'isearch-motion' property. The user
+option 'isearch-motion-changes-direction' controls whether the
+direction of the search changes after a motion command.
+++
*** New user option 'lazy-highlight-no-delay-length'.
@@ -1383,17 +1396,6 @@ keys, add the following to your init file:
Using it instead of 'read-char-choice' allows using 'C-x o'
to switch to the help window displayed after typing 'C-h'.
-+++
-** New user option 'isearch-allow-motion'.
-When 'isearch-allow-motion' is set, the commands 'beginning-of-buffer',
-'end-of-buffer', 'scroll-up-command' and 'scroll-down-command', when
-invoked during I-search, move respectively to the first occurrence of
-the current search string in the buffer, the last one, the first one
-after the current window, and the last one before the current window.
-Additionally, users can change the meaning of other motion commands
-during I-search by using their 'isearch-motion' property. The user
-option 'isearch-motion-changes-direction' controls whether the
-direction of the search changes after a motion command.
+++
** Emacs 28.1 comes with Org v9.5.
diff --git a/lisp/mouse.el b/lisp/mouse.el
index d691289..4f9c49c 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2477,7 +2477,7 @@ a large number if you prefer a mixed multitude. The
default is 4."
("Text" . "Text")
("Outline" . "Text")
("\\(HT\\|SG\\|X\\|XHT\\)ML" . "SGML")
- ("log\\|diff\\|vc\\|cvs\\|Git\\|Annotate" . "Version Control")
+ ("\\blog\\b\\|diff\\|\\bvc\\b\\|cvs\\|Git\\|Annotate" . "Version Control")
("Threads\\|Memory\\|Disassembly\\|Breakpoints\\|Frames\\|Locals\\|Registers\\|Inferior
I/O\\|Debugger"
. "GDB")
("Lisp" . "Lisp")))