Checking the outline after reads and before write takes a negligible amount 
of time. On my mid-range machine it takes 0.15 sec. per 10,000 nodes.  That 
is, about 0.10 sec. on leoPy.leo.

Imo, nobody would notice if Leo *always* checked the .leo file after 
reading and before writing. Except when the checks prevented catastrophe :-)

Permanently enabling such checks could be done easily:

- Disable the check-outline OK messages that now go to the log.
- Remove the --check-outline command-line option.
- Remove the following two settings and the associated "if" statements:

     @bool check_outline_after_read
     @bool check_outline_before_save

Hmm.  Constant checking seems like all gain and no pain. Fewer options and 
safer operation.

Your comments, please.

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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to