From: Xue Fuqiao Date: Sun, 22 Dec 2013 05:36:29 +0000 (+0800) Subject: Document `isearch-forward-symbol-at-point'. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~254 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07e9eaa2dc08892075f110a30c768a7751da083c;p=emacs.git Document `isearch-forward-symbol-at-point'. * doc/emacs/search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 64b77d9c1da..fbc7da4b1c7 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,5 +1,7 @@ 2013-12-22 Xue Fuqiao + * search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'. + * files.texi (File Conveniences): Document `image-next-file' and `image-previous-file'. * display.texi (Optional Mode Line): Fix an index. diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 13e61b70264..16eed9b16dc 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -506,6 +506,9 @@ searching source code. If incremental search is active, toggle symbol search mode (@code{isearch-toggle-symbol}); otherwise, begin an incremental forward symbol search (@code{isearch-forward-symbol}). +@item M-s . +Start a symbol incremental search forward with the symbol found near +point added to the search string initially. @item M-s _ @key{RET} @var{symbol} @key{RET} Search forward for @var{symbol}, nonincrementally. @item M-s _ C-r @key{RET} @var{symbol} @key{RET} @@ -513,9 +516,12 @@ Search backward for @var{symbol}, nonincrementally. @end table @kindex M-s _ +@kindex M-s . @findex isearch-forward-symbol - To begin a forward incremental symbol search, type @kbd{M-s _}. If -incremental search is not already active, this runs the command +@findex isearch-forward-symbol-at-point + To begin a forward incremental symbol search, type @kbd{M-s _} (or +@kbd{M-s .} if the symbol to search is near point). If incremental +search is not already active, this runs the command @code{isearch-forward-symbol}. If incremental search is already active, @kbd{M-s _} switches to a symbol search, preserving the direction of the search and the current search string; you can disable diff --git a/etc/NEWS b/etc/NEWS index c73c2cc1946..c52e596e56e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -612,6 +612,7 @@ rather than mboxo. Customize `unrmail-mbox-format' to change this. ** Search and Replace ++++ *** New global command `M-s .' (`isearch-forward-symbol-at-point') starts a symbol (identifier) incremental search forward with the symbol found near point added to the search string initially.