texinfo-commits
[Top][All Lists]
Advanced

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

[6510] document tree search


From: Gavin D. Smith
Subject: [6510] document tree search
Date: Sat, 08 Aug 2015 09:42:33 +0000

Revision: 6510
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6510
Author:   gavin
Date:     2015-08-08 09:42:32 +0000 (Sat, 08 Aug 2015)
Log Message:
-----------
document tree search

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-08-08 09:25:53 UTC (rev 6509)
+++ trunk/ChangeLog     2015-08-08 09:42:32 UTC (rev 6510)
@@ -25,6 +25,10 @@
        'search-next'.
        (Index Commands) <i>: Remove mention of unreliable feature.
 
+       * doc/info-stnd.texi (Search Commands): Document 'tree-search'.
+       * info/session.c (info_tree_search_prev, info_tree_search_previous):
+       Rename.
+
 2015-08-07  Gavin Smith  <address@hidden>
 
        * info/variables.c (info_variables): Help string for 

Modified: trunk/doc/info-stnd.texi
===================================================================
--- trunk/doc/info-stnd.texi    2015-08-08 09:25:53 UTC (rev 6509)
+++ trunk/doc/info-stnd.texi    2015-08-08 09:42:32 UTC (rev 6510)
@@ -1225,6 +1225,17 @@
 Interactively search backward through the Info file for a string as
 you type it.  If the string includes upper-case characters, the search
 is case-sensitive; otherwise Info ignores the letter case.
+
address@hidden @kbd{M-/} (@code{tree-search})
address@hidden tree-search
+Recursively search this node and any subnodes listed in menus for a 
+string.
+
address@hidden @address@hidden (@code{tree-search-next})
address@hidden @address@hidden (@code{tree-search-previous})
address@hidden tree-search-next
address@hidden tree-search-previous
+Go forwards and backwards through the matches for an active tree search.
 @end table
 
 The most basic searching command is @samp{s} or @samp{/}
@@ -1240,6 +1251,11 @@
 string is looked up while you are typing it, instead of waiting until
 the entire search string has been specified.
 
+The tree search can be used from the @code{dir} node to search through
+all Info files installed on the system.  It can also be used to search 
+through a particular chapter of a manual when you are not interested in
+matches in other chapters.
+
 @vindex highlight-searches
 @findex clear-search
 If the @code{highlight-searches} variable is set, matches from search

Modified: trunk/info/infomap.c
===================================================================
--- trunk/info/infomap.c        2015-08-08 09:25:53 UTC (rev 6509)
+++ trunk/info/infomap.c        2015-08-08 09:42:32 UTC (rev 6510)
@@ -232,7 +232,7 @@
   KEYMAP_META('x'), NUL,                 A_info_execute_command,
   KEYMAP_META('/'), NUL,                 A_info_tree_search,
   KEYMAP_META('}'), NUL,                 A_info_tree_search_next,
-  KEYMAP_META('{'), NUL,                 A_info_tree_search_prev,
+  KEYMAP_META('{'), NUL,                 A_info_tree_search_previous,
 
   CONTROL('x'), CONTROL('b'), NUL,        A_list_visited_nodes,
   CONTROL('x'), CONTROL('c'), NUL,        A_info_quit,

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2015-08-08 09:25:53 UTC (rev 6509)
+++ trunk/info/session.c        2015-08-08 09:42:32 UTC (rev 6510)
@@ -4628,7 +4628,7 @@
   tree_search_check_node (window);
 }
 
-DECLARE_INFO_COMMAND (info_tree_search_prev,
+DECLARE_INFO_COMMAND (info_tree_search_previous,
                       _("Go to previous match in Info sub-tree"))
 {
   if (!window->search_string || window->node->active_menu == 0)




reply via email to

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