Re: Gone for a few days

2009-04-14 Thread Kayvan A. Sylvan
On Tue, Apr 14, 2009 at 10:13:04AM -0700, Edward K. Ream wrote: > > I'll be away from Leo for a few more days at least, in all > probability. > > I haven't forgotten you, and will return when I can. Some important > things have been happening to me. Good things, but I have no energy > for Leo

Re: How to run Leo on Mac OSX 10.4

2009-01-16 Thread Kayvan A. Sylvan
On Thu, Jan 15, 2009 at 06:59:05PM -0800, Largo84 wrote: > > I can run Leo successfully on my WinXP box and am trying to figure out > how to run on my MacBook Pro (Mac OSX 10.4.11). I have Python 2.6 > installed. I've tried Python Launcher.app but nothing happens > (LaunchLeo.py or RunLeo.py). >

Re: @enabled-plugins in leoDocs.leo

2009-01-14 Thread Kayvan A. Sylvan
On Wed, Jan 14, 2009 at 06:07:08PM -0600, Terry Brown wrote: > > On Wed, 14 Jan 2009 16:01:51 -0800 > "Kayvan A. Sylvan" wrote: > > > > > How about this simplification? > > > > Each @enabled-plugins node adds to (does not replace!!) the current &

Re: @enabled-plugins in leoDocs.leo

2009-01-14 Thread Kayvan A. Sylvan
st regards, -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen.| Robin Gregory (2/28/92) --~--~-~--~~~---~--~~ Yo

Re: Interesting: study-shows-digg-freezes-innovation-among-its-users

2009-01-05 Thread Kayvan A. Sylvan
> Find scripts did not prevent e from inventing script buttons. > > Creativity has nothing to do with being in a group, and everything to > do with solving juicy problems. I have no opinion about the role of a > group in finding such problems. > > The social aspects of creativity are well worth

Re: Stories, stories, stories

2008-12-30 Thread Kayvan A. Sylvan
t;story" has completely altered my mental landscape: I see > everything differently, and I see the *need* for stories everywhere. > For example, it is now completely obvious to me that Abe Lincoln was > effective and wise *because of* the stories he told. > > Edward >

Interesting: study-shows-digg-freezes-innovation-among-its-users

2008-12-15 Thread Kayvan A. Sylvan
- Forwarded message from Bill Stewart - http://io9.com/358492/study-shows-digg-freezes-innovation-among-its-users By Annalee Newitz, 7:40 AM on Wed Feb 20 2008, 2,485 views Transparently-shared ideas, like those that circulate on popular social networks such as Digg, Delicious, and St

Getting Leo running on Fedora 10

2008-12-03 Thread Kayvan A. Sylvan
was set up. I have a very short script (~/bin/leo): #!/bin/sh exec python ~/src/leo/leo/core/runLeo.py ${1+"$@"} So I can now run "leo filename" or "leo --gui=qt" I will probably add more to this thread as I run into more issues and solutions. Best regards,

Re: g.pr created on the trunk

2008-07-10 Thread Kayvan A. Sylvan
On Thu, Jul 10, 2008 at 11:15:49AM -0700, Edward K. Ream wrote: > In the meantime, g.pr seems to work well. Please use g.pr instead of > print from now on. BTW, g.pr has a newline keyword, which if set to > False will emulate print with a trailing comma. > Is it possible to do something like "

Re: Leo 4.5 beta 1 released

2008-07-07 Thread Kayvan A. Sylvan
On Mon, Jul 07, 2008 at 02:25:42AM -0700, derwisch wrote: > > Has anybody found a solution to the following? > > >   File "C:\Program Files\Leo\core\runLeo.py", line 69, in run > > import leo.core.leoGlobals as leoGlobals > > ImportError: No module named leo.core.leoGlobals > > [end] Add a leo.

Help->About Leo traceback

2008-06-28 Thread Kayvan A. Sylvan
Help -> About Leo throws this exception (latest bzr checkout): exception executing command Traceback (most recent call last): File "c:\leo\leo\core\leoCommands.py", line 311, in doCommand val = command(event) File "c:\leo\leo\core\leoCommands.py", line 5617, in about g.app.gui.runAb

Re: Eureka?? Can we just not use sentinels?

