> From: Bruno Haible <br...@clisp.org>
> Cc: Eli Zaretskii <e...@gnu.org>
> Date: Mon, 30 Dec 2024 19:47:55 +0100
> 
> Yes, 'info' understands this DEL as so-called INFO_QUOTE character.
> This would be a more robust solution than having code decide ad-hoc
> what is a terminator and what is not.
> 
> But Emacs doesn't! If I use the attached modified info file in Emacs,
> Emacs
>   1. displays these characters as ^? instead of hiding them,
>   2. complains when I select this reference in the index.
> 
> It is a pity that Emacs and 'info' have gone out-of-sync in this way.
> Eli, do you think it would be possible for Emacs to interpret this
> kind of syntax (^?NODENAME^? for a node name that contains dots or commas)?

Anything's possible, of course.  The Info file format is full of
ad-hoc-ery, so Emacs generally supports only the tricks that are
actually used, lest we cause some unintended harm in some unusual
file.  If the Texinfo developers decide to use quoting in more places,
Emacs will follow suit.

> > +2024-12-30  Gavin Smith <gavinsmith0...@gmail.com>
> > +
> > +   ". " terminator for index entry node name
> > +
> > +   * info/scan.c (scan_reference_target):
> > +   First check for a ". " and ".\n" terminator for node name in menu,
> > +   rather than just a ".".  This allows index entries referring to
> > +   nodes with "." in their names.  Report from Bruno Haible.
> 
> Thanks. That is likely the best solution if Emacs would not want to support
> the ^?NODENAME^? syntax.

Emacs will go with whatever the Texinfo developers decide.

  • 'inf... Bruno Haible via Bug reports for the GNU Texinfo documentation system
    • ... Eli Zaretskii
    • ... Gavin Smith
      • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
        • ... Gavin Smith
        • ... Eli Zaretskii

Reply via email to