texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[6655] ? searches backwards


From: Gavin D. Smith
Subject: [6655] ? searches backwards
Date: Tue, 29 Sep 2015 19:45:30 +0000

Revision: 6655
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6655
Author:   gavin
Date:     2015-09-29 19:45:29 +0000 (Tue, 29 Sep 2015)
Log Message:
-----------
? searches backwards

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/info-stnd.texi
    trunk/info/infomap.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-09-29 19:36:08 UTC (rev 6654)
+++ trunk/ChangeLog     2015-09-29 19:45:29 UTC (rev 6655)
@@ -1,6 +1,12 @@
 2015-09-29  Gavin Smith  <address@hidden>
 
        * info/infomap.c (default_emacs_like_info_keys),
+       * info/info-stnd.texi (Searching Commands): Make '?' search 
+       backwards, for consistency with 'less'.
+
+2015-09-29  Gavin Smith  <address@hidden>
+
+       * info/infomap.c (default_emacs_like_info_keys),
        * info/info-stnd.texi (Miscellaneous Commands):
        Make C-h scroll backwards, in case the terminal sends C-h for 
        the delete or backspace key.

Modified: trunk/doc/info-stnd.texi
===================================================================
--- trunk/doc/info-stnd.texi    2015-09-29 19:36:08 UTC (rev 6654)
+++ trunk/doc/info-stnd.texi    2015-09-29 19:45:29 UTC (rev 6655)
@@ -1145,9 +1145,8 @@
 @var{N}, search for @var{N}th occurrence of the string.  Negative
 arguments search backwards.
 
address@hidden @kbd{M-x search-backward}
address@hidden @kbd{?}, vi-like operation
address@hidden ?, vi-like operation
address@hidden @kbd{?} (@code{search-backward})
address@hidden ?
 @findex search-backward
 Read a string in the echo area and search backward through the Info file
 for that string.  If the string includes upper-case characters, the Info
@@ -1155,10 +1154,6 @@
 case.  With a numeric argument of @var{N}, search for @var{N}th
 occurrence of the string.  Negative arguments search forward.
 
-If you do not have a convenient key sequence bound to this command, an
-alternative is to first perform a forward search, and then use the
address@hidden command, described below.
-
 @anchor{repeated-search}
 @item @kbd{C-x @kbd{n}} (@code{search-next})
 @itemx @address@hidden
@@ -1918,7 +1913,6 @@
 a key sequence which can be typed in order to invoke that command.
 
 @item @kbd{H} (@code{get-help-window})
address@hidden @kbd{?}
 @itemx @key{F1} (on DOS/Windows only)
 @itemx @kbd{h} and @kbd{H}, vi-like operation
 @kindex C-h

Modified: trunk/info/infomap.c
===================================================================
--- trunk/info/infomap.c        2015-09-29 19:36:08 UTC (rev 6654)
+++ trunk/info/infomap.c        2015-09-29 19:45:29 UTC (rev 6655)
@@ -184,7 +184,7 @@
   '<', NUL,                       A_info_first_node,
   '=', NUL,                       A_info_display_file_info,
   '>', NUL,                       A_info_last_node,
-  '?', NUL,                       A_info_get_help_window,
+  '?', NUL,                       A_info_search_backward,
   '[', NUL,                       A_info_global_prev_node,
   ']', NUL,                       A_info_global_next_node,
   'b', NUL,                       A_info_beginning_of_node,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]