2008-06-24 Thread Kayvan A. Sylvan
On Tue, Jun 24, 2008 at 04:00:51PM -0700, Edward K. Ream wrote: > > Hmm. Maybe Leo can "fudge" Leo directives so they don't have to > appear in the derived file. This may take some doing, but it would > totally rock if it could be done... > Hmmm... Maybe the LEO file can contain only the outl

Re: Is it time to require Python 2.4 ?

2008-06-23 Thread Kayvan A. Sylvan
On Mon, Jun 23, 2008 at 08:06:01AM -0700, Edward K. Ream wrote: > > I am thinking it may be time to require Python 2.4. This would give > Leo access to decorators and other good features. > > Does anyone have any objections to this? Having recently upgraded my last remaining ancient Fedora Core

Latest LEO from bzr: Can not expand/collapse nodes

2008-06-10 Thread Kayvan A. Sylvan
Clicking on any node in the headings pane that has child nodes produces an error like this one: Error: 10 Exception in Tk callback Function: (type: ) Args: (,) Event type: ButtonPress (type num: 4) Traceback (innermost last): File "C:\leo\leo\extensions\Pmw\Pmw_1_3\lib\PmwBase.py", line

Re: $200 reward for gui plugins

2008-06-10 Thread Kayvan A. Sylvan
On Tue, Jun 10, 2008 at 08:21:46AM -0700, Edward K. Ream wrote: > I agree. One of the biggest marketing blunders in Leo's history was > to position Leo as a literate programming tool. Well, I would not have known about LEO if it weren't for the LP angle. I'm probably in the minority, however. B

Re: Can Not Load Aspell?

2008-06-08 Thread Kayvan A. Sylvan
The aspell settings are only needed for Windows. for Unix-like operating systems, it should just auto-detect that aspell is installed, I believe. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Problem with SilverCity on Fedora 9

2008-06-07 Thread Kayvan A. Sylvan
... -- Ran 11 tests in 0.079s OK I don't know how I can start to debug this. I can probably reproduce it in a VMWare fresh install of Fedora 9 as well. Any ideas for how to proceed? ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: S

Re: Is it ok to pay for code?

2008-06-03 Thread Kayvan A. Sylvan
On Tue, Jun 03, 2008 at 06:56:34AM -0700, Edward K. Ream wrote: > > >From my point of view, paying for vim bindings worked out well: the > result is clearly much more "vim-like" than I would have created. > > However, I want to make sure that the reward causes no resentment or > other hard feeli

Re: setuptools setup.py for leo-as-package

2008-05-29 Thread Kayvan A. Sylvan
On Thu, May 29, 2008 at 02:53:39PM +0300, Ville M. Vainio wrote: > Attached is a setup.py that "almost" works. > > The problem is that extensions like pmw are not installed by it. Is there some mechanism for doing some arbitrary post-setup commands that can augment this? --~--~-~--~

Re: does leo support large project

2008-05-27 Thread Kayvan A. Sylvan
On Tue, May 27, 2008 at 06:02:42PM -0700, Kayvan A. Sylvan wrote: > > There is a node in scripts.leo (in the leo/scripts directory of the LEO > sources) called "create-at-auto-nodes" that is "a script to create @auto > nodes from all .py files in a directory.&

Re: does leo support large project

2008-05-27 Thread Kayvan A. Sylvan
On Tue, May 27, 2008 at 05:58:48PM -0700, Kayvan A. Sylvan wrote: > > On Tue, May 27, 2008 at 07:29:14PM -0500, John Griessen wrote: > > Are you meaning there's some way to lose the sentinels, then import > > and merge them with code that has sentinels? > > @auto

Re: does leo support large project

2008-05-27 Thread Kayvan A. Sylvan
On Tue, May 27, 2008 at 07:29:14PM -0500, John Griessen wrote: > Are you meaning there's some way to lose the sentinels, then import > and merge them with code that has sentinels? @auto nodes are almost exactly what you need. I just pulled linux-2.6.25.4/kernel/cpu.c into a "KernelStudy.leo" fil

Re: Example code in LEO: New Sudoku puzzle solver

2008-05-27 Thread Kayvan A. Sylvan
On Tue, May 27, 2008 at 02:52:33PM -0500, Edward K. Ream wrote: > On Tue, May 27, 2008 at 12:56 PM, Kayvan A. Sylvan <[EMAIL PROTECTED]> > My sudoku solver uses only one "clever" technique: what I call row or column > conflicts. The idea is that an assignment of one valu

Re: does leo support large project

