Re: A couple of tracebacks when running leo's own tests

2008-08-25 Thread Edward K. Ream
On Sun, Aug 24, 2008 at 2:38 PM, zpcspm [EMAIL PROTECTED] wrote: These are not serious The reason why I'm reporting these tracebacks is because I'm almost ready to commit into the trunk the feature we've discussed some time ago here: http://tinyurl.com/5nescw Hmm. That makes them more

Re: A couple of tracebacks when running leo's own tests

2008-08-25 Thread zpcspm
On Aug 25, 1:28 pm, Edward K. Ream [EMAIL PROTECTED] wrote: First of all, what platform and version of Python are you using? Slackware Linux 12.0 Python 2.5.1, Tk 8.4.16, Pmw 1.3 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: recursive @shadow imports with @path nodes (a solution)

2008-08-25 Thread Edward K. Ream
On Sun, Aug 24, 2008 at 1:25 PM, VR [EMAIL PROTECTED] wrote: However I think it would be an appreciated service to all Leo-Users if for all scripts plug-ins that are provided, we find a *general* way of stating the minimum python version needed. - What do you think about this proposal? To

Re: Goto global line not working in @shadow

2008-08-25 Thread Kent Tenney
On Mon, Aug 25, 2008 at 5:32 AM, Edward K. Ream [EMAIL PROTECTED] wrote: On Sun, Aug 24, 2008 at 6:03 PM, Kent Tenney [EMAIL PROTECTED] wrote: Thanks Kent, for this report. I'm relying on you and others who actually use @shadow to get all the kinks out. If @shadow is being positioned as a

Re: A couple of tracebacks when running leo's own tests

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 6:13 AM, zpcspm [EMAIL PROTECTED] wrote: On Aug 25, 1:28 pm, Edward K. Ream [EMAIL PROTECTED] wrote: First of all, what platform and version of Python are you using? Slackware Linux 12.0 Python 2.5.1, Tk 8.4.16, Pmw 1.3 Ok. Please download a clean copy of the trunk

Re: Goto global line not working in @shadow

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 7:07 AM, Kent Tenney [EMAIL PROTECTED] wrote: I recommend @thin for everyone, I don't think that's a good idea, I don't think there is real disagreement between us--it's just a matter of emphasis. To be clear, I think @shadow is sensational technology. It's the way

