texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * TODO: mention the Emacs Info viewer bug on node


From: Patrice Dumas
Subject: branch master updated: * TODO: mention the Emacs Info viewer bug on node name quoting.
Date: Sun, 25 Sep 2022 10:22:54 -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 753650cb0d * TODO: mention the Emacs Info viewer bug on node name 
quoting.
753650cb0d is described below

commit 753650cb0d47c166126003ecf52cf9b1733dd4e1
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Sep 25 16:22:45 2022 +0200

    * TODO: mention the Emacs Info viewer bug on node name quoting.
    
    * doc/texinfo.texi (Macro Details): texi2any expands macros in
    @end lines except when macros are not expanded in the block command.
    
    * tp/Texinfo/ParserNonXS.pm: change in spacing.
---
 ChangeLog                 | 9 +++++++++
 TODO                      | 2 ++
 doc/texinfo.texi          | 3 ++-
 tp/Texinfo/ParserNonXS.pm | 9 +++------
 4 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 93e092e07a..86bea8a255 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-09-25  Patrice Dumas  <pertusus@free.fr>
+
+       * TODO: mention the Emacs Info viewer bug on node name quoting.
+
+       * doc/texinfo.texi (Macro Details): texi2any expands macros in
+       @end lines except when macros are not expanded in the block command.
+
+       * tp/Texinfo/ParserNonXS.pm: change in spacing.
+
 2022-09-25  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Faster font switching
diff --git a/TODO b/TODO
index e41b04a1c1..93d3661664 100644
--- a/TODO
+++ b/TODO
@@ -100,6 +100,8 @@ If you are interested in working on any of these, email 
bug-texinfo@gnu.org.
   - Info format - Get Emacs to support : in index entries by changing
     the interpretation of index nodes slightly.  See
     https://lists.gnu.org/archive/html/bug-gnu-emacs/2019-01/msg00235.html
+    Get Emacs to support node name quoting. See
+    https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-08/msg01756.html
   - Process Texinfo files directly instead of converting to other formats.
     It should be possible to turn the C XS parser to a library, probably
     needing a bit more more perl postprocessing rewritten in C and a
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index c5f07c6565..3b71fcb5de 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -13691,7 +13691,8 @@ By design, macro expansion should not happen in the 
following contexts:
 
 @item @code{@@clickstyle} lines;
 
-@item @code{@@end} lines.
+@item @code{@@end} lines when there is no macro expansion in the block
+command.
 @end itemize
 
 @noindent Unfortunately, @TeX{} may do some expansion in these situations,
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index f046b40630..017b466dc1 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -5423,18 +5423,15 @@ sub _process_remaining_on_line($$$$)
           if (!defined($arg) || !$arg) {
             $self->_line_warn(__("no argument specified for \@U"),
               $source_info);
-
           } elsif ($arg !~ /^[0-9A-Fa-f]+$/) {
-            $self->_line_error(
-        sprintf(__("non-hex digits in argument for \@U: %s"), $arg),
-              $source_info);
-
+            $self->_line_error(sprintf(__(
+                        "non-hex digits in argument for \@U: %s"), $arg),
+                               $source_info);
           } elsif (length ($arg) < 4) {
             # Perl doesn't mind, but too much trouble to do in TeX.
             $self->_line_warn(sprintf(__(
               "fewer than four hex digits in argument for \@U: %s"), $arg),
              $source_info);
-
           } else {
             # we don't want to call hex at all if the value isn't
             # going to fit; so first use eval to check.



reply via email to

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