2008-05-27 Thread Kayvan A. Sylvan
On Tue, May 27, 2008 at 03:08:51PM -0500, Kent Tenney wrote: > As such, adding sentinels or any type of workflow specific to Leo will > not gain acceptance. I disagree, sort of. Most of the time, when I slurp a big bunch of files into LEO for study and annotation, I am doing it only for myself.

Re: Example code in LEO: New Sudoku puzzle solver

2008-05-27 Thread Kayvan A. Sylvan
On Tue, May 27, 2008 at 12:43:11PM -0500, Edward K. Ream wrote: > On Thu, May 22, 2008 at 8:02 PM, Kayvan A. Sylvan <[EMAIL PROTECTED]> wrote: > > > > > I re-coded my Sudoku puzzle solver and added a GUI. > > > > http://members.dslextreme.com/users/kayv

Use of LEO in profiling code

2008-05-24 Thread Kayvan A. Sylvan
Hi everyone, I had a need to figure out why a part of some python code I had written was taking too long. I pulled the code into LEO and the relevant part of the outline looked something like this: + Main module -- Generate cryptographic key -- Hashing algorithm etc. etc. So I cloned ju

Example code in LEO: New Sudoku puzzle solver

2008-05-22 Thread Kayvan A. Sylvan
Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen.| Robin Gregory (2/28/92) --~--~-~--~~~---~--~~ You re

Re: Leo *is* nearing completion

2008-05-22 Thread Kayvan A. Sylvan
On Thu, May 22, 2008 at 10:52:46AM -0500, Terry Brown wrote: > > A small glitch. This works: > > > > leo fileName --one-config= > > > > This doesn't: > > > > leo --one-config= fileName > > Is leo using optparse, the python library module for handling these > things? I think it's good, certai

Re: Vacation until Tuesday

2008-05-21 Thread Kayvan A. Sylvan
On Wed, May 21, 2008 at 04:38:18PM -0700, Edward K. Ream wrote: > > I'll be vacationing the rest of this week. I think Leo is in pretty > good shape: the known problems are mostly configuration problems. See > you soon. Have a great vacation! ---Kayvan --~--~-~--~

Re: leo-as-an-editor branch merged with trunk

2008-05-21 Thread Kayvan A. Sylvan
On Wed, May 21, 2008 at 09:33:51AM -0700, TL wrote: > > Created a branch of Trunk Version 425 > Executing the following commands issues the following error: > > cd "c:\program files\python" > python "C:\_Proj\Leo\Trunk\leo\core\runLeo.py " "C:\_Proj\test.leo" > > Traceback (most recent call las

Re: Cleo icons won't work on linux

2008-05-21 Thread Kayvan A. Sylvan
On Wed, May 21, 2008 at 09:13:35AM -0500, Terry Brown wrote: > ImageTk is a separate package in Ubuntu, I think Leo requires both PIL > (package "python-imaging") and the package "python-imaging-tk". Yes. I have Leo working perfectly for me on Ubuntu 8.04 and needed to install python-imaging-tk

Re: leo-as-an-editor branch merged with trunk

2008-05-20 Thread Kayvan A. Sylvan
On Tue, May 20, 2008 at 03:11:16PM -0500, Kent Tenney wrote: > > Getting there, now Leo starts, clicking on a menu produces the following > message > in an "Error in background function" window I can also reproduce this. Best regards, ---Kayvan --~--~-~--~~~---~--

mod_tempfname.py

2008-05-15 Thread Kayvan A. Sylvan
Opening up the latest LeoPlugins.leo, I noticed that the structure of the file is: + Startup + Plugins + @thin mod_tempfname.py Looks like mod_tempfname.py should be a child of the Plugins node. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc

Re: tkhtml in leo demo

2008-05-14 Thread Kayvan A. Sylvan
. Happy days...! Should have > stuck with it :) I wrote my first programs in High School, by submitting punch card decks of Fortran progarms which would be run in batches nightly and then the output would be given to me the next day. You had a typewriter and a paper punch? Such luxury! :-) -

Re: sorting and bizare bzr

2008-05-13 Thread Kayvan A. Sylvan
On Tue, May 13, 2008 at 07:15:24PM -0500, Terry Brown wrote: > > Seems odd. Here's the top of `bar log` on my copy of the trunk: > > > revno: 405 Look at https://code.launchpad.net/leo-editor/ Trunk is at revision 399. --~--~--

