bug-texinfo
[Top][All Lists]
Advanced

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

Re: move-to-next-xref broken in info


From: Karl Berry
Subject: Re: move-to-next-xref broken in info
Date: Thu, 24 Jan 2008 19:24:47 -0600

    The info reader can no longer go to the next link when I press the TAB key.

I've made a change to fix this, I hope.  The Info keywords being
searched for contain * ...

--- session.c.~1.24.~   2007-12-17 11:12:11.000000000 -0800
+++ session.c   2008-01-24 17:15:51.000000000 -0800
@@ -4369,2 +4369,6 @@ info_move_to_xref (WINDOW *window, int c
   NODE *node = window->node;
+  int save_use_regex = use_regex;
+
+  /* Most of our keywords contain * characters; don't use regexes.  */
+  use_regex = 0;
 
@@ -4405,2 +4409,3 @@ info_move_to_xref (WINDOW *window, int c
       info_error ((char *) msg_no_xref_node, NULL, NULL);
+      use_regex = save_use_regex;
       return cursor_movement_scrolls_p;
@@ -4432,2 +4437,5 @@ info_move_to_xref (WINDOW *window, int c
 
+  /* No more searches, back to whatever the user wanted.  */
+  use_regex = save_use_regex;
+
   /* If there is both a next menu entry, and a next xref entry, choose the




reply via email to

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