texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Set INFO_SPECIAL_CHARS_WARNING in Info to 1


From: Patrice Dumas
Subject: branch master updated: Set INFO_SPECIAL_CHARS_WARNING in Info to 1
Date: Mon, 15 Aug 2022 10:09:28 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 952107ea8a Set INFO_SPECIAL_CHARS_WARNING in Info to 1
952107ea8a is described below

commit 952107ea8aba972d98b2dd6fc9ed357abc03e15a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Aug 15 16:05:41 2022 +0200

    Set INFO_SPECIAL_CHARS_WARNING in Info to 1
    
    * doc/texinfo.texi (Other Customization Variables),
    tp/Texinfo/Convert/Info.pm (%defaults): set
    INFO_SPECIAL_CHARS_WARNING to 1 in Info, instead of undefined.
    To be kept as 1 as long as the Emacs Info reader does not
    support node quoting in Info files.
    
    doc/tp_api/Makefile.am (AM_MAKEINFOFLAGS): add
    -c INFO_SPECIAL_CHARS_WARNING=0
---
 ChangeLog                  | 13 +++++++++++++
 doc/texinfo.texi           |  4 ++--
 doc/tp_api/Makefile.am     |  2 +-
 tp/Texinfo/Convert/Info.pm |  3 +++
 4 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2408568d13..1202873ffa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-08-15  Patrice Dumas  <pertusus@free.fr>
+
+       Set INFO_SPECIAL_CHARS_WARNING in Info to 1
+
+       * doc/texinfo.texi (Other Customization Variables),
+       tp/Texinfo/Convert/Info.pm (%defaults): set
+       INFO_SPECIAL_CHARS_WARNING to 1 in Info, instead of undefined.
+       To be kept as 1 as long as the Emacs Info reader does not
+       support node quoting in Info files.
+       
+       doc/tp_api/Makefile.am (AM_MAKEINFOFLAGS): add
+       -c INFO_SPECIAL_CHARS_WARNING=0
+
 2022-08-15  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.texi (Info Format Specification): Comment out
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index b0e8554583..21f392a98f 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -16882,8 +16882,8 @@ construct where they appear with quoting characters, as 
described in
 If set, warn about problematic constructs for Info output (such as the
 string @samp{::}) in node names, menu items, and cross-references.
 If not defined, set unless @code{INFO_SPECIAL_CHARS_QUOTE} is set.
-Default is not defined. Similar warnings in index entries are covered by
-@code{INDEX_SPECIAL_CHARS_WARNING}.
+Default is set for Info and not defined for plaintext. Similar warnings in
+index entries are covered by @code{INDEX_SPECIAL_CHARS_WARNING}.
 
 @item INPUT_FILE_NAME_ENCODING
 @cindex Encoding @subentry input file names
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index 57e1b2d4f4..6e73276b07 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -15,7 +15,7 @@
 # INFO_SPECIAL_CHARS_QUOTE, therefore it is not really usefull to install the
 # info file in the default case.  nodist_ is not ok to achieve that, as the
 # other Texinfo related build targets are also removed with that prefix.
-AM_MAKEINFOFLAGS = -c INFO_SPECIAL_CHARS_QUOTE=1
+AM_MAKEINFOFLAGS = -c INFO_SPECIAL_CHARS_QUOTE=1 -c 
INFO_SPECIAL_CHARS_WARNING=0
 
 # no-installinfo requires foreign
 AUTOMAKE_OPTIONS = no-installinfo foreign
diff --git a/tp/Texinfo/Convert/Info.pm b/tp/Texinfo/Convert/Info.pm
index 9c7cfc8c5f..24b20716c7 100644
--- a/tp/Texinfo/Convert/Info.pm
+++ b/tp/Texinfo/Convert/Info.pm
@@ -44,6 +44,9 @@ $defaults{'FORMAT_MENU'} = 'menu';
 $defaults{'EXTENSION'} = 'info';
 $defaults{'USE_SETFILENAME_EXTENSION'} = 1;
 $defaults{'OUTFILE'} = undef;
+# set as default independently of INFO_SPECIAL_CHARS_QUOTE as long
+# as the Emacs Info reader does not support node names quoting.
+$defaults{'INFO_SPECIAL_CHARS_WARNING'} = 1;
 
 sub converter_defaults($$)
 {



reply via email to

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