Re: sorting and bizare bzr

2008-05-13 Thread Kayvan A. Sylvan
On Tue, May 13, 2008 at 06:10:24PM -0500, Edward K. Ream wrote: > On Tue, May 13, 2008 at 2:43 PM, Terry Brown <[EMAIL PROTECTED]> > wrote: > > > > > sax-graph changes for sort-siblings had broken priority sorting in > > cleo, a trivial fix is applied to the trunk now. > > Thanks, Terry. I got i

leo-editor@googlegroups.com

2008-05-11 Thread Kayvan A. Sylvan
On Sun, May 11, 2008 at 11:01:58AM -0500, Terry Brown wrote: > The forth problem is the one Kayvan reported, I think that may go away > with the reversion for problem 1. It's fixed now. By the way, my myLeoSettings.leo does not contain any @menu node, it's very minimalistic, containing only a co

leo-editor@googlegroups.com

2008-05-10 Thread Kayvan A. Sylvan
I'm seeing new log message "menu already exists: Recent &Files" upon startup now. I assume this is normal/expected now (with the Recent Files changes)? Best regards, ---Kayvan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Unexpected behavior from @thin nodes.

2008-05-06 Thread Kayvan A. Sylvan
On Tue, May 06, 2008 at 08:39:50AM -0700, dswheeler wrote: > > 2) I'm currently using leo on an existing project and trying to import > existing files into leo for refactoring. The file in question is named > template.txt and contains html markup and macro expansion > placeholders. I used File--

Re: How are fonts now on Linux in the trunk?

2008-05-06 Thread Kayvan A. Sylvan
On Tue, May 06, 2008 at 10:30:48AM -0700, Edward K. Ream wrote: > > Has anyone had trouble with unreadable fonts on Linux with the brand > new trunk code? Not I. > When I went to check the trunk on my Ubuntu machine I found that the > fonts were unreadable. However, they are also unreadable on

Re: Sax-graph branch has merged with the trunk

2008-05-06 Thread Kayvan A. Sylvan
On Tue, May 06, 2008 at 01:11:46PM -0500, Edward K. Ream wrote: > On Tue, May 6, 2008 at 12:00 PM, Edward K. Ream <[EMAIL PROTECTED]> wrote: > > > > All unit tests pass on XP. I'll run unit tests on Linux soon. > > At present 9 gui-related tests fail on my Ubuntu box. This is likely a > proble

Re: Printing a .leo file / export to html

2008-05-05 Thread Kayvan A. Sylvan
On Mon, May 05, 2008 at 03:15:49PM +0300, Ville M. Vainio wrote: > I don't have "plugins" menu automatically, but opening leoSettings.leo > brought it up... Hmmm... So you must have a bad @enabled-plugins in your myLeoSettings Compare against the one in LeoSettings and set it up accordingly. --

Re: Printing a .leo file / export to html

2008-05-05 Thread Kayvan A. Sylvan
s->leo to html->Properties -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen.| Ro

Re: bzr & missing files

2008-05-05 Thread Kayvan A. Sylvan
On Sun, May 04, 2008 at 11:28:19PM -0700, yarko wrote: > If all this is more or less true, then why aren't changes to > leosettings.leo just AUTOMATICALLY updated / written to > myLeosettings.leo? I don't think the trunk contains a myLeoSettings.leo, so bzr won't know to do anything to that file

Re: bzr & missing files

2008-05-04 Thread Kayvan A. Sylvan
On Sun, May 04, 2008 at 10:22:43PM -0700, yarko wrote: > Would be nice for casual users wishing to test trunk - to have a > "here's how to keep your's up to date w/ trunk" > > *sigh* Hmmm... I pull into my local branch copy of trunk all the time, without the problem you mentioned. In fact, here

Re: Time to retire Leo 3.x?

2008-04-26 Thread Kayvan A. Sylvan
On Sat, Apr 26, 2008 at 05:56:18AM -0700, Edward K. Ream wrote: > On Apr 26, 7:19 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > > Leo 4.0 was released in October, 2003, so people have had 4 1/2 years > > to upgrade. I think that is enough time :-) > > In the unlikely event that 5 years fro

Re: Time to retire Leo 3.x?

2008-04-26 Thread Kayvan A. Sylvan
around for that rare case. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen.| Robin G

Re: Python Refactoring integration

