ENB: Unexpected de-hoists

12 views
Skip to first unread message

Edward K. Ream

unread,
Oct 10, 2021, 2:02:27 PM10/10/21
to leo-editor
#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
Reply all
Reply to author
Forward
0 new messages