#2167 <https://github.com/leo-editor/leo-editor/issues/2167> suggests that 
Leo can improperly dehoist an outline under some not-well-characterized 
conditions.  In this Engineering Notebook post I'll discuss what, if 
anything, to do.

*Background*

c.selectPosition now contains a trace is an unexpected dehoist occurs.  I 
never use hoists, so I am not a good judge of the severity of this issue.

I plan only to improve the trace by adding a list of recently executed 
commands, similar to the "view-lossage" list of recently pressed 
keystrokes. The "view-recent-commands" command would be worthwhile.

I will *not* consider any "heroic" changes to Leo's existing code. For 
example, I won't modify Leo's generators or commands. Doing so risks 
breaking Leo! 

*Summary*

The "view-recent-commands" command will show recently executed commands. 
The trace in c.selectPosition will also show the recently executed commands.

Traces might eventually reveal some *minor* changes for particular 
commands. I shall not change Leo's generators or other foundational code on 
account of this issue. 

All questions and comments are welcome.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/d47b5a76-9a19-4a45-8fb4-77db3cccba3bn%40googlegroups.com.

Reply via email to