2008-04-23 Thread Kayvan A. Sylvan
On Wed, Apr 23, 2008 at 03:56:43PM -0700, Kayvan A. Sylvan wrote: > In my searches, I came across something else: > > http://rope.sourceforge.net/ > > And its googlegroup discussions: http://groups.google.com/group/rope-dev > > I wonder if this might be a better r

Re: Python Refactoring integration

2008-04-23 Thread Kayvan A. Sylvan
On Tue, Apr 22, 2008 at 07:47:56AM -0700, Edward K. Ream wrote: > The following is just "thinking out loud". Anyone (including Kayvan) > should feel free to ignore it :-) Somehow this project has got my > attention. I like puzzles, and besides, why should Kayvan have all > the fun :-) The more

Re: Bicycle Repair Man integration with Leo

2008-04-21 Thread Kayvan A. Sylvan
On Mon, Apr 21, 2008 at 04:28:02PM -0700, Edward K. Ream wrote: > On Apr 15, 4:40 pm, "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote: > > Hmmm... The link here:http://c2.com/cgi-bin/wiki?BicycleRepairMan > > and the bicyclerepairman documentation seem to give some

Re: Problem with using ILeo with multiple files

2008-04-20 Thread Kayvan A. Sylvan
On Sun, Apr 20, 2008 at 10:18:53PM +0300, Ville M. Vainio wrote: > > On Sun, Apr 20, 2008 at 10:15 PM, Kayvan A. Sylvan <[EMAIL PROTECTED]> wrote: > > > I was working with Leo + IPython (latest from bzr) and pushing expressions > > to IPython using Alt-i and I s

Problem with using ILeo with multiple files

2008-04-20 Thread Kayvan A. Sylvan
I was working with Leo + IPython (latest from bzr) and pushing expressions to IPython using Alt-i and I start getting these messages: AttributeError: Commands instance has no attribute 'frame' exception executing command Traceback (most recent call last): File "/home/kayvan/src/leo/leo/src/leoC

Re: Get comments from @doc sections in derived file created via @root?

2008-04-19 Thread Kayvan A. Sylvan
On Sat, Apr 19, 2008 at 07:51:46AM -0500, Edward K. Ream wrote: > The trunk contains what I hope is a fix for the stylesheet-path problem. It > works for me, but conceivably there could be permutations of rst3 options > that would break. We shall see. Thank you! This fixes a long-standing annoy

Re: Get comments from @doc sections in derived file created via @root?

2008-04-18 Thread Kayvan A. Sylvan
On Fri, Apr 18, 2008 at 04:14:48PM -0500, Edward K. Ream wrote: > The fix is on the bzr trunk. There were several bugs: apparently few people > are using @root nodes. Most people start with @thin, and that is what I > recommend for you too. I tested the new @root handling code, and it indeed wo

Re: Get comments from @doc sections in derived file created via @root?

2008-04-18 Thread Kayvan A. Sylvan
On Fri, Apr 18, 2008 at 04:14:48PM -0500, Edward K. Ream wrote: > The fix is on the bzr trunk. There were several bugs: apparently few people > are using @root nodes. Most people start with @thin, and that is what I > recommend for you too. It depends on the way that the @root using document is

Re: Vim branch - Testers needed

2008-04-17 Thread Kayvan A. Sylvan
//code.launchpad.net/leo-editor/ and click on the "Code" tab, then click on the "List Branches" link and you will see a list of all current branches. Clicking on one takes you to a summary page with instructions for getting a copy of the branch. -- Kayvan A. Sylvan

Bicycle Repair Man integration with Leo

2008-04-15 Thread Kayvan A. Sylvan
Hmmm... The link here: http://c2.com/cgi-bin/wiki?BicycleRepairMan and the bicyclerepairman documentation seem to give some hints about how to do this: "How is integration with an editor done? The files in the ide-integration folder shows how. Basically BicycleRepairMan needs the location of the

Re: Automated refactoring of Python code

2008-04-15 Thread Kayvan A. Sylvan
at LEO could not also work with bicyclerepairman. It should be possible to provide this kind of integration via a LEO plugin. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan |

Re: A howto for rClick?

2008-04-15 Thread Kayvan A. Sylvan
On Tue, Apr 15, 2008 at 03:17:40AM -0700, bobjack wrote: > Sorry Alex, how rude of me, I meant thanks for this Alex. > > Thank you Kayvan also for your feedback and bug report. Thanks for making rClick work on my ancient system as well as all my shiny brand new systems. ---Kayva

