Failed unit tests on Linux

2008-03-05 Thread Edward K. Ream
There appears to be a serious problem on my Linux install. Unit tests are (sometimes) crashing with the following message: The program 'leo.py received an X Window System error. Followed by debugging instructions (!) It's possible that the threading colorizer could be the culprit. Threads

Re: Failed unit tests on Linux

2008-03-05 Thread Edward K. Ream
On Mar 5, 10:20 am, Edward K. Ream [EMAIL PROTECTED] wrote: It's possible that the threading colorizer could be the culprit. Threads just cause all kinds of problems. The error occurs with the threading colorizer disabled. In some sense this is good news. I suspect recent Python/Tkinter

Re: Failed unit tests on Linux

2008-03-05 Thread Edward K. Ream
On Mar 5, 10:20 am, Edward K. Ream [EMAIL PROTECTED] wrote: There appears to be a serious problem on my Linux install. I should mention that the failures occur with the latest revision (56) of the bzr trunk. This revision contains the proposed code for Leo 4.4.8 b1. Any further revisions

Re: Failed unit tests on Linux

2008-03-05 Thread Edward K. Ream
On Mar 5, 10:55 am, Terry Brown [EMAIL PROTECTED] wrote: On Wed, 5 Mar 2008 08:26:04 -0800 (PST) Edward K. Ream [EMAIL PROTECTED] wrote: I suspect recent Python/Tkinter bugs are causing the X crash. Really, this kind of crash should never arise with normal Python bugs. Oddly enough I

Re: Failed unit tests on Linux

2008-03-05 Thread Edward K. Ream
On Mar 5, 2:38 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Mar 5, 10:55 am, Terry Brown [EMAIL PROTECTED] wrote: Any idea how I can install Tk so Python2.5 can find it? Doing whereis python produced a long list, so I did the following: python signs on as 2.5.2, so we are using

Re: Failed unit tests on Linux

2008-03-06 Thread Edward K. Ream
On Wed, Mar 5, 2008 at 10:01 PM, Terry Brown [EMAIL PROTECTED] wrote: My experience shows why Linux is not exactly taking the world by storm. Heh, I think the reasons may be a little more various and complicated than that. It wasn't the source install that wiped gnome. Dis-installing

Re: mangled leo files

2008-03-06 Thread Edward K. Ream
On Mar 6, 7:00 am, Edward K. Ream [EMAIL PROTECTED] wrote: How did you create this file? By hand? There is *plenty* wrong with the vnode structure. I could go into details, but first I want to know how this file came to be. I can't complain too much: the check-outline command passes

Re: Failed unit tests on Linux

2008-03-06 Thread Edward K. Ream
On Mar 6, 8:19 am, Ville M. Vainio [EMAIL PROTECTED] wrote: No, you can't just remove system python installation like that, it's a feature. And a slight drawback of python being so ubiquitous today :-) Thanks for this. Saves me having to ask on comp.lang.python. Edward

Re: Leo 4.4.8 b1 released

2008-03-06 Thread Edward K. Ream
On Mar 6, 8:02 am, Edward K. Ream [EMAIL PROTECTED] wrote: As you know, there are questions about whether Leo works reliably on Linux with Python 2.5. I shall be running tests on Linux soon. In the meantime, Leo is probably safe on Linux. Some preliminary results: No xwindows crash

Re: Failed unit tests on Linux

2008-03-06 Thread Edward K. Ream
On Thu, Mar 6, 2008 at 11:10 AM, Terry Brown [EMAIL PROTECTED] wrote: First I build Tcl 8.5.1 from source ... then Tk 8.5.1 from source ... then python from source Thanks! Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Leo 4.4.8 b1 released

2008-03-07 Thread Edward K. Ream
On Thu, Mar 6, 2008 at 12:51 PM, Ville M. Vainio [EMAIL PROTECTED] wrote: On Thu, Mar 6, 2008 at 7:08 PM, Edward K. Ream [EMAIL PROTECTED] wrote: The program 'leo.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid

Re: mangled leo files

2008-03-08 Thread Edward K. Ream
On Mar 7, 6:47 am, Edward K. Ream [EMAIL PROTECTED] wrote: On Mar 6, 12:00 pm, Edward K. Ream [EMAIL PROTECTED] wrote: I am tempted to say this is impossible, but clearly somehow it happened. Something way out of the ordinary is happening. When I awoke this morning I saw the situation

Re: mangled leo files

