texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/Plaintext.pm (process_printi


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/Convert/Plaintext.pm (process_printindex) <node name quoting>: Do not increment $self->{'count_context'}->[-1]->{'bytes'} as this is taken care of in _stream_output.
Date: Wed, 24 Jan 2024 13:09:38 -0500

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

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new fc9d449e15 * tp/Texinfo/Convert/Plaintext.pm (process_printindex) 
<node name quoting>: Do not increment $self->{'count_context'}->[-1]->{'bytes'} 
as this is taken care of in _stream_output.
fc9d449e15 is described below

commit fc9d449e157e1ae2535cf44968722acb3f153b5d
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Jan 24 18:09:23 2024 +0000

    * tp/Texinfo/Convert/Plaintext.pm (process_printindex)
    <node name quoting>: Do not increment
    $self->{'count_context'}->[-1]->{'bytes'} as this is taken care
    of in _stream_output.
---
 ChangeLog                       | 7 +++++++
 tp/Texinfo/Convert/Plaintext.pm | 1 -
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 6f47379593..35ecfeb2ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-01-24  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/Convert/Plaintext.pm (process_printindex)
+       <node name quoting>: Do not increment
+       $self->{'count_context'}->[-1]->{'bytes'} as this is taken care
+       of in _stream_output.
+
 2024-01-24  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/Plaintext.pm (process_printindex)
diff --git a/tp/Texinfo/Convert/Plaintext.pm b/tp/Texinfo/Convert/Plaintext.pm
index 2c7217e715..6a09def4af 100644
--- a/tp/Texinfo/Convert/Plaintext.pm
+++ b/tp/Texinfo/Convert/Plaintext.pm
@@ -1701,7 +1701,6 @@ sub process_printindex($$;$)
         if ($self->{'info_special_chars_quote'}) {
           my $pre_quote = "\x{7f}";
           my $post_quote = $pre_quote;
-          $self->{'count_context'}->[-1]->{'bytes'} += 2;
           $node_name = $pre_quote . $node_name . $post_quote;
         }
       }



reply via email to

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