Re: The bzr branches

2008-04-14 Thread Kayvan A. Sylvan
ERROR: These branches have diverged. Use the merge command to reconcile them. However, since I don't have any changes in my local copy, and I on longer even keep myLeoSettings.leo in the config directory, I just removed the directory and reinitialized it from scratch. Easy. I am now at revisi

The bzr branches

2008-04-14 Thread Kayvan A. Sylvan
Looking at https://code.launchpad.net/leo-editor/+branches I see: trunk wth last commit: rev 214, merged trunk, revision author: tbnorth Did something weird happen with a merge? Or maybe I don't quite understand bzr branches and revisions. --~--~-~--~~~---~--~~

Re: Whats happened with the trunk?

2008-04-14 Thread Kayvan A. Sylvan
On Mon, Apr 14, 2008 at 08:47:44AM -0500, Edward K. Ream wrote: > On Mon, Apr 14, 2008 at 7:36 AM, bobjack <[EMAIL PROTECTED]> wrote: > > I could have sworn the trunk was at revision 300 + but now its at > > revision 214, what's happening? > > Something strange is indeed happening. I'm at rev 34

Re: A howto for rClick?

2008-04-14 Thread Kayvan A. Sylvan
ut there > appears to be a problem with the trunk at the moment. I grabbed this branch and tested it with my old python-2.4 and Fedora Core 4 installation and it works beautifully! Great job. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, I

Re: A howto for rClick?

2008-04-14 Thread Kayvan A. Sylvan
On Mon, Apr 14, 2008 at 02:00:36AM -0700, bobjack wrote: > > On Apr 14, 6:50 am, "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote: > > On Sun, Apr 13, 2008 at 02:34:21AM -0700, bobjack wrote: > > > PS > > > > > You must use leo from the Trunk if

Re: Eureka!!! Unified nodes

2008-04-13 Thread Kayvan A. Sylvan
On Sun, Apr 13, 2008 at 06:31:37AM -0700, Edward K. Ream wrote: > > It appears that Leo will, relatively soon, move to the unified-node world. > > Compatibility with existing code and scripts should be no big deal. > Indeed, unified nodes will contain .v and .t ivars, inited in the ctor > as foll

Re: A howto for rClick?

2008-04-13 Thread Kayvan A. Sylvan
On Sun, Apr 13, 2008 at 02:34:21AM -0700, bobjack wrote: > PS > > You must use leo from the Trunk if you want to develop using rClick as > the module was in a state of flux at the time of the last leo release > and the new API is significantly different from the 4.4.8 version. Hi! I enabled rCli

Re: Bug with unreferenced sections and File->Exit

2008-04-11 Thread Kayvan A. Sylvan
> > 6) In the log pane, you will see: "undefined section" and "saved: > > leo_file.leo" > > and in the console window, you see "undefined section: ..." > > > > However, the application is still running. The only way to really quit > > is to click "No" to the Save dialog. > > Iirc, this is the i

Bug with unreferenced sections and File->Exit

2008-04-11 Thread Kayvan A. Sylvan
ill see: "undefined section" and "saved: leo_file.leo" and in the console window, you see "undefined section: ..." However, the application is still running. The only way to really quit is to click "No" to the Save dialog. --

Re: A more philosophical question

2008-04-10 Thread Kayvan A. Sylvan
code in Leo and back in ILeo, just "reload" the module and continue playing, ad infinitum. I get all the power of IPython (tab completion of class elements, etc.) alongside my Leo environment. I want to publicly thank Edward and Ville for their work on integrating Leo and IPython. ILeo m

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

2008-04-06 Thread Kayvan A. Sylvan
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 4.4.8 final until you resolve this? > > No. It was PyGtk installation th

Re: Unit testing problem

2008-04-05 Thread Kayvan A. Sylvan
On Sat, Apr 05, 2008 at 08:08:10AM -0700, Edward K. Ream wrote: > The fixes to this, and several other unit testing problems are on the > trunk. Verified. Works perfectly. Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Unit testing problem

2008-04-04 Thread Kayvan A. Sylvan
Hi fellow Leo enthusiasts, I am playing with unit testing some of my python code. I created two buttons: test and run-all-tests. The code is as follows: === test === import leoTest leoTest.doTests(c, all=False) === end test === === run-all-tests === import leoTest leoTest.doTests(c, all=True)

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