2008-03-09 Thread Edward K. Ream
On Sun, Mar 9, 2008 at 2:25 PM, Terry Brown [EMAIL PROTECTED] wrote: I was wondering if nullGui / LeoBridge might be ways to test for problems without a windowing system / gui event threads contributing? Interesting idea. From the start I figured it was likely a gui shutdown problem, so it's

Re: mangled leo files

2008-03-09 Thread Edward K. Ream
On Mar 9, 12:04 pm, Edward K. Ream [EMAIL PROTECTED] wrote: I expect to get all unit tests working solidly in a day or so. Leo's bzr trunk now contains all the changes needed to get unit tests working on Linux. Here is what I did: - Disabled execution of doctests on Linux. These tests

Re: runtime error on leo startup (trunk)

2008-03-10 Thread Edward K. Ream
On Mar 7, 1:17 am, Ville M. Vainio [EMAIL PROTECTED] wrote: I got the following on startup (with no .leo document): reading settings in C:\leo\leo\config\leoSettings.leo ... blah blah ... CloneMenu failed inside of MenuAddOrInsert. This application has requested the Runtime to terminate

Please report remaining bugs here for now...

2008-03-10 Thread Edward K. Ream
I would like to release Leo 4.4.8 b2 this week. First, though, it would be good to resolve the problems with corrupted or mis-drawn files. I just responded to several previous bug reports. Please respond here. When reporting a bug, **please** report the platform and the contents of Leo's

Re: Please report remaining bugs here for now...

2008-03-10 Thread Edward K. Ream
On Mar 10, 9:04 am, Edward K. Ream [EMAIL PROTECTED] wrote: I would like to release Leo 4.4.8 b2 this week. First, though, it would be good to resolve the problems with corrupted or mis-drawn files. The mostly source of trouble may be problems in converting .leo files containing *very* old

Undo bug with multiple body editors fixed

2008-03-23 Thread Edward K. Ream
I've misplaced the original post. Previously, when two body editors showed the same node, undo or redo in one editor did not immediately update the other. Now it does. The fix is on the bzr trunk. The fix involved just a single call to c.frame.body.updateEditors in the top-level undo/redo

Re: bobjack, what's going on with line endings?

2008-03-24 Thread Edward K. Ream
On Mon, Mar 24, 2008 at 5:27 AM, bobjack [EMAIL PROTECTED] wrote: On Mar 23, 2:57 pm, Edward K. Ream [EMAIL PROTECTED] wrote: Why are you wanting to put cr/lf's in your plugin files? Edward Indeed, what is going on with line endings! I don't wan't to put crlf in files. Good :-) I

Re: bobjack, what's going on with line endings?

2008-03-24 Thread Edward K. Ream
With IPython we use the checkeol plugin w/ bzr that prevents checking in CR LF line endings: http://bazaar.launchpad.net/~bialix/+junk/checkeolhttp://bazaar.launchpad.net/%7Ebialix/+junk/checkeol I'll install this immediately. Actually, I had already installed this. Just did a bzr

Re: Where is bugtracker for Leo?

2008-03-24 Thread Edward K. Ream
On Mar 22, 5:17 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Sat, Mar 22, 2008 at 8:29 AM, Kent Tenney [EMAIL PROTECTED] wrote: Good question https://bugs.launchpad.net/leo-editor/ There is a pragmatic reason: I work off leoPy.leo. Having two places to report bugs means, in practice

Re: Where is bugtracker for Leo?

2008-03-24 Thread Edward K. Ream
On Mar 24, 8:15 am, Edward K. Ream [EMAIL PROTECTED] wrote: On Mar 22, 5:17 pm, Edward K. Ream [EMAIL PROTECTED] wrote: Bugs are now enabled on Launchpad, and I should be notified when someone reports a bug. I'll test this notification soon. I just got notified (it took about 10 minutes

Re: File write error clears dirty flag

2008-03-24 Thread Edward K. Ream
On Mar 18, 8:52 am, TL [EMAIL PROTECTED] wrote: The output in my original post occurred when I manually set one of my derived files to ReadOnly. The following output occurred when one of my files was locked by the interpreter I use. The write was triggered when I performed a file save from

Re: Terry Brown's changes now in the trunk

2008-03-24 Thread Edward K. Ream
On Mon, Mar 24, 2008 at 10:49 AM, Terry Brown [EMAIL PROTECTED] wrote: But supposing I did want to run unit tests :-) in unitTest.leo Docs--How to run unit tests seems to be out of date? Right. There is no longer a unit-test button. The corrected docs are in unitTest.leo on the trunk. To

Re: Leo as a sage notebook?

