Re: Improved diagnostic messages for ill-formed menus?

2025-06-03 Thread Patrice Dumas
On Fri, May 30, 2025 at 05:38:10PM +0100, Gavin Smith wrote: > I've done this. I noticed that complete_node_tree_with_menus it was > not run from C/texi2any.c, but some of this looks quite different to > perl/texi2any.pl so presumably it is on purpose. In C, the structuring code is called by tta/

Re: Usefulness of menu directions

2025-06-03 Thread Gavin Smith
On Tue, Jun 03, 2025 at 10:44:47PM +0200, Patrice Dumas wrote: > > It would be better to report an error on the menu directly rather > > indirectly through the menu directions. > > On the whole menu, or on the menu entry? It should not be too difficult > to do on the menu entry or menu entry node

Re: Usefulness of menu directions

2025-06-03 Thread Patrice Dumas
On Fri, May 30, 2025 at 06:16:29PM +0100, Gavin Smith wrote: > > I would be more cautious about not using "menu directions". To me menu > > directions are a useful abstraction, which is not internal to texi2any, > > it is a representation of the tree obtained with menus, it is a property > > of th

Re: info tests reading $ginfo_output started failing

2025-06-03 Thread Gavin Smith
On Tue, Jun 03, 2025 at 08:23:44AM +0200, Patrice Dumas wrote: > On Thu, May 29, 2025 at 04:04:14PM +0100, Gavin Smith wrote: > > On Thu, May 29, 2025 at 04:33:23PM +0200, Patrice Dumas wrote: > > You could try reverting to the previous version to see if the test suites > > pass there. > > Indeed,