2008-04-02 Thread Kayvan A. Sylvan
On Wed, Apr 02, 2008 at 07:45:45AM -0500, Edward K. Ream 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 t

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

2008-04-01 Thread Kayvan A. Sylvan
On Tue, Apr 01, 2008 at 06:23:52PM -0500, Edward K. Ream wrote: > > This makes no sense whatever. I suspect you mistyped something. > > Everything works for me as expected. > > Edward Hmmm... Okay. I have a test case now. It was not as simple as I thought: 1) Create a new file $ leo fo

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

2008-04-01 Thread Kayvan A. Sylvan
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: Direct text in body pane. Aha! Changing the above file to th

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

2008-04-01 Thread Kayvan A. Sylvan
On Tue, Apr 01, 2008 at 09:14:56PM +0300, Ville M. Vainio wrote: > They are stored in a "pickleshare" database that IPython uses for all > persistent stuff. Explore the ~/_ipython/db directory. Observant > reader may guess that it contains pickles ;-). If you want the > contents of the database in

Re: Making Leo a package

2008-04-01 Thread Kayvan A. Sylvan
On Tue, Apr 01, 2008 at 08:58:07PM +0300, Ville M. Vainio wrote: > > Not at all. The IPython embedding use case is easily solved by doing > an ipython macro (as I described in the docs), so this can take the > time it needs. > I verified that this works on both my Linux and Windows installation

Re: Making Leo a package

2008-04-01 Thread Kayvan A. Sylvan
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 automatically. Cool! That's a cross-platform suggestion, th

Re: Making Leo a package

2008-04-01 Thread Kayvan A. Sylvan
On Tue, Apr 01, 2008 at 09:04:48AM -0700, Edward K. Ream wrote: > P.S. The docs say it is possible to set os.environ['DISTUTILS_DEBUG'] > = 'any-non-empty-string' in order to enable debugging. In fact, > setting os.environ is non-trivial. Isn't this just a matter of doing this in Linux at the co

Re: Making Leo a package

2008-03-31 Thread Kayvan A. Sylvan
On Mon, Mar 31, 2008 at 09:27:57AM -0700, Edward K. Ream wrote: > > I am going to start a new thread because of its importance. > > I am frustrated and confused regarding all aspects of this topic. The > distutils docs seem to be written for somebody else :-) There is some documentation (incl

Duplication in leoPluginsRef.leo

2008-03-27 Thread Kayvan A. Sylvan
I'm browsing the code in leoPluginsRef.leo and noticed that in the Startup part of the outline, there are two headings called "Script to find and replace all functions in leoGlobals.py" and "replaceLeoGlobals" that appear to have identical subheadings and body contents. Best regards, ---Kayvan

LEO to dhtml

2008-03-25 Thread Kayvan A. Sylvan
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. Thanks. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my

Re: Leo 4.4.8 alpha 2 on WinXP: File->Open does nothing

2008-03-24 Thread Kayvan A. Sylvan
On Sun, Mar 23, 2008 at 08:34:46AM -0700, Edward K. Ream wrote: > > > On Mar 18, 10:02 pm, "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote: > > > On WinXP, both File->Open and File->"Open With..." do nothing > > The fix for the Open With

Re: Distribution issues

2008-03-05 Thread Kayvan A. Sylvan
On Wed, Mar 05, 2008 at 06:36:34AM -0800, Edward K. Ream wrote: > On Mar 5, 8:24 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > > The immediate problem is that moving distribution-related files such > > as setup.py and manifest.in out of the leo folder breaks the create- > > leo-zip script i

Re: Leo 4.4.8 b1 coming soon. Please test.

2008-03-03 Thread Kayvan A. Sylvan
On Mon, Mar 03, 2008 at 06:39:54AM -0800, Edward K. Ream wrote: > > I plan to release Leo 4.4.8 b1 in the next day or so. > I haven't looked since you have changed over to bzr. Are there any "bzr for dummies" instructions for grabbing the latest sources so I can just continue to update from the

Re: bzr

2008-03-03 Thread Kayvan A. Sylvan
On Mon, Mar 03, 2008 at 08:29:02AM -0600, Edward K. Ream wrote: > leoProjects.txt is yet another kind of "derivative" file in my way of > thinking. Yes, I could remove it from bzr control, but that would mean that > my notes would not be available until the official release. Perhaps that's > not