Re: leoInspect: a hobby with a future?

2011-11-18 Thread Edward K. Ream
On Nov 17, 10:26 am, Edward K. Ream edream...@gmail.com wrote: I expect to spend at least the rest of today on format and the AstFormatter class. It was an interesting day, not least because the Fool (capitalized, the skeptical part of me) kept screaming at me. leoInspect is so elegant, I

Re: leoInspect: a hobby with a future?

2011-11-18 Thread Edward K. Ream
On Nov 18, 2:35 am, Edward K. Ream edream...@gmail.com wrote: Me:  Time to get back to work on leoInspect! Actually, it's time for sleep. I'm a bit short due to the excitement of the leoInspect project. EKR -- You received this message because you are subscribed to the Google Groups

bug: shell interprets characters in at-mime headings

2011-11-18 Thread Josef
on linux, parenthesis or angled brackets in @mime headings prevent the file from being opened, probably because they are interpreted specially by the shell, e.g. they need to be escaped. Such characters should be escaped before passing the filename to the shell. -- You received this message

at-mime and at-url

2011-11-18 Thread Josef
There is some overlap in functionality between @mime and @url, when it comes to local files. Although it seems @url can under some circumstances also open local files with the associated program, @mime certainly does a more consistent job, particularly with relative path names. One big difference

global buttons don't work in recent version of 4.9.1

2011-11-18 Thread Josef
buttons defined under @buttons in myLeoSettings.leo do not seem to work any more, while local buttons still work. Is this change intentional? - Josef -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to

Re: leoInspect: a hobby with a future?

2011-11-18 Thread Edward K. Ream
On Fri, Nov 18, 2011 at 2:35 AM, Edward K. Ream edream...@gmail.com wrote: leoInspect is so elegant, I started doubting it! The quick summary of leoInspect: 1. leoInspect inspects text; Python's inspect module inspects live objects. 2. leoInspect is much easier to use than inspect, and more

Re: File 'Open' or 'Import File' command to follow @path directive

2011-11-18 Thread Josef
not only would I vote for this, but in addition, the generated path should be *relative* to the path in the @path directive, not absolute. E.g. use os.path.relpath(path[, start]) where start is the path specified by the (cascaded) @path directive. That allows Leo files to be moved together with

Re: Big improvements to external unit tests

2011-11-18 Thread Edward K. Ream
On Nov 15, 9:31 am, Edward K. Ream edream...@gmail.com wrote: I plan no further improvements to Leo's unit test infrastructure. All the tiny grains have grit have been removed from the gears. Rev 4822 removes two more pieces of grit: 1. *Any* of the run-x-unit-test commands will execute the

Terry, please check todo.py

2011-11-18 Thread Edward K. Ream
The cycle-all-focus command crashed in todo.py, and I thought the best way to fix it would be to add dummy support for the HighLevelInterface to cleoQtUI. Terry, please check to make sure that todo.py is working as you expect. Thanks. Edward -- You received this message because you are

Re: Terry, please check todo.py

2011-11-18 Thread Edward K. Ream
On Fri, Nov 18, 2011 at 11:28 AM, Edward K. Ream edream...@gmail.com wrote: The cycle-all-focus command crashed in todo.py, and I thought the best way to fix it would be to add dummy support for the HighLevelInterface to cleoQtUI. Oops. The problem was somewhere else completely. I've removed

Re: Exceptions in doCommand

2011-11-18 Thread Edward K. Ream
On Thu, Nov 17, 2011 at 11:01 AM, Morgul jmfo1...@gmail.com wrote: Hello. I'm using the latest bzr snapshot, and I get the following error when I open a new editor (using add-editor in the minibuffer), select some text in the newly open editor, and press the backspace key: [snip]  File

Re: How to re-assign a key binding

2011-11-18 Thread SegundoBob
Kent, The post I wrote yesterday was probably not relevant to your question. Apparently, setting a key binding in a plugin is significantly different from setting a key binding in leoSettings.leo. I wrote yesterday focused on re-assigning a key binding made in a plugin. As I wrote yesterday,

Checking Leo's properties: present and (near!) future

2011-11-18 Thread Edward K. Ream
The recent problems with crashes in the log pane were due to a complete botch when I created the logCtrl (and bodyCtrl) properties: the properties both got the name b rather than the intended names. A proper unit test would have caught that mistake. Indeed, a proper unit test would have been the

Re: Checking Leo's properties: present and (near!) future

2011-11-18 Thread Edward K. Ream
On Nov 18, 7:09 pm, Edward K. Ream edream...@gmail.com wrote: The real intention of the logCtrl property is that there be *no* assignment to logCtrl anywhere in Leo...This is a perfect prototype for leoInspect inferences. As stated earlier today, the real power of leoInspect will come from