Re: ENB: Fixing bug 149: clones can revert changes...

2015-03-10 Thread Edward K. Ream
On Monday, March 9, 2015 at 7:35:19 AM UTC-5, Edward K. Ream wrote: This is an Engineering Notebook post (notes to myself) concerning https://github.com/leo-editor/leo-editor/issues/149 Clones can revert changes made by git discard even with --no-cache You can safely ignore this post

How to push fix for bug 149? Comments please

2015-03-10 Thread Edward K. Ream
Early this morning I completed the first phase of the fix for bug 149: Clones can revert changes made by git discard even with --no-cache https://github.com/leo-editor/leo-editor/issues/149 The question is, how to push the fixes? = Background The fixes are a grand revision of leoAtFile.py,

Re: How to push fix for bug 149? Comments please

2015-03-10 Thread 'Terry Brown' via leo-editor
On Tue, 10 Mar 2015 06:05:55 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Early this morning I completed the first phase of the fix for bug 149: Clones can revert changes made by git discard even with --no-cache https://github.com/leo-editor/leo-editor/issues/149 The question is,

ENB: A dict creates virtual temp status bits

2015-03-10 Thread Edward K. Ream
The code that issues recovered nodes warnings must know whether v.b has been inited previously or not. Alas, the present code (in at.terminateBody) uses this code instead:: if v != at.root.v and old != new: # Not exactly correct. Old could be empty. # However, it appears to

Rev 3741940 uses the new code as discussed in the ENB.

2015-03-10 Thread Edward K. Ream
The new code is pretty much as described here: ENB: A dict creates virtual temp status bits https://groups.google.com/d/msg/leo-editor/muIwfxnxIEA/fza2IvUl1qkJ All unit tests pass, as do a few hand tests, but more testing is needed. Please report any problems immediately. Thanks. Edward --

Re: On Startup - reopen recent outlines

2015-03-10 Thread Michael S.
Thank you. That was exactly what I was looking for. Very helpful. I had a little trouble getting the shortcut on my (Windows) desktop configured - the command-line options go outside the quotation marks Target: C:\Python34\pythonw.exe C:\Program Files (x86)\Leo-5.0-final\launchLeo.py

Re: On Startup - reopen recent outlines

2015-03-10 Thread Edward K. Ream
On Tue, Mar 10, 2015 at 11:28 AM, Michael S. msave...@gmail.com wrote: Is it possible to configure LEO to automatically reopen the outlines that were open when it was last closed? Like the continue where I left off or show my windows and tabs from last time option available in web browsers?

Re: Leo now acts on some operator input when the Leo window is NOT the top window

2015-03-10 Thread SegundoBob
On Friday, March 6, 2015 at 1:33:54 PM UTC-8, Edward K. Ream wrote: ​I haven't experienced this exactly, but I have noticed that doing Alt-tab, Alt-tab does not seem always to put focus in Leo's window in such a way that key bindings are in effect. I haven't noticed a problem with

Re: Warning: rev 4cf0945 writes private @shadow files with new sentinels

2015-03-10 Thread 'Terry Brown' via leo-editor
On Tue, 10 Mar 2015 10:01:31 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: This rev changes only one line: at.writeVersion5 is now always True. However, this affects anyone who still uses @shadow. Please report any problems immediately. I assume this doesn't break reading of old

binding more than one command to a keyboard shortcut

2015-03-10 Thread Ben Fisher
Hi, I was wondering what the best way is to bind more than one command to a keyboard shortcut. For example, I'd like Ctrl-q to not be quit, but to run both gui-menu-toggle gui-minibuffer-toggle I can see how this would be done with a plugin, but there is likely a simpler way. -Ben -- You

Re: On Startup - reopen recent outlines

2015-03-10 Thread 'Terry Brown' via leo-editor
On Tue, 10 Mar 2015 11:35:33 -0500 Edward K. Ream edream...@gmail.com wrote: On Tue, Mar 10, 2015 at 11:28 AM, Michael S. msave...@gmail.com wrote: Is it possible to configure LEO to automatically reopen the outlines that were open when it was last closed? Like the continue where I

Warning: rev 4cf0945 writes private @shadow files with new sentinels

2015-03-10 Thread Edward K. Ream
This rev changes only one line: at.writeVersion5 is now always True. However, this affects anyone who still uses @shadow. Please report any problems immediately. I'll wait a day or so before eliminating the at.writeVersion5 ivar entirely. Edward -- You received this message because you are

On Startup - reopen recent outlines

2015-03-10 Thread Michael S.
I use LEO at work to keep track of several topics and always have the same set of outlines open - TODO list, ProjectX, ProjectY, etc. Is it possible to configure LEO to automatically reopen the outlines that were open when it was last closed? Like the continue where I left off or show my

Warning: rev 18796c4 removes the new_clone_test switch all old code

2015-03-10 Thread Edward K. Ream
This rev completes the grand collapse in complexity needed to truly fix bug 149. This is a big step forward for Leo. I have been using earlier, mostly equivalent, versions for an hour or more without problems. Every test I can think of passes. All unit tests pass, and pylint is happy, and

Warning: rev ef597cf removes allow_cloned_sibs switch

2015-03-10 Thread Edward K. Ream
This switch has been True in leoAtFile.py for several years. Recent revs simplify the code by removing the switch, and including only the code that was executed when the switch was True. All tests pass. Use due caution. There is one more cleanup to come: removing the writeVersion5. As

Leo in the wild :-)

2015-03-10 Thread 'Terry Brown' via leo-editor
START: GIS gobbledegook QGis somehow fails to read the projection information from a .tif even though gdalinfo can read it, so I'm thinking there must be an easy way to create a separate world file for the the .tif END: GIS gobbledegook The solution, from Matt Wilkie :-) is here:

Warning: recent revs inhibit some recovered nodes messages

2015-03-10 Thread Edward K. Ream
The warnings are sometimes given, but not in all cases as before. I'll fix this within 24 hours in the new code base. There is no going back. The fix will likely also correct some other buggy edge case. But now it's time for a break... Edward -- You received this message because you are

Re: Warning: rev 4cf0945 writes private @shadow files with new sentinels

2015-03-10 Thread Edward K. Ream
On Tue, Mar 10, 2015 at 12:20 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: This rev changes only one line: at.writeVersion5 is now always True. However, this affects anyone who still uses @shadow. Please report any problems immediately. I assume this doesn't break