On Sat, Jun 28, 2025 at 10:02:06PM +0300, Eli Zaretskii wrote: > > Date: Sat, 28 Jun 2025 17:28:07 +0200 > > From: Patrice Dumas <[email protected]> > > > Are you talking about info_indices_of_file_buffer? It does this: > > /* Grovel the names of the nodes found in this file. */ > if (file_buffer->tags) > { > TAG *tag; > > for (i = 0; (tag = file_buffer->tags[i]); i++) > { > if (strcasestr (tag->nodename, "Index") > && !(tag->flags & T_IsAnchor)) /* Not an anchor. */ > { > NODE *node; > REFERENCE **menu; > > node = info_node_of_tag (file_buffer, &file_buffer->tags[i]); > > if (!node) > continue; > > if ((node->flags & N_IsIndex) && !initial_index_filename) > { > > So this checks only nodes whose name includes "Index". Are you > suggesting to check _all_ the nodes of the manual instead? Wouldn't > that be slower?
Indeed, I realized later on that this is an issue. > Don't index nodes always have "Index" in their names? In english maybe. And even in english, there could also be unrelated nodes with Index in the name. -- Pat