2008-03-25 Thread Edward K. Ream
On Mar 25, 10:38 am, Edward K. Ream [EMAIL PROTECTED] wrote: Sage is written in Python, so I'm wondering whether Leo might be a possible sage notebook. BTW, I recommend installing sage on linux or MacOS X if possible. Sage on XP is not pleasant. Edward

Re: Leo as a sage notebook?

2008-03-25 Thread Edward K. Ream
On Tue, Mar 25, 2008 at 10:42 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: As far as I understand, sage is using IPython, so ILeo is directly usable as sage notebook. That is my understanding as well. Perhaps ILeo is already all that anyone could want in a sage notebook, just as ILeo is

Re: File write error clears dirty flag

2008-03-25 Thread Edward K. Ream
On Tue, Mar 25, 2008 at 12:14 PM, TL [EMAIL PROTECTED] wrote: Hi Edward, I set up bzr and ran the Beta 3 trunk and tested the file readonly and file locked problem. Unfortunately, both of them are still broken. A (partial?) fix is on the bzr trunk. All unit tests pass. I tested the fix by

Re: middle button paste (was: Re: Please report remaining bugs here for now...)

2008-03-25 Thread Edward K. Ream
On Tue, Mar 25, 2008 at 10:24 AM, Terry Brown [EMAIL PROTECTED] wrote: This is going to be hard to describe / test without middle button functionality, if the approximately simultaneous pressing of the left and right buttons I'm going to tell you about in the next para. :-) doesn't help maybe

Re: File write error clears dirty flag

2008-03-25 Thread Edward K. Ream
On Tue, Mar 25, 2008 at 3:59 PM, TL [EMAIL PROTECTED] wrote: Good news! Both problems are fixed. Thanks! Hurray! Thanks for this report. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: LEO to dhtml

2008-03-25 Thread Edward K. Ream
On Tue, Mar 25, 2008 at 7:05 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: Does anyone know what the state of the leo_to_dhtml plugin is? Looks like plumloco's site at http://plumloco.co.uk/leo_to_dhtml/ has a demo at a later version than the code. There isn't a great way of keeping track

Re: Mods to leoconfig.py, revert if you dont like.

2008-03-26 Thread Edward K. Ream
On Wed, Mar 26, 2008 at 5:45 AM, bobjack [EMAIL PROTECTED] wrote: I have made a small addition to leoConfig.py to support @popup menus in setting trees. I thought it would be easier for you simply to revert the file if you do not approve of me making the change, rather than going through a

Re: Terry Brown's changes now in the trunk

2008-03-26 Thread Edward K. Ream
On Wed, Mar 26, 2008 at 9:07 AM, Terry Brown [EMAIL PROTECTED] wrote: p.s. drunk with power, I've made the changes described below on the trunk :-) No problem. Please change the @string setting to the @bool setting on the trunk. And while you are at it, please add all the other cleo

Re: B3 coming soon. Pls test

2008-03-26 Thread Edward K. Ream
On Wed, Mar 26, 2008 at 8:33 AM, vpe [EMAIL PROTECTED] wrote: problem: local target_language=plain settings are not applied The fix is on cvs. To make the fix work, please change: @language default_target_language = whatever to @string target_language = plain Note the double change: use

Re: Auto-export of all @file nodes as @nosent without modifying the outline

2008-03-29 Thread Edward K. Ream
On Sat, Mar 29, 2008 at 5:35 AM, Edward K. Ream [EMAIL PROTECTED] wrote: So that was pretty easy :-) Oops. There may be a problem. Do **not** use this script until I have tested it more. Edward Edward K. Ream email: [EMAIL

Re: Auto-export of all @file nodes as @nosent without modifying the outline

2008-03-29 Thread Edward K. Ream
On Mar 29, 5:42 am, Edward K. Ream [EMAIL PROTECTED] wrote: Oops. There may be a problem. Do **not** use this script until I have tested it more. It looks like writing any kind of node @thin, @nosent, etc, works, **except** @file nodes. It appears that the so-called tnode-list gets

Studying Komodo's autocompleter code

2008-03-30 Thread Edward K. Ream
I'll be using this thread to document how I study Komodo's autocompleter code. This code is *big*. leo/src/Komodo.leo in the trunk contains the .leo file that I use to study the code. It highlights various files with interesting documentation. As we shall see, creating a .leo outline is a

Re: Studying Komodo's autocompleter code

2008-03-30 Thread Edward K. Ream
On Mar 30, 1:39 pm, Edward K. Ream [EMAIL PROTECTED] wrote: ...Instead of trying to understand how Komodo works, I am only trying to discover the methods that will report the completions (and calltips) valid at a particular point in source code. That's **all**. Conceivably, dividing code

Re: Studying Komodo's autocompleter code

2008-03-30 Thread Edward K. Ream
On Sun, Mar 30, 2008 at 1:39 PM, Edward K. Ream [EMAIL PROTECTED] wrote: the decision to ignore, as a matter of policy, how Komodo works, is likely to be a most useful guide. Another guide presents itself: ignore gui considerations during initial experimentation. In other words, the essence

Re: Making Leo a package

2008-03-31 Thread Edward K. Ream
On Mon, Mar 31, 2008 at 1:07 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: There is some documentation (including a tutorial) here that may help: http://wiki.python.org/moin/DistUtils Thanks. I'll start studying today. Edward --~--~-~--~~~---~--~~ You

Re: Studying Komodo's autocompleter code

2008-03-31 Thread Edward K. Ream
On Mar 31, 8:44 am, Edward K. Ream [EMAIL PROTECTED] wrote: I'll pause now, and turn my attention to setup.py. Well, it's just too much fun to stop now :-) Single-stepping through code gives a completely different, complementary picture to the view presented by the sources, even when

