On 2022-11-12 13:30:51 +0200, Eli Zaretskii wrote: > > Date: Sat, 12 Nov 2022 11:56:47 +0100 > > From: Vincent Lefevre <vinc...@vinc17.net> > > > > Oops, I misread the file. I actually think that it is correct. > > IMHO, to get the tree structure, you should not follow the menu, > > but only the "File:" lines. > > You can't: SPC and DEL are supposed to traverse the tree, not just the > current level of the tree. SPC does depth-first search, and DEL does > its opposite. The File: lines only tell us the nodes that are to the > left, to the right, and up, but not down.
But "down" is the reverse of "up". So, if you know all the "up" relations, you can deduce all the "down" relations, i.e. all the children. Then the issue is to sort the children, but I suppose that this could be done by looking at the "next" and "prev" relations among the children. On 2022-11-12 11:30:03 +0000, Gavin Smith wrote: > On Sat, Nov 12, 2022 at 11:56:47AM +0100, Vincent Lefevre wrote: > > So the predecessor of > > > > File: gnuplot.info, Node: Bugs, Next: Concept_Index, Prev: > > Terminal_types, Up: Top > > > > should be the last descendent of Terminal_types, which is > > complete_list_of_terminals. > > You only get the relation "last descendant" by looking at the menus. See my suggestion above to use the "next" and "prev" relations to sort the children. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)