Re: Installation of Leo on Linux

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 6:52 AM, hemanth [EMAIL PROTECTED] wrote: Pardon me if this is discussed else where. I have recently started using Ubuntu Linux as my sole desktop. I downloaded Leo-4-5-b3.zip from Sourceforge and unzipped. I ran, $sudo setup.py install The 'install' script (not

Re: A couple of tracebacks when running leo's own tests

2008-08-25 Thread zpcspm
On Aug 25, 3:41 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 6:13 AM, zpcspm [EMAIL PROTECTED] wrote: Ok. Please download a clean copy of the trunk and run all unit tests there. Call the set of failed unit tests in the trunk set A. Don't worry about set A. Your job

Re: Goto global line not working in @shadow

2008-08-25 Thread Kent Tenney
On Mon, Aug 25, 2008 at 7:45 AM, Edward K. Ream [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 7:07 AM, Kent Tenney [EMAIL PROTECTED] wrote: I recommend @thin for everyone, I don't think that's a good idea, I don't think there is real disagreement between us--it's just a matter of

Re: problems using leo-4-5-b1 install script on linux

2008-08-25 Thread Edward K. Ream
On Aug 20, 11:05 am, Ville M. Vainio [EMAIL PROTECTED] wrote: There are currently 2 alternative linux installation routes, both of which are simpler than what is done in the install script: 1) Install leo as library (currently only used by %lleo in ILeo, but other uses may surface in the

Re: a more controversial suggestion?

2008-08-25 Thread Terry Brown
On Sat, 23 Aug 2008 08:36:12 -0700 (PDT) billp9619 [EMAIL PROTECTED] wrote: My thought would be to have the headline remain as it is but display text given in the body. I think there's a possibility for customizing the presentation of headlines - as long as the real text is always loaded into

Re: run @auto on a node...

2008-08-25 Thread Terry Brown
On Sun, 24 Aug 2008 14:09:43 -0500 Edward K. Ream [EMAIL PROTECTED] wrote: As I said, there are many ways to extend/modify this code, but this should give you a general idea of what is possible. I would very much appreciate it if you would extend this code yourself--it's not too difficult.

Re: DOJO web scripting framework and leo

2008-08-25 Thread Terry Brown
Just in case people are out there looking for javascript frameworks, I should point out jQuery (www.jquery.com) which has been working well for me. Also another way of squirting data into pages via javascript, xModify, which uses javascript (there's a jquery version, but there are others, too,

Installation of Leo on Linux

2008-08-25 Thread hemanth
Pardon me if this is discussed else where. I have recently started using Ubuntu Linux as my sole desktop. I downloaded Leo-4-5-b3.zip from Sourceforge and unzipped. I ran, $sudo setup.py install When I launched leo, it complained of Icons not being found. I had to manually copy the following

Re: Leo now requires Python 2.4 or higher

2008-08-25 Thread Ville M. Vainio
On Mon, Aug 25, 2008 at 3:08 AM, Edward K. Ream [EMAIL PROTECTED] wrote: for very much longer. Python 2.4 is probably the earliest version that can be make compatible with Python 3k, so pretty soon Python 2.4 will have to be the minimum. Python 2.6 will probably be the earliest version that

Commit to trunk lost again.

2008-08-25 Thread TL
I committed leoApp.py to the trunk (r902) containing support for the .otl file extension used by Vim's outline plugin. It was previously committed as r847 but got overwritten somehow. This happened the last time I committed a change to the trunk. How is this happening and can the bzr work flow

Re: Installation of Leo on Linux

2008-08-25 Thread Ville M. Vainio
On Mon, Aug 25, 2008 at 4:02 PM, Edward K. Ream [EMAIL PROTECTED] wrote: The 'install' script (not setup.py install) could be called the recommended way to install Leo, but there is presently debate about whether to get rid of that script. Your question convinces me that the b4 version will

Re: problems using leo-4-5-b1 install script on linux

2008-08-25 Thread Ville M. Vainio
On Mon, Aug 25, 2008 at 4:07 PM, Edward K. Ream [EMAIL PROTECTED] wrote: It seems to me that 2) is the simplest thing that could possibly work. Both the 'install' script and the 'setup.py' script seem to cause confusion. For b4 I'm going to remove 'install', 'uninstall' and 'setup.py'

Re: Commit to trunk lost again.

2008-08-25 Thread Terry Brown
On Mon, 25 Aug 2008 07:48:38 -0700 (PDT) TL [EMAIL PROTECTED] wrote: I committed leoApp.py to the trunk (r902) containing support for the .otl file extension used by Vim's outline plugin. It was previously committed as r847 but got overwritten somehow. This happened the last time I

Re: problems using leo-4-5-b1 install script on linux

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 10:04 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: Please don't remove setup.py. My recent change should prevent the confusion. Ok. I'll put it back in and redo the distribution. Edward --~--~-~--~~~---~--~~ You received this message

Re: Line length in nested nodes

2008-08-25 Thread zpcspm
I've just pushed the feature into the trunk. Please tell me if I did something wrong (like overwriting something for example). I had to do two merges because the trunk was modified right before I was going to commit into it. --~--~-~--~~~---~--~~ You received this

.leo directory - Issues

2008-08-25 Thread TL
Just installed the latest version and found the following issues with the new .leo directory: 1. The File Explorer application in Windows XP does not allow users to manually create a .leo directory. The message You must type a file name is given when trying to rename the directory from New

Re: .leo directory - Issues

2008-08-25 Thread Ville M. Vainio
On Mon, Aug 25, 2008 at 6:31 PM, TL [EMAIL PROTECTED] wrote: 1. The File Explorer application in Windows XP does not allow users to manually create a .leo directory. The message You must type a file name is given when trying to rename the directory from New Folder to .leo. No problem for

Re: Line length in nested nodes

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 10:14 AM, zpcspm [EMAIL PROTECTED] wrote: I've just pushed the feature into the trunk. Please tell me if I did something wrong (like overwriting something for example). I had to do two merges because the trunk was modified right before I was going to commit into it.

Re: Line length in nested nodes

2008-08-25 Thread zpcspm
On Aug 25, 6:39 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 10:14 AM, zpcspm [EMAIL PROTECTED] wrote: I've just pushed the feature into the trunk. Please tell me if I did something wrong (like overwriting something for example). I had to do two merges because the

Re: Leo now requires Python 2.4 or higher

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 9:18 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 3:08 AM, Edward K. Ream [EMAIL PROTECTED] wrote: for very much longer. Python 2.4 is probably the earliest version that can be make compatible with Python 3k, so pretty soon Python 2.4 will

Re: .leo directory - Issues

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 10:31 AM, TL [EMAIL PROTECTED] wrote: Just installed the latest version and found the following issues with the new .leo directory: Thanks for this report. I'll fix these before releasing b4. 1. The File Explorer application in Windows XP does not allow users to

Re: .leo directory - Issues

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 10:52 AM, Edward K. Ream [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 10:31 AM, TL [EMAIL PROTECTED] wrote: Just installed the latest version and found the following issues with the new .leo directory: Thanks for this report. I'll fix these before releasing b4.

Leo 4.5 b4 released

2008-08-25 Thread Edward K. Ream
Leo 4.5 beta 4 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 This beta 4 release will likely be the last release before Leo 4.5 final. It fixes several bugs reported since the b3 release. Please report any problems immediately. Edward

Re: Line length in nested nodes

2008-08-25 Thread zpcspm
I have added the line otl : vimoutline, #zpcspm 8/25/08 Vim's outline plugin to self.extra_extension_dict in Code-- Core classes-- @thin leoApp.py-- app.__init__-- define global data structures app This didn't fix the failing test. I'm not even sure I did the right thing. I'm confused

FileActions Plugin - Now supports @shadow

2008-08-25 Thread TL
I've committed FileActions.py to the Trunk with the change needed to recognize nodes with the @shadow directive in the FileActions plugin. Note: If support for using aliases or icons for @file directives is implemented, the FileActions plugin will likely need to be modified to support this. TL

Re: Commit to trunk lost again.

2008-08-25 Thread Terry Brown
On Mon, 25 Aug 2008 08:35:17 -0700 (PDT) TL [EMAIL PROTECTED] wrote: The change disappeared. Ok - then we should blame Edward :) Seems very suspicious that the comment on revid:[EMAIL PROTECTED] which followed revid:[EMAIL PROTECTED] refers to adjusted some entries in the

Re: FileActions Plugin - Now supports @shadow

2008-08-25 Thread Terry Brown
On Mon, 25 Aug 2008 09:45:29 -0700 (PDT) TL [EMAIL PROTECTED] wrote: Note: If support for using aliases or icons for @file directives is implemented, the FileActions plugin will likely need to be modified to support this. Maybe, maybe not. I think p.headString() would still report @shadow

Re: Commit to trunk lost again.

2008-08-25 Thread zpcspm
On Aug 25, 6:35 pm, TL [EMAIL PROTECTED] wrote: The change disappeared. I have commited to trunk after you. But I've noticed your change and I've merged it before pushing. This is how my bzr log looks like: $ bzr log -r -10.. revno:

Re: Commit to trunk lost again.

2008-08-25 Thread Terry Brown
On Mon, 25 Aug 2008 09:54:49 -0700 (PDT) zpcspm [EMAIL PROTECTED] wrote: On Aug 25, 6:35 pm, TL [EMAIL PROTECTED] wrote: The change disappeared. I have commited to trunk after you. But I've noticed your change and I've merged it before pushing. This is how my bzr log looks like: My

Re: Line length in nested nodes

2008-08-25 Thread zpcspm
On Aug 25, 8:13 pm, TL [EMAIL PROTECTED] wrote: An updated leoApp.py file with the ahk entry removed has been committed to the trunk. TL @test languageForExtension is still failing to me I've run just this test, not the all tests from leoTest.py $ bzr log -r -1..

Re: Line length in nested nodes

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 11:42 AM, zpcspm [EMAIL PROTECTED] wrote: I have added the line otl : vimoutline, #zpcspm 8/25/08 Vim's outline plugin to self.extra_extension_dict in Code-- Core classes-- @thin leoApp.py-- app.__init__-- define global data structures app This didn't

Re: problems using leo-4-5-b1 install script on linux

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 11:46 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: Make sure to add the version in trunk - it has my warning fix. Oops. The updated setup.py didn't make it into the b4 distribution. I've updated the leo-4-5-final branch, so it will appear in all further releases.

Re: DOJO web scripting framework and leo

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 8:59 AM, Terry Brown [EMAIL PROTECTED] wrote: Just in case people are out there looking for javascript frameworks, I should point out jQuery (www.jquery.com) which has been working well for me. Thanks, Terry, for this link. Eight years ago, when I rewrote Leo in

Re: run @auto on a node...

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 9:02 AM, Terry Brown [EMAIL PROTECTED] wrote: I'll probably do that - knowing about c.importCommands.scanPythonText was the pointer I needed, thanks. I just did a minimal prototype because I wasn't sure what you might want. However, there is one change I'd be happy to

Re: .leo directory - Issues

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 10:35 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: With ipython, we use _ipython instead of .ipython as the rc directory on windows, for this and other reasons (some win32 programs don't really like files/dirs starting with .). Wow. Configuration issues never stop

Re: Installation of Leo on Linux

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 9:54 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: But really, there should be README.txt directly in the root folder (as opposed to docs/), and it should be updated since it doesn't seem to be quite valid anymore (i.e. installation is more complicated than it needs to

Re: a more controversial suggestion?

2008-08-25 Thread Terry Brown
On Mon, 25 Aug 2008 13:50:28 -0500 Edward K. Ream [EMAIL PROTECTED] wrote: ALTHOUGH - for some reason my experiments with the override of setUnselectedHeadlineColors etc. that exist in cleo were failing because w.delete('1.0', Tk.END) didn't seem to do anything. w.delete deletes only

Re: .leo directory - Issues

2008-08-25 Thread Terry Brown
On Mon, 25 Aug 2008 13:52:33 -0500 Edward K. Ream [EMAIL PROTECTED] wrote: Would anyone object to a $HOME/_leo directory for Windows only? I guess I'd always assumed that the .leo was for unix only. For windows, what's the advantage of _leo over leo? Cheers -Terry

Re: .leo directory - Issues

2008-08-25 Thread Edward K. Ream
On Mon, Aug 25, 2008 at 2:58 PM, Terry Brown [EMAIL PROTECTED] wrote: I guess I'd always assumed that the .leo was for unix only. For windows, what's the advantage of _leo over leo? There is already a leo directory, so perhaps _leo is less ambiguous. Edward