Re: Studying Komodo's autocompleter code

2008-03-31 Thread Edward K. Ream
On Mar 31, 3:40 pm, Edward K. Ream [EMAIL PROTECTED] wrote: And there is much more energy. It's much like the old text Adventure game, except it The end of this sentence got lost in the bit bucket. It should be: It's much like the old text Adventure game, except it does something useful

Re: Embedding Leo to IPython

2008-04-01 Thread Edward K. Ream
On Tue, Apr 1, 2008 at 8:08 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: On Sun, Mar 30, 2008 at 6:34 PM, Ville M. Vainio [EMAIL PROTECTED] wrote: You currently need to do the following to embed leo in existing ipython session: import IPython.Shell IPython.Shell.hijack_tk()

Re: Making Leo a package

2008-04-01 Thread Edward K. Ream
On Mar 31, 11:27 am, Edward K. Ream [EMAIL PROTECTED] wrote: 1. What directory structure must Leo have to make leo a package? An Aha: I can explore this question without using distutils at all. Indeed, I just manually copied the top-level leo directory to Python/ Lib/site-packages. I

Re: Making Leo a package

2008-04-01 Thread Edward K. Ream
On Apr 1, 12:11 pm, Ville M. Vainio [EMAIL PROTECTED] wrote: On Tue, Apr 1, 2008 at 7:04 PM, Edward K. Ream [EMAIL PROTECTED] wrote: I don't think you should spend so much time with distutils - it kind of expects that it's used as it's supposed to, and fooling around too much can cause

Re: Making Leo a package

2008-04-01 Thread Edward K. Ream
On Tue, Apr 1, 2008 at 12:46 PM, Edward K. Ream [EMAIL PROTECTED] wrote: I think your suggestion to change leo/src to leo/core is a good one. I suspect, though, that making Leo into a proper package, with 'core' and 'plugins' (etc.) subpackages, probably should wait until 4.4.8 final. Would

Re: Making Leo a package

2008-04-01 Thread Edward K. Ream
On Tue, Apr 1, 2008 at 12:51 PM, Terry Brown [EMAIL PROTECTED] wrote: What do people think about requiring bzr to get Leo. Is that too leading edge? Yes - I think you should offer a .zip file, and remember there's `bzr export` to do that for you... Thanks for the reminder. If bzr

Re: Making Leo a package

2008-04-01 Thread Edward K. Ream
On Apr 1, 12:44 pm, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: On Tue, Apr 01, 2008 at 08:34:20PM +0300, Ville M. Vainio wrote: Or if you are using IPython with 'sh' profile (ipython -p sh), you can do %env DISTUTILS_DEBUG=t After that, all ipython sessions have that environment variable

Re: @nosent file problem (was: Re: Making Leo a package)

2008-04-01 Thread Edward K. Ream
On Tue, Apr 1, 2008 at 5:39 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: On Tue, Apr 01, 2008 at 03:34:28PM -0700, Kayvan A. Sylvan wrote: This led me to try a test case: A simple file with a single node (H denotes the headline and B denotes the body below): H: @nosent foo B:

Re: Making Leo a package

2008-04-01 Thread Edward K. Ream
On Apr 1, 12:46 pm, Edward K. Ream [EMAIL PROTECTED] wrote: leo.src.leo.run() fails: g.app isn't defined in the plugins. No doubt this is a subtle import problem. At least I'm debugging my own code :-) Apparently Python can import leoGlobals twice, resulting in two entries in sys.modules

