Re: Applying the Stupendous Aha to bug 879331

2012-01-23 Thread Edward K. Ream
On Jan 21, 7:43 am, Edward K. Ream edream...@gmail.com wrote: The title of this thread keeps being significant.  The @test node provides a way of experimenting with new code safely, without the need for a new branch. Good progress to report. Yesterday I added a long-overdue and fundamental

Re: Applying the Stupendous Aha to bug 879331

2012-01-23 Thread Edward K. Ream
On Jan 23, 7:22 am, Edward K. Ream edream...@gmail.com wrote: I expect to finish this bug in the next day or so, but that depends on making the update rules as simple as possible, but no simpler... Here are the rules as I understand them at present: Rule 1: Key settings are handled separately

Re: Applying the Stupendous Aha to bug 879331

2012-01-22 Thread Edward K. Ream
On Sat, Jan 21, 2012 at 9:31 PM, lewis lewisn...@operamail.com wrote: Open quickstart.leo - these messages appear in the log: Leo Log Window Leo 4.9.1 devel, build 4935, 2012-01-22 13:42:40 Odd. The messages don't happen for me on startup. However, unwanted traces do appear when invoking a

Re: Applying the Stupendous Aha to bug 879331

2012-01-22 Thread Edward K. Ream
On Sun, Jan 22, 2012 at 6:42 AM, Edward K. Ream edream...@gmail.com wrote: Odd.  The messages don't happen for me on startup.  However, unwanted traces do appear when invoking a menu. Found them. Rev 4937 disables them. EKR -- You received this message because you are subscribed to the

Re: Applying the Stupendous Aha to bug 879331

2012-01-21 Thread Edward K. Ream
On Fri, Jan 20, 2012 at 9:51 AM, Edward K. Ream edream...@gmail.com wrote: When I awoke this morning I realized that creating menus dynamically might be a good way forward. It was indeed. Recalculating the shortcuts when menus are activated is easy and natural. The following are notes to

Re: Applying the Stupendous Aha to bug 879331

2012-01-21 Thread lewis
Open quickstart.leo - these messages appear in the log: Leo Log Window Leo 4.9.1 devel, build 4935, 2012-01-22 13:42:40 Python 3.2.2, qt version 4.8.0 Windows 6, 1, 7601, 2, Service Pack 1 reading: C:\Python32\Lib\site-packages\leo-editor\leo\doc \quickstart.leo insert Export... 3 Show Node as

Re: Applying the Stupendous Aha to bug 879331

2012-01-20 Thread Edward K. Ream
On Jan 19, 11:03 am, Edward K. Ream edream...@gmail.com wrote: I have a busy day today, but I'll attempt at least a partial fix later tonight. When I awoke this morning I realized that creating menus dynamically might be a good way forward. In fact, this (new) code would be almost completely

Re: Applying the Stupendous Aha to bug 879331

2012-01-19 Thread Edward K. Ream
On Jan 18, 1:40 pm, Edward K. Ream edream...@gmail.com wrote: The bug 879331: Redefining a key binding breaks menu items with same binding is easily the most complex bug I've ever tried to fix. Happily, this may not be so. I have uncovered some suspicious code in config.getShortcut: it

Applying the Stupendous Aha to bug 879331

2012-01-18 Thread Edward K. Ream
**Note**: feel free to ignore this post if you like. Much of this consists of notes to myself about a horribly complex bug, but here and there I will say a few words about how to use the Stupendous Aha to do complex tasks. The bug 879331: Redefining a key binding breaks menu items with same

Re: Applying the Stupendous Aha to bug 879331

2012-01-18 Thread Edward K. Ream
On Wed, Jan 18, 2012 at 1:40 PM, Edward K. Ream edream...@gmail.com wrote: A few days ago, I began the project by creating: @test new binding scheme. I'll put a clone of this @test node in leo/doc/leoProjects.txt. This will create a backup of my work and will allow anyone interested to follow