bug-texinfo
[Top][All Lists]
Advanced

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

Re: texinfo-6.8.90 pretest


From: Robert Pluim
Subject: Re: texinfo-6.8.90 pretest
Date: Thu, 20 Oct 2022 16:49:59 +0200

>>>>> On Thu, 20 Oct 2022 14:16:33 +0100, Gavin Smith 
>>>>> <gavinsmith0123@gmail.com> said:

    Gavin> On Thu, Oct 20, 2022 at 01:20:19PM +0200, Robert Pluim wrote:
    >> platforms, Emacs can yank these objects with the @code{yank-media}
    >> command---but only in modes that have support for it (@w{@pxref{Yanking
    >> Media,,, elisp, The Emacs Lisp Reference Manual}}).
    >> 
    >> Is there a reason for this new warning?

    Gavin> I don't see any problem with putting @pxref inside @w.  In my opinion
    Gavin> it should be fine to put any Texinfo commands that occur inside
    Gavin> paragraphs inside @w.  This was a very recent change (2022-10-02).

I guess thatʼs:

commit c5800ca1a7
Author:     Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 2 17:24:54 2022 +0200
Commit:     Patrice Dumas <pertusus@free.fr>
CommitDate: Sun Oct 2 17:24:54 2022 +0200

    * NEWS, tp/Texinfo/ParserNonXS.pm,
    tp/Texinfo/XS/parsetexi/command_data.txt,
    tp/Texinfo/XS/parsetexi/commands.h, tp/Texinfo/XS/parsetexi/parser.c
    (check_valid_nesting): add contain_simple_text flag.  Set @w to be
    contain_simple_text, plain text is too restrictive, there are many
    uses of indicatric commands in @w in the Texinfo manual.

and

commit 3982dafb8f
Author:     Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 2 14:44:10 2022 +0200
Commit:     Patrice Dumas <pertusus@free.fr>
CommitDate: Sun Oct 2 14:44:10 2022 +0200

    Warn if @-commands other than accent, glyphs and symbols appear in @w
    
    * tp/Texinfo/Common.pm (%contain_plain_text_commands),
    tp/Texinfo/XS/parsetexi/command_data.txt, NEWS: add w to contain_plain_text.
    
    * tp/Texinfo/Common.pm (%variadic_commands),
    tp/Texinfo/ParserNonXS.pm: use the %variadic_commands hash for
    variadic commands instead of setting %commands_args_number to
    variadic.

Iʼm allergic to Perl, so Iʼm not going to attempt a patch :-)

Robert
-- 



reply via email to

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