Re: @nosent file problem (was: Re: Making Leo a package)

2008-04-02 Thread Edward K. Ream
On Tue, Apr 1, 2008 at 6:57 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: So the edge condition appears to be where I save the unmodified leo file and the @nosent file is missing/removed. In that case, I suspect that the save does nothing and so no @nosent file is generated. The @nosent tree

Re: Embedding Leo to IPython

2008-04-02 Thread Edward K. Ream
On Mar 30, 10:34 am, Ville M. Vainio [EMAIL PROTECTED] wrote: You currently need to do the following to embed leo in existing ipython session: import IPython.Shell IPython.Shell.hijack_tk() %run leo.py (in leo/leo/src) When leo is installable as a package, this will be much simpler

Re: Making Leo a package

2008-04-03 Thread Edward K. Ream
On Wed, Apr 2, 2008 at 4:55 PM, Kent Tenney [EMAIL PROTECTED] wrote: Tom F. (tfer) was there, we talked Leo and he did a 'Lightning talk' on Leo, a 5 minute presentation to most of the 1000 attendees. He did a good job, but it's very hard to introduce Leo in 5 minutes. All the presentations

Re: add/remove editor problem (crash?)

2008-04-03 Thread Edward K. Ream
On Thu, Apr 3, 2008 at 3:57 AM, bobjack [EMAIL PROTECTED] wrote: If you do the following sequence of commands add-editor add-editor delete-editor delete-editor add-editor You get an error message. The fix is on the trunk. All unit tests pass. The bug was caused by an erroneous

Re: cleo loses its settings at depth 7

2008-04-03 Thread Edward K. Ream
On Thu, Apr 3, 2008 at 7:23 AM, Terry Brown [EMAIL PROTECTED] wrote: On Thu, 3 Apr 2008 03:05:27 -0700 (PDT) Nik [EMAIL PROTECTED] wrote: I have only organizing and thin nodes in my outline tree. Only the children of thin nodes suffer from cleo amnesia! It seems that the problem is

Can leo_to_html.xsl be moved?

2008-04-03 Thread Edward K. Ream
I'd like to clean up Leo's top-level folder. At present, the bzr trunk contains leo_to_html.xsl. It looks like this is used somehow by the leo_to_html plugin. Can this file be moved to the plugins folder? I'll leave this file alone for the rc1 release... Edward

Re: cleo loses its settings at depth 7

2008-04-03 Thread Edward K. Ream
On Apr 3, 7:54 am, Edward K. Ream [EMAIL PROTECTED] wrote: But whatever you do, please wait until after 4.4.8 final to do it :-) Actually, it would be fine to experiment with solutions in a separate branch. I should have said, whatever you do, please wait until after 4.4.8 final to commit

Re: cleo loses its settings at depth 7

2008-04-03 Thread Edward K. Ream
On Apr 3, 8:40 am, Nik [EMAIL PROTECTED] wrote: I apologize for my first misleading posting regarding possible problems with tree depth. No apology needed. Bug reports are always helpful. You are not expected to understand the bug in detail :-) Edward

Re: Embedding Leo to IPython

2008-04-03 Thread Edward K. Ream
On Thu, Apr 3, 2008 at 7:37 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 4:47 PM, Edward K. Ream [EMAIL PROTECTED] wrote: %run leo.py (in leo/leo/src) When leo is installable as a package, this will be much simpler (because we don't need to know where

Leo 4.4.8 rc1 released

2008-04-03 Thread Edward K. Ream
Leo 4.4.8 rc1 is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 This release tests some recent changes in how Leo is distributed. In particular, the old manifest files are gone: the leo-x.zip file is created with bzr export. This is a happy

Re: Making Leo a package

2008-04-03 Thread Edward K. Ream
On Apr 2, 1:04 am, Ville M. Vainio [EMAIL PROTECTED] wrote: On Wed, Apr 2, 2008 at 2:38 AM, Edward K. Ream [EMAIL PROTECTED] wrote: I'm not sure what the solution is. Possibly all Leo imports will have to be changed from: import leoX to import leo.core.x. Yes. Fully

Re: Studying Komodo's autocompleter code

2008-04-03 Thread Edward K. Ream
On Mar 31, 3:52 pm, Edward K. Ream [EMAIL PROTECTED] wrote: In short, the twin guidelines (no code changes, focus on non-gui code) have turned what might be a big, dangerous task into a fun romp. I got very close to getting the Komodo autocompleter to work a few days ago. For the latest work

bzr branches everywhere :-)

