character into the search string, similar to the usual
@code{insert-char} command (@pxref{Inserting Text}).
-@item
-@findex isearch-emoji-by-name
-@kindex C-x 8 e RET @r{(Incremental Search)}
-Type @kbd{C-x 8 e @key{RET}} (@code{isearch-emoji-by-name}), followed
-by the CLDR short name of an Emoji (for example, @samp{smiling face}
-or @samp{heart with arrow}). This adds the specified Emoji into the
-search string.
-
@item
@kindex C-^ @r{(Incremental Search)}
@findex isearch-toggle-input-method
automatically disable the input method afterwards.
@end itemize
+@findex isearch-emoji-by-name
+@kindex C-x 8 e RET @r{(Incremental Search)}
+ You can also include Emoji sequences in the search string. Type
+@w{@kbd{C-x 8 e @key{RET}}} (@code{isearch-emoji-by-name}), followed
+by the Unicode name of an Emoji (for example, @kbd{smiling face} or
+@kbd{heart with arrow}). This adds the specified Emoji to the search
+string. If you don't know the name of the Emoji you want to search
+for, you can use @kbd{C-x 8 e l} (@code{emoji-list}) and @kbd{C-x 8 e
+d} (@code{emoji-describe}) (@pxref{Input Methods}).
+
@kindex M-s o @r{(Incremental Search)}
@findex isearch-occur
Typing @kbd{M-s o} in incremental search invokes
+++
*** New command 'isearch-emoji-by-name'.
It is bound to 'C-x 8 e RET' during an incremental search. The
-command accepts the CLDR short name of an Emoji (for example, "smiling
-face" or "heart with arrow"), with minibuffer completion, and inserts
-the Emoji character into the search string.
+command accepts the Unicode name of an Emoji (for example, "smiling
+face" or "heart with arrow"), like 'C-x 8 e e', with minibuffer
+completion, and adds the Emoji into the search string.
** New minor mode 'glyphless-display-mode'.
This allows an easy way to toggle seeing all glyphless characters in
["Search for char by name" isearch-char-by-name
:help "Search for character by name"]
["Search for Emoji by name" isearch-emoji-by-name
- :help "Search for Emoji by name"]
+ :help "Search for Emoji by its Unicode name"]
"---"
["Toggle input method" isearch-toggle-input-method
:help "Toggle input method for search"]
string ""))))))))
(defun isearch-emoji-by-name (&optional count)
- "Read an Emoji name and add it to the search string.
-The command accepts CLDR short names like 'smiling face' or
-'heart with arrow' and completion is available. With argument,
-add COUNT copies of the Emoji."
+ "Read an Emoji name and add it to the search string COUNT times.
+COUNT (interactively, the prefix argument) defaults to 1.
+The command accepts Unicode names like \"smiling face\" or
+\"heart with arrow\", and completion is available."
(interactive "p")
(with-isearch-suspended
(let ((emoji (with-temp-buffer