On Sun, Jun 4, 2017 at 8:27 PM, Terry Brown <[email protected]> wrote:

> On Sun, 4 Jun 2017 12:42:10 -0700 (PDT)
> Largo84 <[email protected]> wrote:
>
> [snip]
>
> > Are there any technical, design or practical reasons why the
> > backlinks plugin is limited to 'internal' links? I thought about
>
> Sort of.  The backlinks plugin uses GNXs (node IDs) for persistence.  I
> think - I wrote it, but haven't touched that part of it for a long time.
>


> GNXs don't include any file info, so you can only interpret them in the
> context of the current file.
>

​True, gnx's don't have any file info, but they might be unique across
files. Recall that we wanted gnx's to be unique even if your brother in
Australia (with the same initials) created nodes while you were doing so
here.  Perhaps we concluded that was an impossible goal.  I don't remember.

Several years ago Segundo Bob complained because newly-created gnx's
weren't unique when the Leo bridge opened several files within
milliseconds.  Sheesh.  To handle this, I wrote one of the ugliest hacks in
all of Leo. After a bit of cff'ing, the new code is part of c.checkOutline,
called from fc.getLeoFile.  It uses the NodeIndices class, which handles
timestamp manipulations.

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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to