texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Mon Jan 21 20:23:01 EST 2008)


From: Karl Berry
Subject: texinfo update (Mon Jan 21 20:23:01 EST 2008)
Date: Mon, 21 Jan 2008 20:23:04 -0500

Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.804
retrieving revision 1.805
diff -u -r1.804 -r1.805
--- ChangeLog   20 Jan 2008 19:45:16 -0000      1.804
+++ ChangeLog   22 Jan 2008 01:02:59 -0000      1.805
@@ -1,3 +1,9 @@
+2008-01-21  Karl Berry  <address@hidden>
+
+       * info/info.c (main): silently switch to info-stnd if given
+       -O (--usage) info.
+       Suggestion from Benno, 19 Jan 2008 19:58:47.
+
 2008-01-20  Karl Berry  <address@hidden>
 
        * install-info/install-info.c (print_help): split up big help string,
Index: NEWS
===================================================================
RCS file: /sources/texinfo/texinfo/NEWS,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- NEWS        14 Jan 2008 19:17:21 -0000      1.158
+++ NEWS        22 Jan 2008 01:03:00 -0000      1.159
@@ -1,4 +1,4 @@
-$Id: NEWS,v 1.158 2008/01/14 19:17:21 karl Exp $
+$Id: NEWS,v 1.159 2008/01/22 01:03:00 karl Exp $
 This NEWS file records noteworthy changes, very tersely.
 See the manual for detailed information.
 
@@ -47,6 +47,7 @@
   . regular expression searches are now the default; the new R command
     toggles between regexp and literal-string searches.
   . the precise line number specified in index entries is used if available.
+  . --usage=info shows usage for standalone Info.
 
 * Distribution:
   . language support for no removed/renamed to nb, per Norwegian translators.
Index: info/.gdbinit
===================================================================
RCS file: /sources/texinfo/texinfo/info/.gdbinit,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- info/.gdbinit       14 Feb 2006 15:03:10 -0000      1.7
+++ info/.gdbinit       22 Jan 2008 01:03:00 -0000      1.8
@@ -8,4 +8,6 @@
 
 #set args --restore $ttests/setscreen.drib
 #set args somedoc
-set args --restore /tmp/q ./foobar
+#set args --restore /tmp/q ./foobar
+
+set args -O info
Index: info/info.c
===================================================================
RCS file: /sources/texinfo/texinfo/info/info.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- info/info.c 2 Jan 2008 22:57:55 -0000       1.26
+++ info/info.c 22 Jan 2008 01:03:00 -0000      1.27
@@ -1,5 +1,5 @@
 /* info.c -- Display nodes of Info files in multiple windows.
-   $Id: info.c,v 1.26 2008/01/02 22:57:55 karl Exp $
+   $Id: info.c,v 1.27 2008/01/22 01:03:00 karl Exp $
 
    Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    2004, 2005, 2007, 2008 Free Software Foundation, Inc.
@@ -397,6 +397,12 @@
     const char *errstr;
     char *errarg1, *errarg2;
 
+   /* If they say info -O info, we want to show them the invocation node
+      for standalone info; there's nothing useful in info.texi.  */
+   if (goto_invocation_p && argv[optind]
+       && mbscasecmp (argv[optind], "info") == 0)
+     argv[optind] = "info-stnd";
+
     NODE *new_initial_node = info_follow_menus (initial_node, argv + optind,
         &errstr, &errarg1, &errarg2);
 
P ChangeLog
P NEWS
P info/.gdbinit
P info/info.c




reply via email to

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