On 2022-11-12 14:00:25 +0200, Eli Zaretskii wrote: > > Date: Sat, 12 Nov 2022 12:40:11 +0100 > > From: Vincent Lefevre <vinc...@vinc17.net> > > > > But "down" is the reverse of "up". > > No, it isn't. It is only the reverse of "up" if the node structure is > a perfect tree.
But if the node structure is not a perfect tree, prev-line is not well-defined. Or perhaps it could just be defined as the reverse of next-line. That would be an alternative solution. For instance, on the gnuplot manual, next-line gives successively [...] 4 Terminal types 4.1 complete list of terminals 5 Bugs [...] So prev-line at the beginning of "5 Bugs" should lead to the end of "4.1 complete list of terminals". Then the whole information can be obtained by sorting the nodes using next-line. -- 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)