Re: Exceptions in recent revisions

2011-06-09 Thread vitalije
Regarding the exception introduced in revno 4288, I have found solution leoCommands.py, line 7234, in setChanged     if g.app.gui.guiName().startswith('qt') and g.app.qt_use_tabs and hasattr(c.frame,'top'): AttributeError: 'NoneType' object has no attribute 'guiName' I think that the

Leo's file format: version 3, draft 5

2011-06-09 Thread Edward K. Ream
The last remaining project before b3 will be to revise Leo's file format. The code work should take only a few hours, but we must first agree on what we want. Please read the following carefully. All comments encouraged. This draft is intended to reflect minimal changes from Leo's present file

Re: Exceptions in recent revisions

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 2:02 AM, vitalije vitali...@gmail.com wrote: Regarding the exception introduced in revno 4288, I have found solution Thanks for this. It's now on the trunk at rev 4304. Regarding the rest of exceptions they disappeared when I updated my Leo to current revno  4302

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Kent Tenney
On Thu, Jun 9, 2011 at 5:40 AM, Edward K. Ream edream...@gmail.com wrote: The last remaining project before b3 will be to revise Leo's file format.  The code work should take only a few hours, but we must first agree on what we want.  Please read the following carefully.  All comments

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Terry Brown
On Thu, 9 Jun 2011 03:40:41 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: old new vnodesdirected-acyclic-graph What about just nodes? The structure as described really only allows a DAG, so the hint that this is what is required isn't really

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 8:49 AM, Terry Brown terry_n_br...@yahoo.com wrote:     vnodes    directed-acyclic-graph What about just nodes?  The structure as described really only allows a DAG, so the hint that this is what is required isn't really necessary, and a lot of people won't know what

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 8:12 AM, Kent Tenney kten...@gmail.com wrote: - Headlines will move from v elements to data elements.  This normalizes the data: headlines will appear only once. Yay! :-) My vision of a Leo file is node informs of location in the graph, data is the ... data. That's

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 9:27 AM, Kent Tenney kten...@gmail.com wrote: How about position or location or v Position means something entirely different in Leo. Location would be wrong as well, imo. v is possible, of course, but it's not great. All in all, I think node gets closest to the truth.

Do we need a new file format?

2011-06-09 Thread Edward K. Ream
I am tempted to downgrade all the file format stuff to vague status. Indeed, improving uA's has little or no value to users. I do plan to do the internal cleanups mentioned. They are useful (internally) and can be done in an hour or so. The big picture is this: 1. I want to complete b3. All

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Kent Tenney
On Thu, Jun 9, 2011 at 9:10 AM, Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 9, 2011 at 8:49 AM, Terry Brown terry_n_br...@yahoo.com wrote:     vnodes    directed-acyclic-graph What about just nodes?  The structure as described really only allows a DAG, so the hint that this is what

Re: Do we need a new file format?

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 9:40 AM, Edward K. Ream edream...@gmail.com wrote: The big picture is this: 1. I want to complete b3.  All the other items on the b3 list have real user benefits. Without a new file format, rc1 could go out the door in 3-5 days. Edward -- You received this message

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 9:34 AM, Kent Tenney kten...@gmail.com wrote: On Thu, Jun 9, 2011 at 9:10 AM, Edward K. Ream edream...@gmail.com Sure, but it seems unusual to name according to implementation. Leo's DAG is not just implementation. Clones require a DAG. how about data  datum  

Leo 4.9 rc1 final coming soon.

2011-06-09 Thread Edward K. Ream
I just realized that I have crossed a psychological divide: I have no more energy left for 4.9 items that are neither a) an obvious bug nor b) an important feature that is clearly missing. So, *without prejudice*, I am going to defer the new file format to Leo 4.10. This will allow me to

Re: Leo 4.9 rc1 final coming soon.

2011-06-09 Thread Terry Brown
On Thu, 9 Jun 2011 08:40:57 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: I just realized that I have crossed a psychological divide: I have no more energy left for 4.9 items that are neither a) an obvious bug nor b) an important feature that is clearly missing. So, *without

Re: Do we need a new file format?

2011-06-09 Thread Ville M. Vainio
I don't see a big drive towards new file format for 4.9, especially if it won't have edge's. I do see a good reason to remove window state, expansion status etc. stuff from .leo file, and move that over to c.db On Thu, Jun 9, 2011 at 5:40 PM, Edward K. Ream edream...@gmail.com wrote: I am

Re: v4.9b Import menu

2011-06-09 Thread Matt Wilkie
I have this same problem, see attached. Leo updated from bzr a few minutes ago: Leo Log Window Leo 4.9 beta 2, build 4265, June 4, 2011 Python 2.6.6, qt version 4.6.1 Windows 6, 1, 7600, 2, -- You received this message because you are subscribed to the Google Groups leo-editor group. To post

Re: Do we need a new file format?

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 11:16 AM, Ville M. Vainio vivai...@gmail.com wrote: I don't see a big drive towards new file format for 4.9, especially if it won't have edge's. I do see a good reason to remove window state, expansion status etc. stuff from .leo file, and move that over to c.db I

Word-only options now works with regex searches

2011-06-09 Thread Edward K. Ream
Another one of those items that could have been done 10 years ago. The fix was simple: when the word-only option is in effect, Leo adds the \b anchor before and after the search pattern as needed. Edward -- You received this message because you are subscribed to the Google Groups leo-editor

Re: Leo's file format: version 3, draft 5

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 10:22 AM, Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 9, 2011 at 9:34 AM, Kent Tenney kten...@gmail.com wrote: On Thu, Jun 9, 2011 at 9:10 AM, Edward K. Ream edream...@gmail.com Sure, but it seems unusual to name according to implementation. Leo's DAG is not

Re: v4.9b Import menu

2011-06-09 Thread Edward K. Ream
On Thu, Jun 9, 2011 at 12:02 PM, Matt Wilkie map...@gmail.com wrote: I have this same problem, see attached. Leo updated from bzr a few minutes ago: Thanks for the screen shot. This is the old menu, not the one in leoSettings.leo, as you may easily verify. Please check your @menus nodes in

Re: v4.9b Import menu

2011-06-09 Thread Matt Wilkie
Please check your @menus nodes in your myLeoSettings.leo or the file being loaded. okay, thanks for that. I don't recall ever adding or changing any @menu settings, however I did create myLeoSettings.leo at one point so I could enable/disable plugins, customize the external editor, and maybe

Re: v4.9b Import menu

2011-06-09 Thread Matt Wilkie
I'm left wondering if I should be removing other branches too just to be safe, though I'm cautious because I don't understand 90% of what the nodes in that file do. Well, that caution was shortlived. :) I just deleted everything in myLeoSettings except for: {{{ - About this file - @settings

[ctrl-z] in headline doesn't undo

2011-06-09 Thread Matt Wilkie
When editing a headline pressing [Ctrl-Z] doesn't undo. Rather nothing at all appears to happen, however depending on what key is pressed next, it continues to do nothing, or a strange character is entered instead (I presume it's a raw Ctrl-Z). The what character is next isn't consistent.

A script to find all commands that don't have docstrings

2011-06-09 Thread Edward K. Ream
The power of Python, combined with Leo's api. The script inserts all the functions lacking docstrings at the end of the script (the second @ sign):: Q d = c.commandsDict # Keys are command names; values are functions ignore = ['minibufferCallback',] aList = [ d.get(z).__name__ for z in d