On Fri, Oct 17, 2008 at 2:11 PM, znafets <[EMAIL PROTECTED]>

> I would like a tag that never gets written to the derived file but lives 
> exclusively in the leo file. Wouldn't that be possible?

Sorry, no.  There are four cases:

1. @nosent: all sentinels get stripped, and Leo can't read the derived
file, but can only write it.

2. @auto: Leo reads the file by parsing it.

3. @shadow: Leo writes two versions of the file, a public file without
sentinels and a private file with sentinels.  Leo can read the public
file and update the outline based on diffs with the unchanged private
file.

4. @file, @thin, etc: sentinels get represented in the derived file.

Leo has to be able to read the file somehow, except for @nosent files
which are write only.

Leo's fundamental read code (for cases 2,3,and 4) generates the
outline **without** comparing the outline nodes with the derived file.
 This is what makes Leo's read code so solid.  This design principle
evolved over several years, and there is no way I am going to change
it.

In short, Leo can't do what you are asking.

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to