2008-04-03 Thread Edward K. Ream
I am starting to understand the true advantage of bzr, namely that it's possible to work on several projects simultaneously in different branches. There is no more waiting on projects: if one project is stalled, it has little or no effect on other projects. To make this work, merging branches

Re: bzr branches everywhere :-)

2008-04-03 Thread Edward K. Ream
On Thu, Apr 3, 2008 at 5:40 PM, Terry Brown [EMAIL PROTECTED] wrote: On Thu, 3 Apr 2008 15:31:17 -0700 (PDT) thyrsus [EMAIL PROTECTED] wrote: The only trouble I've had is in the LeoPyRef.leo file. I use a local non-vcs copy of LeoPyRef.leo and LeoPluginsRef.leo, just using them as a way

Re: Leo 4.4.8 is feature frozen

2008-04-04 Thread Edward K. Ream
On Mar 26, 5:59 am, Edward K. Ream [EMAIL PROTECTED] wrote: Now that bzr has made collaboration easier, we will all have to pay more attention to controlling changes at various points in the release cycle. It's my intention that only bug fixes appear in Leo's core from now until Leo 4.4.8

Re: Leo 4.4.8 is feature frozen

2008-04-04 Thread Edward K. Ream
On Apr 4, 9:08 am, Edward K. Ream [EMAIL PROTECTED] wrote: And I just discovered another bug: the 'Find' button in the Spell tab has a major performance bug when both the 'Search Body' and 'Search Headline' checkboxes are selected in the *Find* tab. I'll fix this immediately. OMG, I just

Re: FileActions plugin: [EMAIL PROTECTED] type node bug?

2008-04-04 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 9:04 AM, TL [EMAIL PROTECTED] wrote: FileActions' onIconDoubleClick method attempts to process non @file type nodes. This generates an error (see end of posting). Is this a bug (if so, I'm surprised it hasn't been caught before)? Of course it is a bug. Any time

Re: FileActions plugin: [EMAIL PROTECTED] type node bug?

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 10:43 AM, TL [EMAIL PROTECTED] wrote: Edward, I would prefer if you would add the change to the trunk. Ok. I'll do that. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: cleo feature or bug

2008-04-05 Thread Edward K. Ream
On Sat, Apr 5, 2008 at 4:04 AM, bobjack [EMAIL PROTECTED] wrote: There isn't a hook for deleting icons; there is a hook for right click, but it might not be useful. In general, synchronization of events (hooks) between plugins isn't easy. If you need a hook in the icon handler, please feel

Re: Leo 4.4.8 is feature frozen

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 11:43 AM, thyrsus [EMAIL PROTECTED] wrote: I take it you've begun looking at my code :-) Yes. It will be an important addition to Leo. However, if the designation 'final' is to mean anything, we'll have to wait until after 4.4.8 final to put the code in the trunk. I

Re: High level wrapper for headline icons.

2008-04-05 Thread Edward K. Ream
On Sat, Apr 5, 2008 at 4:27 AM, bobjack [EMAIL PROTECTED] wrote: I would like to work on a higher level wrapper around headline icons. Sounds like a reasonable proposal. Feel free to start your own branch for this project. Edward --~--~-~--~~~---~--~~ You

Re: Unit testing problem

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 3:49 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: The test button works as expected, but run-all-tests produces the following output in the Log pane: exception executing script AttributeError: 'NoneType' object has no attribute 'v' line 1270:

