On Mon, Jun 26, 2023 at 12:56 PM Thomas Passin <tbp100...@gmail.com> wrote:

1.I was probably thinking that g.findUNL (the legacy unl-finding function)
might return a position in another outline. To my knowledge, that has never
been true.

>
> Yes it has.  Here's the docstring from the (unreplaced) g.findUNL:
>
>     Find and move to the unl given by the unlList in the commander c.
>    Return the found position, or None.
>

The unlList is a list of headlines. Even if the top headline is an @file
node, there is no way for the legacy g.findUNL code to open another
commander. In other words, you are misunderstanding the docstring.

The legacy g.*find*UNL does not work the way you think it does. The legacy
g.*handle*Unl function *could*open other outlines, but only in limited
places. I removed that code because it was too Leo-specific.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS2nEh6jZ37crf0rVyriJtZFKpDS2Pixbb7dVHuYFYiFYA%40mail.gmail.com.

Reply via email to