The Tree of Widsdom

智慧の樹

Interesting issue: OutMaps and numbering


Here is a good example of how the flexibility (under-determination) of Tinderbox can lead to an inspiring accidental feature.

When you apply the stamp, Tinderbox determines a note’s prefix number according to its local $SiblingOrder, and a note’s aliases can have different sibling orders from its original.

For example, the original Adding categories and posts note has a sibling order of 2, but here its alias is placed on the same outline depth with four other notes, and the sibling order of this alias reflects this:

The normal results from applying the ⬍<b> Show Num</b> stamp.
The normal results from applying the ⬍ Show Num stamp.

Of course, this is what we really had in mind:

The <i>desired</i> results from applying the ⬍<b> Show Num</b> stamp—the top-level notes reflect the sibling order <i>of their original depth</i>, and not the zero-depth of aliases in a Map View.
The desired results from applying the ⬍ Show Num stamp—the top-level notes reflect the sibling order of their original depth, and not the zero-depth of aliases in a Map View.

Upon reflection, you will realize that both are useful. The difference? I added a word in the code-note that determines the display expression for normal_note. The original code was this:

The original code uses <code>$SiblingOrder</code>, which is one of those attributes that changes for aliases. An alias can have a sibling order that is different from its original.
The original code uses $SiblingOrder, which is one of those attributes that changes for aliases. An alias can have a sibling order that is different from its original.

To display the sibling order of the originals, I simply added the designator original:

The original code uses <code>$SiblingOrder</code>, which is one of those attributes that changes for aliases.
The original code uses $SiblingOrder, which is one of those attributes that changes for aliases.

That’s it! BoxPress has conveniently gathered your display expression code-notes in the Utility Window. You will find them well-organized, human-readable, and easy to modify.