Re: found mistake in docs ch. 3

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 2:57 PM, John Griessen [EMAIL PROTECTED] wrote: the rst markup is: - ``F20` and should be - ``F20`` Thanks for this. I'll fix it immediately. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Antialiased fonts in Tk Tkinter in Ubuntu 8.04

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 10:29 AM, Terry Brown [EMAIL PROTECTED] wrote: I don't advise anyone to try and get anti-aliased fonts working in Linux (Ubuntu) by compiling python against Tk8.5, there's too much risk of messing things up. But I think I have it working now, so if you really want

Re: FileActions plugin: [EMAIL PROTECTED] type node bug?

2008-04-05 Thread Edward K. Ream
On Apr 5, 7:45 am, Edward K. Ream [EMAIL PROTECTED] wrote: Edward, I would prefer if you would add the change to the trunk. Ok. I'll do that. The patch is now in the trunk. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: bug: @auto won't read file in newly created .leo file

2008-04-05 Thread Edward K. Ream
On Sat, Apr 5, 2008 at 9:13 AM, Terry Brown [EMAIL PROTECTED] wrote: Leo's running, so I create a new outline with File-New Then I save as in a location where foo.py exists. The I create a node '@auto foo.py' Then I use File-Read/Write-Read @auto (with that node selected) Leo says it

Leo 4.4.8 final is on the trunk. Pls test

2008-04-05 Thread Edward K. Ream
The trunk contains what I believe will be Leo 4.4.8 final! Barring something truly significant, Leo 4.4.8 final will, at last, go out the door tomorrow. Please make no changes to the trunk until then. This is the very last call for bug reports. Edward P.S. After 4.4.8 final, I plan to

Re: Unit testing problem

2008-04-05 Thread Edward K. Ream
On Fri, Apr 4, 2008 at 3:49 PM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: The test button works as expected, but run-all-tests produces the following output in the Log pane: exception executing script AttributeError: 'NoneType' object has no attribute 'v' The fixes to this, and

Re: Leo 4.4.8 final is on the trunk. Pls test

2008-04-05 Thread Edward K. Ream
On Apr 5, 10:02 am, Edward K. Ream [EMAIL PROTECTED] wrote: I am thinking that the 'trunk' branch will be dedicated to bug fixes against the latest official release. I'll create a 'devel' branch for the latest 'blessed' development work. That way we can blast away on the 'devel' branch

Re: Leo 4.4.8 final is on the trunk. Pls test

2008-04-06 Thread Edward K. Ream
On Sun, Apr 6, 2008 at 3:19 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: Seems that sys.path is broken when leo is starting up: [snip] I wonder whether pygtk installation broke this... Should I hold 4.4.8 final until you resolve this? Edward

Re: Running unit test overwrites all nodes in other opened Leo document

2008-04-06 Thread Edward K. Ream
On Sat, Apr 5, 2008 at 7:39 PM, Brian Theado [EMAIL PROTECTED] wrote: I was playing around with this and I discovered that if I open unitTest.leo from the File-Open menu pick of another leo outline and then I run a unit test, then all the nodes from unitTest.leo appear in the original

Re: Can't install LEO on OSX 10.5

2008-04-06 Thread Edward K. Ream
On Sat, Apr 5, 2008 at 12:41 PM, George R. [EMAIL PROTECTED] wrote: I am having difficulty installing on Leopard. As terminal loads, it fails at trying to write a new directory. Can you send the contents from the terminal? I was under the impression that OS X 10.5 had Python installed and

Re: minor bugs

2008-04-06 Thread Edward K. Ream
On Sun, Apr 6, 2008 at 6:33 AM, bobjack [EMAIL PROTECTED] wrote: The 'how-many' command does not work, it appears that it is trying to count occurrences of the expression in the minibuffer text area rather than the bodystring. I wonder if this is a generic problem for this type of command?

Re: Leo 4.4.8 final is on the trunk. Pls test

2008-04-06 Thread Edward K. Ream
On Sun, Apr 6, 2008 at 10:15 AM, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: On Sun, Apr 06, 2008 at 05:46:37PM +0300, Ville M. Vainio wrote: On Sun, Apr 6, 2008 at 4:08 PM, Edward K. Ream [EMAIL PROTECTED] wrote: I wonder whether pygtk installation broke this... Should I hold

Leo 4.4.8 final released

2008-04-06 Thread Edward K. Ream
Leo 4.4.8 final is now available at: http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106 Many thanks to all those who have contributed to this release. Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Dynamic nodes?

2008-04-07 Thread Edward K. Ream
On Mon, Apr 7, 2008 at 12:13 AM, Alex Polite [EMAIL PROTECTED] wrote: I'd like to have a node that is a function of some other node/nodes. Sort of like in a spreadsheet. If node A is a function of nodes B and C it should get automatically updated in the view whenever B or C are changed.

Re: find-word and goto-character commands do not work

2008-04-07 Thread Edward K. Ream
On Mon, Apr 7, 2008 at 7:40 AM, bobjack [EMAIL PROTECTED] wrote: find-word = This command is supposed to: Put the cursor at the next word (on a line) that starts with a character It does not. You have to type in a whole word to get any result and even then it only selects the

Re: home dir

2008-04-07 Thread Edward K. Ream
On Mon, Apr 7, 2008 at 6:39 AM, Steve Zatz [EMAIL PROTECTED] wrote: I am sure an obvious question but I don't see documentation related to this. When Leo starts up on Windows, in the log file is written leoID= ABC (in C:\Program Files\Leo\config ) global config dir: C:\Program

Re: how-many command does not work

2008-04-07 Thread Edward K. Ream
On Mon, Apr 7, 2008 at 4:01 AM, bobjack [EMAIL PROTECTED] wrote: Could you check that again for me please. Oops. I think you are correct. There is a problem. I'll fix this in the trunk soon. Edward --~--~-~--~~~---~--~~ You received this message because you

Re: Headline user-icons

2008-04-08 Thread Edward K. Ream
On Tue, Apr 8, 2008 at 8:09 AM, bobjack [EMAIL PROTECTED] wrote: Uhm... This looks more complicated than I thought. All the more reason to encapsulate it and hide the details from plugins and scripts I suppose ... Am I right in thinking a) that stuff put on tnodes appears on all clones and

Re: bzr branches everywhere :-)

2008-04-08 Thread Edward K. Ream
On Apr 3, 11:11 am, Edward K. Ream [EMAIL PROTECTED] wrote: I am starting to understand the true advantage of bzr, namely that it's possible to work on several projects simultaneously in different branches. [snip] At present there are three main branches: trunk, stable and ekr-devel. I've

Re: how-many command does not work

2008-04-08 Thread Edward K. Ream
On Apr 7, 4:01 am, bobjack [EMAIL PROTECTED] wrote: It does not work for me. It is counting the matches in the minibuffer text widget not the body. The fix is now on the trunk. You were correct about the editWidget method: it now never returns the minibuffer widget, and defaults to the body

Re: find-word and goto-character commands do not work

2008-04-08 Thread Edward K. Ream
On Apr 7, 7:40 am, bobjack [EMAIL PROTECTED] wrote: find-word [snip] goto-character The fixes are on the trunk. Again, the change to the editWidget method means that these commands can not be applied to text in the minibuffer. find-word is such a useful command that I added a variant:

Re: home dir

2008-04-08 Thread Edward K. Ream
On Apr 7, 10:56 am, Steve Zatz [EMAIL PROTECTED] wrote: home = os.getenv('HOME',default=None) Thanks. That does help. I am no Windows expert but I suspect that on many Windows systems, it is HOMEPATH and HOMEDRIVE that are available and that the HOME environment variable is not set and

Re: how-many command does not work

2008-04-08 Thread Edward K. Ream
On Apr 8, 9:35 am, Edward K. Ream [EMAIL PROTECTED] wrote: The fix is now on the trunk. You were correct about the editWidget method: it now never returns the minibuffer widget, and defaults to the body pane. A side effect of this change is that no editing commands can be used

Re: minor bugs

2008-04-08 Thread Edward K. Ream
On Apr 6, 6:33 am, bobjack [EMAIL PROTECTED] wrote: Trying to edit the minibuffer, when I backspace to a character and press delete the cursor moves to the end of the buffer and deletes the last character instead. A small joke: this disappears after the recent change to

Re: minor bugs

2008-04-08 Thread Edward K. Ream
On Apr 8, 11:00 am, Edward K. Ream [EMAIL PROTECTED] wrote: trying to make sense of when focus really belongs in the minibuffer might make my head explode... Happily, Leo has excellent tracing facilities, as you can see by setting: @bool trace_masterCommand = True @bool

Re: minor bugs

2008-04-08 Thread Edward K. Ream
On Apr 8, 11:00 am, Edward K. Ream [EMAIL PROTECTED] wrote: A small joke: this disappears after the recent change to leoEditCommands.editWidget because the left and right arrow keys are pretty messed up. I'll be noodling over this for awhile. I don't want to break all the edit commands

Re: minor bugs

2008-04-08 Thread Edward K. Ream
On Apr 8, 11:14 am, Edward K. Ream [EMAIL PROTECTED] wrote: One possibility: define a set of minibuffer-specific commands, corresponding to the commands in @shortcuts Minibuffer commands/bindings in leoSettings.leo. Another possibility is to make cursor movement commands smarter

Re: minor bugs

2008-04-08 Thread Edward K. Ream
On Apr 8, 1:47 pm, Edward K. Ream [EMAIL PROTECTED] wrote: I'll push the code to the trunk after I use it for several hours. All unit tests pass. Still to do: the original bug that started this thread :-) I have hopes now... Edward --~--~-~--~~~---~--~~ You

Re: minor bugs

2008-04-08 Thread Edward K. Ream
On Apr 8, 1:52 pm, Edward K. Ream [EMAIL PROTECTED] wrote: Still to do: the original bug that started this thread :-) I have hopes now... Ah. This is a problem with the find-completion feature. Totally different code, probably, which in this case makes the fix easier... Edward

  1   2   3   4   5   6   7   8   9   10   >