texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp TODO texi2any.pl Texinfo/Common.pm T...


From: Patrice Dumas
Subject: texinfo/tp TODO texi2any.pl Texinfo/Common.pm T...
Date: Sat, 18 Aug 2012 23:37:02 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/08/18 23:37:02

Modified files:
        tp             : TODO texi2any.pl 
        tp/Texinfo     : Common.pm Parser.pm 
        tp/t           : 60macro.t 

Log message:
        TODO: bring up to date.
        
        Rename IGNORE_LEADING_SPACE_IN_MACRO_BODY to 
MACRO_BODY_IGNORES_LEADING_SPACE
        (Karl).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.290&r2=1.291
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/texi2any.pl?cvsroot=texinfo&r1=1.135&r2=1.136
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Common.pm?cvsroot=texinfo&r1=1.152&r2=1.153
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.387&r2=1.388
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/60macro.t?cvsroot=texinfo&r1=1.41&r2=1.42

Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -b -r1.290 -r1.291
--- TODO        18 Aug 2012 15:59:55 -0000      1.290
+++ TODO        18 Aug 2012 23:36:59 -0000      1.291
@@ -5,32 +5,9 @@
 Before next release
 ===================
 
-Document TEXTCONTENT_COMMENT, 'XREF_USE_FLOAT_LABEL', 'XREF_USE_NODE_NAME_ARG'
-DEBUGCOUNT, IGNORE_LEADING_SPACE_IN_MACRO_BODY
+Document that makeinfo do not strip leading spaces from macro bodies.
 
-For XREF_USE_NODE_NAME_ARG, the values may be 1 (always), 0 (never) or 
-undef (only if in preformatted).
-
-
--------
-I wonder if we should do something to check the consistency of the
-manual and the code wrt conf variables, as we do (sort of) wrt the
-command list.  (util/txicmdlist and doc/refcard/txicmdcheck)
-
-Would it be feasible to dump out a list of all the conf vars?  Or all
-that should be documented, if that's different?
-
-I think it would be easiest to work with a list that looks like (one
-variable per line):
-
-VARIABLE_NAME\tVARIABLE_GROUP
-
-omitting the obsolete and internal variables as you suggest.  Then I can
-try to write something that compares that against the lists in the
-manual.
-
-I'm not sure if the group info will turn out to be needed, but why not ...
---------
+Pb with default parser options method not def for all the formats (RAWTEXT)
 
 
 Bugs

Index: texi2any.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/texi2any.pl,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -b -r1.135 -r1.136
--- texi2any.pl 18 Aug 2012 15:59:55 -0000      1.135
+++ texi2any.pl 18 Aug 2012 23:37:00 -0000      1.136
@@ -952,7 +952,7 @@
        'TOP_NODE_UP', 'MAX_MACRO_CALL_NESTING', 'INLINE_INSERTCOPYING', 
        'SHOW_MENU', 'IGNORE_BEFORE_SETFILENAME', 'TEST', 
        'GLOBAL_COMMANDS', 'CPP_LINE_DIRECTIVES', 
-       'IGNORE_LEADING_SPACE_IN_MACRO_BODY', 'USE_UP_NODE_FOR_ELEMENT_UP') {
+       'MACRO_BODY_IGNORES_LEADING_SPACE', 'USE_UP_NODE_FOR_ELEMENT_UP') {
   if (defined(get_conf($parser_settable_option))) {
     $parser_default_options->{$parser_settable_option} 
        = get_conf($parser_settable_option);

Index: Texinfo/Common.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Common.pm,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -b -r1.152 -r1.153
--- Texinfo/Common.pm   18 Aug 2012 15:59:55 -0000      1.152
+++ Texinfo/Common.pm   18 Aug 2012 23:37:00 -0000      1.153
@@ -186,9 +186,8 @@
   'KEEP_TOP_EXTERNAL_REF',
   'TEXI2HTML', 'IMAGE_LINK_PREFIX', 'FIX_TEXINFO',
   'TREE_TRANSFORMATIONS', 'BASEFILENAME_LENGTH',
-# FIXME document
   'TEXTCONTENT_COMMENT', 'XREF_USE_FLOAT_LABEL', 'XREF_USE_NODE_NAME_ARG',
-  'IGNORE_LEADING_SPACE_IN_MACRO_BODY'
+  'MACRO_BODY_IGNORES_LEADING_SPACE'
 );
 # Not strings. 
 # FIXME To be documented somewhere, but where?

Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -b -r1.387 -r1.388
--- Texinfo/Parser.pm   18 Aug 2012 15:59:55 -0000      1.387
+++ Texinfo/Parser.pm   18 Aug 2012 23:37:01 -0000      1.388
@@ -109,7 +109,7 @@
   'include_directories' => [ '.' ],
   'INLINE_INSERTCOPYING' => 0,
   'IGNORE_BEFORE_SETFILENAME' => 1,
-  'IGNORE_LEADING_SPACE_IN_MACRO_BODY' => 0,
+  'MACRO_BODY_IGNORES_LEADING_SPACE' => 0,
   # this is the initial context.  It is put at the bottom of the 
   # 'context_stack'
   'context' => '_root',
@@ -2482,7 +2482,7 @@
 {
   my $self = shift;
   my $text = shift;
-  if ($self->{'IGNORE_LEADING_SPACE_IN_MACRO_BODY'}) {
+  if ($self->{'MACRO_BODY_IGNORES_LEADING_SPACE'}) {
     $text =~ s/^\s*//mg;
   }
   return $text;
@@ -5449,7 +5449,7 @@
 is put in a special container type, @C<preamble_before_setfilename>.
 This option is set in the default case.
 
-=item IGNORE_LEADING_SPACE_IN_MACRO_BODY
+=item MACRO_BODY_IGNORES_LEADING_SPACE
 
 If set, leading spaces are stripped from user defined macro bodies.
 

Index: t/60macro.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/60macro.t,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- t/60macro.t 17 Aug 2012 23:39:55 -0000      1.41
+++ t/60macro.t 18 Aug 2012 23:37:01 -0000      1.42
@@ -946,7 +946,7 @@
 @end macro
 
 @mymacro{}
-', {'IGNORE_LEADING_SPACE_IN_MACRO_BODY' => 1}],
+', {'MACRO_BODY_IGNORES_LEADING_SPACE' => 1}],
 );
 
 my @todo =(



reply via email to

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