I just noticed an @persistence node in my .leo file that contains numerous @auto-rst nodes.
You can enable and disable @persistence nodes with:
@bool enable-persistence = True
Just did a quick documentation search (on LeoEditor.com) for more information about gnx's and uA's. I found only a small reference in the Appendix to the debut of gnx's in 4.1, nothing more about how to make them useful. There's no mention at all about uA's. I don't even know what it's an acronym for, much less if there's any possible utility for me. Is there more info on these concepts somewhere else?
On Monday, February 16, 2015 at 4:03:15 AM UTC-6, Edward K. Ream wrote:
The mere existence of an @persistence node should suffice to enable this feature. Leo should never create this node automatically and changing it to, say, @@persistence should disable the feature. These changes will ensure that the OP's surprise will not happen again.
On Mon, Feb 16, 2015 at 10:46 AM, Largo84 <Lar...@gmail.com> wrote:Just did a quick documentation search (on LeoEditor.com) for more information about gnx's and uA's. I found only a small reference in the Appendix to the debut of gnx's in 4.1, nothing more about how to make them useful. There's no mention at all about uA's. I don't even know what it's an acronym for, much less if there's any possible utility for me. Is there more info on these concepts somewhere else?
These are probably discussed in Leo's scripting chapter
.
The mere existence of an @persistence node should suffice to enable this feature. Leo should never create this node automatically and changing it to, say, @@persistence should disable the feature. These changes will ensure that the OP's surprise will not happen again.
The default for this new setting will always be False, so the @persistence nodes will never be created without the user's knowledge.
However, power users might prefer that @persistence nodes *are* created when needed, and setting the new setting to True will make that so.
This is more in the spirit of GTD (getting the issue out of my mind) than anything else. I would guess that very few people use @persistence nodes now, and probably few will be tempted to use such nodes when the start using the new @nosent.
The place to search first is LeoDocs.leo.
I feel like that line itself should be documented in big boldface type on Leo's website.