Light Table on Kickstarter

2012-04-24 Thread Kent Tenney
starting at $15 http://www.kickstarter.com/projects/ibdknox/light-table -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe from this group, send email to leo-editor+un

Re: Terry, let's do editors with free_layout

2012-04-23 Thread Kent Tenney
On Mon, Apr 23, 2012 at 1:57 PM, Terry Brown wrote: > On Mon, 23 Apr 2012 13:23:36 -0500 > Kent Tenney wrote: > > >> leo.plugins.dtest           myLeoSettings.leo >> leo.plugins.valuespace      myLeoSettings.leo >> leo.plugins.vim             myLeoSettings.leo >

Re: Terry, let's do editors with free_layout

2012-04-23 Thread Kent Tenney
On Mon, Apr 23, 2012 at 1:02 PM, Terry Brown wrote: > On Mon, 23 Apr 2012 12:50:29 -0500 > Kent Tenney wrote: > >> ok, I've been seeing updates to plugins/free_layout.py when I bzr pull, >> so I thought it should be enabled ... > > Yes, it's still in

Re: Terry, let's do editors with free_layout

2012-04-23 Thread Kent Tenney
35 -0500 > Kent Tenney wrote: > >> When I rclick on a divider, no menu and console says: >> "splitter_menu splitter not enabled" >> >> do I need a @setting? > > I wonder if having free_layout.py anywhere in an @enabled-plugins node > is breaking things

Re: Terry, let's do editors with free_layout

2012-04-23 Thread Kent Tenney
v 5277 When I rclick on a divider, no menu and console says: "splitter_menu splitter not enabled" do I need a @setting? Thanks, Kent On Mon, Apr 23, 2012 at 11:02 AM, Terry Brown wrote: > On Mon, 23 Apr 2012 09:51:49 -0500 > Terry Brown wrote: > >> > Imo, there must be a bug in NS.add_adjacen

Re: Terry, let's do editors with free_layout

2012-04-20 Thread Kent Tenney
fixed; in vim, added another '@' to @free-layout-layout @@data free-layout-layout On Fri, Apr 20, 2012 at 2:36 PM, Terry Brown wrote: > On Fri, 20 Apr 2012 14:25:09 -0500 > "Edward K. Ream" wrote: > >> On Fri, Apr 20, 2012 at 12:16 PM, Terry Brown >> wrote: >> >> > Hmm, I can't duplicate, I've

Re: Terry, let's do editors with free_layout

2012-04-20 Thread Kent Tenney
On Fri, Apr 20, 2012 at 11:15 AM, Terry Brown wrote: > On Fri, 20 Apr 2012 10:55:11 -0500 > "Edward K. Ream" wrote: > >> > No problem opening a Leo file which doesn't contain a persisted >> > free_layout pane >> >> Terry, I'm completely lost.  There is persisted state???  Can you help me >> out

Re: Terry, let's do editors with free_layout

2012-04-20 Thread Kent Tenney
Update. No problem opening a Leo file which doesn't contain a persisted free_layout pane Thanks, Kent On Fri, Apr 20, 2012 at 9:58 AM, Kent Tenney wrote: > On Fri, Apr 20, 2012 at 9:13 AM, Edward K. Ream wrote: >> On Fri, Apr 20, 2012 at 8:51 AM, Terry Brown wrote: >>

Re: Terry, let's do editors with free_layout

2012-04-20 Thread Kent Tenney
On Fri, Apr 20, 2012 at 9:13 AM, Edward K. Ream wrote: > On Fri, Apr 20, 2012 at 8:51 AM, Terry Brown wrote: > >> But viewrendered panes seem to be behaving. > > Well, I'll fix that ;-) > > Please take a look at 5267.  Does it work for you? No: /usr/bin/python /usr/fetching/leo-editor/launchLeo.

Re: UI idea: body editors in a grid

2012-04-18 Thread Kent Tenney
On Wed, Apr 18, 2012 at 2:57 PM, Edward K. Ream wrote: > On Apr 18, 10:53 am, Terry Brown wrote: > >> When the body editor is a well behaved widget it should be straight >> forward to place them where ever you want in using the free-layout >> mechanism. > > Yes.  This might the key. > > As I was

Re: Node pipes

2012-04-18 Thread Kent Tenney
On Wed, Apr 18, 2012 at 11:22 AM, Edward K. Ream wrote: > On Wed, Apr 18, 2012 at 9:48 AM, Kent Tenney wrote: > >> Could...any node...be designated as a destination for output? > > Certainly.  Just assign to v.b in the appropriate place. Right. Leo can be considered a progra

Re: UI idea: body editors in a grid

2012-04-18 Thread Kent Tenney
On Wed, Apr 18, 2012 at 10:53 AM, Terry Brown wrote: > On Wed, 18 Apr 2012 12:37:22 +0300 > "Ville M. Vainio" wrote: > >> How about taking this idea further and locking the body editors in a >> grid, or column? > > When the body editor is a well behaved widget it should be straight > forward to p

Node pipes

2012-04-18 Thread Kent Tenney
The editor envy resulting from the Light Table demo has me revisiting a feature that's been percolating. Sending output to the log pane is very useful, it's how Leo talks back. Executing from the command line means one space for input and output. Executing in a Leo node and writing to the log im

Leo and IPython

2012-04-16 Thread Kent Tenney
The ipython integration is great, any chance of connecting the the web notebook? # ipython notebook then, from the ipython dashboard in browser, click to open a notebook the console reports: [IPKernelApp] To connect another client to this kernel, use: [IPKernelApp] --existing kernel-a25b19a2-55d

Re: Rev 5250: Alt-x Tab now shows all available commands

2012-04-13 Thread Kent Tenney
Cool. that's a lot of commands! Thanks, Kent On Fri, Apr 13, 2012 at 8:58 AM, Edward K. Ream wrote: > The title pretty much says it all.  To see the sorted list of all > available minibuffer commands, just use tab completion immediately > upon entering the minibuffer. > > Edward > > -- > You rec

Re: Items for Leo 5.0

2012-03-27 Thread Kent Tenney
Zope provides a coding framework which has evolved into a set of tools and a very disciplined methodology. Folks who understand the complexity and use the idioms correctly seem to build apps which don't end up hitting walls due to scale or extensibility. This seems to come at the price of a substan

Re: Caution: rev 5196 contain important new scrolling code

2012-03-26 Thread Kent Tenney
revno 5200 with 2 editors, each scrolled to last line: cycle-editor-focus returns cursor to beginning of first line. Maybe it's because I use a tabbed QT gui and Unity desktop? Regardless, 12 hours of work is already too much for a complaint that no one else seems to have, I can deal with it. T

Re: Multiple editors problem

2012-03-24 Thread Kent Tenney
On Fri, Mar 23, 2012 at 5:04 PM, Edward K. Ream wrote: > On Mar 23, 12:27 pm, "Edward K. Ream" wrote: >> On Fri, Mar 23, 2012 at 9:34 AM, Kent Tenney wrote: > >> > add-editor is a requirement for my workmethod, seeing >> > the code and the test I'm

Multiple editors problem

2012-03-23 Thread Kent Tenney
Howdy, add-editor is a requirement for my workmethod, seeing the code and the test I'm writing side by side ... It's currently unusable due to unwanted scrolling when moving between editors. I can't describe how to duplicate, not entirely predictable, it involves switching focus to the other edi

Re: wish: easy method to share outline structure

2012-03-22 Thread Kent Tenney
On Thu, Mar 22, 2012 at 12:43 PM, Matt Wilkie wrote: >>> There is such a format.  It's a modification of the MORE format.  Use >>> the flatten-outline command to write the file; use the import-file >>> command to read the file. >> >> I think the key to Matt's idea is that it work through the copy/

Re: live python and words and figures... in a browser??

2012-03-21 Thread Kent Tenney
This is a 3 hour workshop on new ipython, pretty impressive. http://pyvideo.org/video/605/ipython-in-depth-high-productivity-interactive-a BTW pyvideo.org seems to have high quality vids of the entire pycon 2012 and much more. Thanks, Kent On Tue, Mar 20, 2012 at 4:44 PM, Matt Wilkie wrote: >

Re: Let's stop abusing double-clicks!?

2012-03-13 Thread Kent Tenney
I tend to rclick to discover what can be done ... How about a function which added a rclick menu item pointing to your plugin? It might be cool to make it as accessible as @button and @command @rclick "My custom node handler" # node body contains code which does something with this node Leo woul

Re: Whoosh, full text search status (bigdash.py)

2012-03-06 Thread Kent Tenney
PM, Ville M. Vainio wrote: > On Tue, Mar 6, 2012 at 12:05 AM, Kent Tenney wrote: > >> Not happening for me. The link is blue underlined, clicking it doesn't >> change focus. >> >> Missing a plugin? > > Can you paste what you see on terminal where you launched

Re: Whoosh, full text search status (bigdash.py)

2012-03-05 Thread Kent Tenney
already open, it doesn't work in current > implementation. So you have to open the file manually, then click on > the link. > > On Mon, Mar 5, 2012 at 11:13 PM, Kent Tenney wrote: >> Should clicking on a result take me to the file? >> >> On Mon, Mar 5, 2012 at 2:

Re: Whoosh, full text search status (bigdash.py)

2012-03-05 Thread Kent Tenney
Should clicking on a result take me to the file? On Mon, Mar 5, 2012 at 2:58 PM, Ville M. Vainio wrote: > I have now pushed full text search support (operational already, not > as nice as it will be later on ;-). > > Screenshot here: > > https://plus.google.com/103097156557482112329/posts/HnobiCY

Re: Define @command in settings file

2012-03-05 Thread Kent Tenney
On Mon, Mar 5, 2012 at 7:44 AM, Edward K. Ream wrote: > On Sat, Mar 3, 2012 at 1:46 PM, Kent Tenney wrote: > >> I'd vote for @command-xxx definition for _all_ commands. > > Why would we want that? A common prefix extends the power of tab completion. I would use @comm

Re: Full text search, "Whoosh"

2012-03-04 Thread Kent Tenney
So Cool. Not only for Leo, but I look forward to learning more about Whoosh, after looking at several full-text search solutions, Whoosh seems like the sweet spot: pure Python, powerful but not too heavy, capable but not too complex ... Thanks, Kent On Sun, Mar 4, 2012 at 8:04 AM, Ville M. Vaini

Re: Define @command in settings file

2012-03-03 Thread Kent Tenney
On Thu, Mar 1, 2012 at 6:13 PM, Edward K. Ream wrote: > On Thu, Mar 1, 2012 at 12:53 PM, Kent Tenney wrote: > >>>> Good, then it will act the same as when the current file contains >>>> the command definition. That's what I was expecting. >>> >>&

Re: Eurekas! The sea of nodes, half clones & more

2012-03-03 Thread Kent Tenney
On Sat, Mar 3, 2012 at 11:45 AM, Edward K. Ream wrote: > On Sat, Mar 3, 2012 at 10:26 AM, Kent Tenney wrote: > >> I'm not interested in multiple 'users' changing my Leo files, >> I'm interested in multiple 'applications' using my Leo data. > >

Re: Eurekas! The sea of nodes, half clones & more

2012-03-03 Thread Kent Tenney
On Sat, Mar 3, 2012 at 9:34 AM, Edward K. Ream wrote: > On Sat, Mar 3, 2012 at 7:07 AM, Kent Tenney wrote: >> On Sat, Mar 3, 2012 at 5:00 AM, Edward K. Ream >>> Imo, if people aren't excited by this Aha, then they don't get it ;-) >> >> I don't get

Re: Eurekas! The sea of nodes, half clones & more

2012-03-03 Thread Kent Tenney
On Sat, Mar 3, 2012 at 5:00 AM, Edward K. Ream wrote: > On Fri, Mar 2, 2012 at 9:27 AM, HansBKK wrote: >> This got me quite excited > > Imo, if people aren't excited by this Aha, then they don't get it ;-) I don't get it. :-] I have trouble following the explanation: my fault. I did wonder if

rclick 'Edit with gvim' traceback

2012-03-02 Thread Kent Tenney
[ ktenney@lappy: ~/work ]$ Traceback (most recent call last): File "/usr/fetching/leo-editor/leo/plugins/contextmenu.py", line 211, in editnode_rclick_cb c.openWith(data = ('subprocess.Popen', [editor], None)) TypeError: openWith() got an unexpected keyword argument 'data' Thanks, Kent --

Re: Define @command in settings file

2012-03-01 Thread Kent Tenney
On Thu, Mar 1, 2012 at 12:16 PM, Edward K. Ream wrote: > On Thu, Mar 1, 2012 at 11:16 AM, Kent Tenney wrote: > >> Good, then it will act the same as when the current file contains >> the command definition. That's what I was expecting. > > No wonder you are confus

Re: Define @command in settings file

2012-03-01 Thread Kent Tenney
On Thu, Mar 1, 2012 at 10:18 AM, Edward K. Ream wrote: > On Thu, Mar 1, 2012 at 8:01 AM, Kent Tenney wrote: > >> However, when I open a leo file and type >> foo >> >> nothing. > > Right.  If you define a command with @command, then you type @c > to s

Re: Define @command in settings file

2012-03-01 Thread Kent Tenney
oo' in the log pane What am I doing here? Thanks, Kent On Wed, Feb 29, 2012 at 5:51 PM, Edward K. Ream wrote: > On Wed, Feb 29, 2012 at 9:20 AM, Kent Tenney wrote: >> just tried in ~/.leo/myLeoSettings.leo >> >> @commands >>  @command mycommand >> >>

Re: Define @command in settings file

2012-02-29 Thread Kent Tenney
just tried in ~/.leo/myLeoSettings.leo @commands @command mycommand @settings @commands @command mycommand not working, but I'll investigate further later today. Thanks, Kent On Wed, Feb 29, 2012 at 8:06 AM, Edward K. Ream wrote: > On Wed, Feb 29, 2012 at 7:55 AM, Kent Tenne

Define @command in settings file

2012-02-29 Thread Kent Tenney
I want some @command defs automatically available. I thought putting them in myLeoSettings.leo would do that, but I'm having trouble. Is there a convention I'm missing when putting a @command node in ~/.leo/myLeoSettings.leo ? Am I wrong, and the @command node must exist in the file where it is u

Re: open-with starting to work: it's time to *really* fix it

2012-02-28 Thread Kent Tenney
The utility I use basically just specifies - interpreter (shell or an application) - code (node contents, either a command line or script) - where stdout and stderr go This has been adequate for me. On Tue, Feb 28, 2012 at 9:03 AM, Edward K. Ream wrote: > Revs 5037/8 contain fixes that allow t

Traceback 5016

2012-02-25 Thread Kent Tenney
Leo Log Window Leo 4.9.1 devel, build 5016, 2012-02-25 18:01:01 Python 2.7.2, qt version 4.7.3 linux2 When running my 'session' script which opens a list of leo files:: exception executing script Traceback (most recent call last): Traceback (most recent call last): File "/usr/fetching/leo-edit

Re: Caution: the big switch to the new_config world is coming today

2012-02-24 Thread Kent Tenney
I don't know bzr beyond pulling, but I would expect that tags can allow reverting to a safe version if the trunk is no allowing me to work ... ? Thanks, Kent On Fri, Feb 24, 2012 at 6:32 AM, Edward K. Ream wrote: > The g.new_config switch controls how Leo loads files and handles > settings.  Wh

Re: Getting value from Bret Victor's video

2012-02-22 Thread Kent Tenney
On Wed, Feb 22, 2012 at 7:39 AM, Edward K. Ream wrote: > On Feb 22, 7:16 am, "Edward K. Ream" wrote: > > I forgot to ask for your comments about the entire post.  I would > welcome any ideas you might have for how to build more interactivity > into Leo. I'd guess everyone has a different idea wh

Re: Learning javascript

2012-02-21 Thread Kent Tenney
On Tue, Feb 21, 2012 at 10:56 AM, Edward K. Ream wrote: > On Feb 21, 10:51 am, Kent Tenney wrote: >> MooTools vidhttp://www.youtube.com/watch&v=6nOVQDMOvvE This is old, very web-centric >> >> Crockford: Javascript the good >> partshttp://www.youtube.com/watch?v

Re: Learning javascript

2012-02-21 Thread Kent Tenney
MooTools vid http://www.youtube.com/watch&v=6nOVQDMOvvE Crockford: Javascript the good parts http://www.youtube.com/watch?v=hQVTIJBZook On Tue, Feb 21, 2012 at 10:48 AM, Edward K. Ream wrote: > > > On Feb 21, 9:33 am, "Zoom.Quiet" wrote: >> 2012/2/21 Edward K. Ream : >> >> > I've got to learn j

Re: Recommended video

2012-02-21 Thread Kent Tenney
On Tue, Feb 21, 2012 at 9:19 AM, Edward K. Ream wrote: > On Feb 21, 8:47 am, Kent Tenney wrote: >> It's hard to watch and not be consumed by envy of his tools. >> So the challenge is scaling that desire down to my capabilities. > > Haha. > >> So, can I create a

Re: Recommended video

2012-02-21 Thread Kent Tenney
K. Ream wrote: > On Feb 20, 2:29 pm, Kent Tenney wrote: >> http://flowingdata.com/2012/02/20/live-coding-and-inventing-on-princi... >> >> I found this quite amazing, a glimpse at the future of programming >> environments, >> and a lovely description of a good way to

Recommended video

2012-02-20 Thread Kent Tenney
http://flowingdata.com/2012/02/20/live-coding-and-inventing-on-principle/ I found this quite amazing, a glimpse at the future of programming environments, and a lovely description of a good way to live. Bret Victor The guy has some cred: a _tiny_ fraction of his CV: "Apple. I designed the initia

Re: NEW: find-quick-timeline

2012-02-20 Thread Kent Tenney
On Mon, Feb 20, 2012 at 2:12 PM, Terry Brown wrote: > On Mon, 20 Feb 2012 13:47:39 -0600 > Kent Tenney wrote: > >> If all commands which put things in the nav pane were named nav_xxx: >> that, and tab completion would obviate memorization ... > > It's fine with

Re: NEW: find-quick-timeline

2012-02-20 Thread Kent Tenney
Really nice. If all commands which put things in the nav pane were named nav_xxx: that, and tab completion would obviate memorization ... On Mon, Feb 20, 2012 at 12:42 PM, Terry Brown wrote: > There are some Alt-X commands which put interesting lists of things > into the Nav pane.  I've just add

Re: About rev 4993

2012-02-20 Thread Kent Tenney
Nice. On Mon, Feb 20, 2012 at 9:53 AM, Edward K. Ream wrote: > On Mon, Feb 20, 2012 at 8:49 AM, Kent Tenney wrote: >> My 'session' code opens Leo files listed in a node body. >> How should the following be changed? > >> TypeError:

Re: About rev 4993

2012-02-20 Thread Kent Tenney
My 'session' code opens Leo files listed in a node body. How should the following be changed? Thanks, Kent exception executing script Traceback (most recent call last): File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 2340, in executeScript execfile(scriptFile,d) File "/usr/fe

Re: magic refactor button

2012-02-15 Thread Kent Tenney
On Wed, Feb 15, 2012 at 10:17 AM, Terry Brown wrote: > On Wed, 15 Feb 2012 09:31:21 -0600 > Kent Tenney wrote: > >> Cool. I'm changing the name to >> @adhoc > > That's equally as good as fac, the key thing is that both words are fun > to say :-) > &

Re: magic refactor button

2012-02-15 Thread Kent Tenney
Cool. I'm changing the name to @adhoc Strikes me as 'macro' capability. With almost no overhead, define a filter for selected text, and persist it visually, no need for remembering! I'll put it into myLeoSettings.leo Thanks, Kent On Tue, Feb 14, 2012 at 8:34 PM, Terry Brown wrote: > Ever find

Re: Leo's new configuration scheme

2012-02-14 Thread Kent Tenney
I have no idea if this is relevant, but in looking over @settings recently, I remembered the issue with plugins wherein it was difficult (impossible?) to de-activate a plugin appearing in leoConfig/leoSettings.leo.@enabled-plugins Was that ever resolved? If not maybe instead of bare names in @ena

Re: Leo's startup code must be simplified

2012-02-10 Thread Kent Tenney
might it be feasible for myLeoSettings.leo to say: @include \ /path/to/settingsfile and the subtrees of @settings nodes in would be slurped in? On Fri, Feb 10, 2012 at 4:14 PM, Edward K. Ream wrote: > On Feb 10, 3:39 pm, "Edward K. Ream" wrote: > >> = New summary = >> >> The big

Re: Leo's startup code must be simplified

2012-02-10 Thread Kent Tenney
On Fri, Feb 10, 2012 at 9:13 AM, Edward K. Ream wrote: > On Thu, Feb 9, 2012 at 11:42 AM, Kent Tenney wrote: > >> Reacting according to _my_ Leo world view. > > I suspect that if you approve of a new settings scheme everyone else will too. > >> I assume the existence o

Re: Leo's startup code must be simplified

2012-02-09 Thread Kent Tenney
On Thu, Feb 9, 2012 at 11:06 AM, Edward K. Ream wrote: > On Feb 9, 7:39 am, "Edward K. Ream" wrote: >> Leo's startup code is extremely complex.  It is becoming urgent to simplify >> it. > > There is a buglet involving the computation of the location of > leoSettings.leo and myLeoSettings.leo tha

Re: cursor keys self-inserting

2012-02-03 Thread Kent Tenney
So far, so good. On Fri, Feb 3, 2012 at 6:10 AM, Edward K. Ream wrote: > On Thu, Feb 2, 2012 at 6:31 PM, Edward K. Ream wrote: > >> Haven't built Qt for Python 3.x yet, but I should be able to fix the >> Python 2.x problems soon. > > Rev 4970 appears to work everywhere, with Python 2.x and 3.x.

Re: cursor keys self-inserting

2012-02-01 Thread Kent Tenney
with 4969 I seem to have lost bindings, no ctl-s, alt-x ... menu->save didn't work, closed the file to save On Wed, Feb 1, 2012 at 4:43 PM, Edward K. Ream wrote: > On Wed, Feb 1, 2012 at 3:31 PM, Terry Brown wrote: > >> 4968 does not seem to be doing it any more. > > Haha.  We'll fix that :-)  H

Re: Startup crash regression

2012-02-01 Thread Kent Tenney
4968 is behaving nicely. On Wed, Feb 1, 2012 at 10:36 AM, Edward K. Ream wrote: > On Wed, Feb 1, 2012 at 10:04 AM, Kent Tenney wrote: >> Working backwards, r4960 is ok >> >> 4961: > >>  File "/usr/fetching/leo-editor/leo/core/leoEditCommands.py", line >

More key regression stuff

2012-02-01 Thread Kent Tenney
I previously reported on an issue opening files. As I started working on the files, I found I didn't have basic bindings: ctl-r ctl-i alt-x I reverted one rev at a time, they reappeared at r4951 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Startup crash regression

2012-02-01 Thread Kent Tenney
Working backwards, r4960 is ok 4961: [ ktenney@lappy: ~/work ]$ Traceback (most recent call last): File "/usr/fetching/leo-editor/launchLeo.py", line 8, in leo.core.runLeo.run() File "/usr/fetching/leo-editor/leo/core/runLeo.py", line 124, in run ok = doPostPluginsInit(args,files,opt

Crash on startup with 4964

2012-02-01 Thread Kent Tenney
FYI One Leo file opens ok, all others I've tried fail to open with: File "/usr/fetching/leo-editor/launchLeo.py", line 8, in leo.core.runLeo.run() File "/usr/fetching/leo-editor/leo/core/runLeo.py", line 112, in run files,options = doPrePluginsInit(fileName,pymacs) File "/usr/fetchin

Re: Caution: rev 4952 fixes bug 87933 with major key reorg: please test

2012-01-30 Thread Kent Tenney
This is AWESOME! - it makes all the simple key combinations available for custom defs (I was jealous of Leo claiming so many ctl- codes, too lazy to learn ctl-alt-) - they take effect with only a save and revert, no need to close and open A great day for Leo customization. Thanks, Kent On Mo

Re: free_layout should store in leo file

2012-01-19 Thread Kent Tenney
On Thu, Jan 19, 2012 at 10:17 AM, Terry Brown wrote: > On Thu, 19 Jan 2012 03:19:18 -0800 (PST) > Josef wrote: > >> I just tried to modify a layout with free_layout, then renamed >> the .leo file, and the configuration was gone. Renaming back to the >> old name restored the configuration. I deduc

Re: @auto "refresh from disk" error

2012-01-18 Thread Kent Tenney
AM, Edward K. Ream wrote: > On Tue, Jan 17, 2012 at 3:37 PM, Kent Tenney wrote: >> rclick and "Refresh from disk" on a python @auto file > > > >> readOneAtAutoNode >>    at.rememberReadPath(fileName,p) >> NameError: global name 'at' is not defi

@auto "refresh from disk" error

2012-01-17 Thread Kent Tenney
rclick and "Refresh from disk" on a python @auto file Traceback (most recent call last): File "/usr/fetching/leo-editor/leo/plugins/contextmenu.py", line 188, in refresh_rclick_cb c.readAtAutoNodes() File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 1906, in readAtAutoNodes

Re: "...has been modified outside of Leo. Overwrite this file?

2012-01-09 Thread Kent Tenney
On Mon, Jan 9, 2012 at 3:47 PM, Edward K. Ream wrote: > On Mon, Jan 9, 2012 at 3:09 PM, Kent Tenney wrote: > >> I see it with @auto. > > Did your email cross in the ether?  I don't see the problem with rev 4919. Sorry for the noise, 4919 looks good. > > Edwa

Re: "...has been modified outside of Leo. Overwrite this file?

2012-01-09 Thread Kent Tenney
On Mon, Jan 9, 2012 at 12:29 PM, Edward K. Ream wrote: > On Mon, Jan 9, 2012 at 9:15 AM, Terry Brown wrote: > >> Steps to reproduce: > > Excellent.  I'll fix this today or tonight. > > The various flavors of @ nodes are maddeningly similar, yet each > different enough to make refactoring difficul

Re: A new db-oriented vision for Leo?

2011-12-26 Thread Kent Tenney
The entry point I envision is this: The gui shows 3 buttons: <=, ||, => If the node which currently has focus, only the double bars are active, clicking that button puts the current node in the repository. if the node is edited, the double bar and the left arrow become active: clicking <= reverts

Re: A new db-oriented vision for Leo?

2011-12-24 Thread Kent Tenney
d Moshe, "He took out his lunch so I took out mine." On Sat, Dec 24, 2011 at 9:30 AM, Seth Johnson wrote: > On Thu, Dec 22, 2011 at 3:30 PM, Kent Tenney wrote: >> On Thu, Dec 22, 2011 at 1:16 PM, Seth Johnson >> wrote: >>> Okay, I think I have a sense of where you

Re: A new db-oriented vision for Leo?

2011-12-22 Thread Kent Tenney
at > address you're using. > > > Seth > > On Thu, Dec 22, 2011 at 1:54 PM, Kent Tenney wrote: >> OK, we're talking apples and oranges here. >> >> My approach is pretty simple-minded, aimed at versioning nodes, >> your schema is much richer, over my

Re: A new db-oriented vision for Leo?

2011-12-22 Thread Kent Tenney
of what I call address, this UNL: UNL: /home/ktenney/work/leotools.leo#leotools.leo-->Sandbox-->using @data nodes-->@settings-->@string VENV_HOME = /home/ktenney/venv has address: address: 0-5-0-0-1 BTW, this "address" syntax can be seen in p.key() key: 150749356:0.151500012

Re: A new db-oriented vision for Leo?

2011-12-21 Thread Kent Tenney
On Wed, Dec 21, 2011 at 6:36 PM, Seth Johnson wrote: > On Tue, Dec 20, 2011 at 2:31 PM, Seth Johnson > wrote: >> On Tue, Dec 20, 2011 at 1:39 PM, Kent Tenney wrote: >>> >>> It sounds like the moral equivalent of a linked list. >>> >>> The "a

Re: A new db-oriented vision for Leo?

2011-12-20 Thread Kent Tenney
On Tue, Dec 20, 2011 at 12:24 PM, Seth Johnson wrote: > On Tue, Dec 20, 2011 at 12:58 PM, Kent Tenney wrote: >>> >>> In my architecture, nodes point up to their parents. >> >> How do you maintain sibling order? >> >> I've been settling on nod

Re: launchpad error

2011-12-20 Thread Kent Tenney
I just did bzr pull, got Using saved parent location: http://bazaar.launchpad.net/~edreamleo/leo-editor/trunk2/ ... Now on revision 4896. On Tue, Dec 20, 2011 at 11:19 AM, Terry Brown wrote: > On Tue, 20 Dec 2011 12:12:01 -0500 > "Edward K. Ream" wrote: > >> I just pushed to launchpad successful

Re: A new db-oriented vision for Leo?

2011-12-20 Thread Kent Tenney
> > In my architecture, nodes point up to their parents. How do you maintain sibling order? I've been settling on node "addresses" in metadata, it's a list of child indexes. It provides each node with a self contained description of where it lives, which I like. I haven't come across a more succi

Re: leo-editor branch about to be deleted & recreated: please *no* pushes until finished

2011-12-16 Thread Kent Tenney
Not knowing how to point to "trunk2" instead of the old "trunk", I deleted leo-editor/ so I could run $ bzr branch lp:leo-editor Now I'm seeing trunk2 On Fri, Dec 16, 2011 at 8:11 AM, Edward K. Ream wrote: > On Fri, Dec 16, 2011 at 9:08 AM, Edward K. Ream wrote: > >> Correct.  lp:leo-editor, th

Re: Idea - "SQL Leo"

2011-12-16 Thread Kent Tenney
There's also been a suggestion of putting nodes in Fossil, which seems to offer the benefits of a db engine, plus versioning: all in one file. http://www.fossil-scm.org/index.html/doc/trunk/www/index.wiki On Fri, Dec 16, 2011 at 7:58 AM, mdb wrote: > I vote for allowing the saving and reading of

Re: @path glitch

2011-12-14 Thread Kent Tenney
On Wed, Dec 14, 2011 at 9:34 AM, Terry Brown wrote: > On Tue, 13 Dec 2011 10:26:53 -0600 > Kent Tenney wrote: > >> Howdy, (Terry) >> >> rclicking on @path /path/to/dir >> and choosing >> Path->Set node to absolute path recursive >> gives > &

@path glitch

2011-12-13 Thread Kent Tenney
Howdy, (Terry) rclicking on @path /path/to/dir and choosing Path->Set node to absolute path recursive gives Traceback (most recent call last): File "/usr/fetching/leo-editor/leo/plugins/active_path.py", line 157, in f return cmd(c) File "/usr/fetching/leo-editor/leo/plugins/active_path.py

Question re: @command node vs. registerCommand()

2011-12-04 Thread Kent Tenney
I can define a command which takes args if I use a @command node < # in file test-commands.py def tester(g, p): g.es(p.b) # in node @command tester \ from test-commands import tester tester(g, p) When I use re

Re: leoInspect: remarkable collapse in complexity and attempted assessment

2011-11-29 Thread Kent Tenney
On Tue, Nov 29, 2011 at 9:37 AM, Edward K. Ream wrote: > On Tue, Nov 29, 2011 at 9:21 AM, Edward K. Ream wrote: > >> In short, the comments problem lies hidden in the background in the >> 2to3 sources.  I think I'll run some tests to see whether there might >> be some bugs lurking in 2to3. > > 2t

Re: Help requested re bug 893223: Unpredictable slow operation state cured by writing

2011-11-23 Thread Kent Tenney
On Wed, Nov 23, 2011 at 10:57 AM, Edward K. Ream wrote: > On Wed, Nov 23, 2011 at 10:32 AM, Terry Brown wrote: > >> Ok - I guess I missed the bug's not reproducible.  Can the OP reproduce >> it?  Do we have the list of plugins active in the reporting environment? > > Thanks for reminding me about

Re: Warning: key handling partially broken in the trunk

2011-11-21 Thread Kent Tenney
Not to worry, I can survive nicely without added editors. Thanks, Kent On Mon, Nov 21, 2011 at 12:15 PM, Edward K. Ream wrote: > On Sun, Nov 20, 2011 at 1:34 PM, Kent Tenney wrote: >> try alt-x add-editor, type in new editor, very broken for me. > > Thanks for this.  I'v

Re: Warning: key handling partially broken in the trunk

2011-11-20 Thread Kent Tenney
try alt-x add-editor, type in new editor, very broken for me. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@g

Re: How to re-assign a key binding

2011-11-17 Thread Kent Tenney
On Thu, Nov 17, 2011 at 4:07 PM, SegundoBob wrote: > On Nov 16, 12:50 pm, Kent Tenney wrote: >> I thought this was discussed recently, but can't find the thread. >> >> Given this command defining node >> @command watch-write @key=Alt-w >> >> Is i

Re: Code for displaying a function call hierarchy in leo

2011-11-17 Thread Kent Tenney
Very cool! Makes me wish for a rclick on node option: "Expand Subtree" On Wed, Nov 16, 2011 at 9:19 PM, Brian Theado wrote: > The other day I stumbled across Ville's code in scripts.leo which > displays the output of python's trace module in a leo outline.  The > output of the trace module is n

How to re-assign a key binding

2011-11-16 Thread Kent Tenney
I thought this was discussed recently, but can't find the thread. Given this command defining node @command watch-write @key=Alt-w Is it possible to replace the binding defined in leoSettings.leo with mine? Thanks, Kent -- You received this message because you are subscribed to the Google Grou

Re: leoInspect: a hobby with a future?

2011-11-16 Thread Kent Tenney
Just the kind of stuff I like, looking forward to being able to try it without having to understand how it works :-] Probably off topic, but I'm reminded of my reaction to lots of testing tools, especially the coverage stuff which produces listings of execution paths. The intent of the listing is

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

2011-11-16 Thread Kent Tenney
On Tue, Nov 15, 2011 at 9:31 PM, Largo84 wrote: > Suppose my focus node is under a @path directive, say @path E: > \Documents\Some Folder\ > > Is there a setting that would cause the 'File>Open' or 'File>Import > File' commands to begin the search dialog in the directory, E: > \Documents\Some Fold

Re: I forget, is there a "view only" @ ?

2011-11-14 Thread Kent Tenney
I'm going to implement this as a button/plugin, the the feature list I want keeps growing, so ... Nevermind. Thanks, Kent On Sun, Nov 13, 2011 at 12:09 PM, Kent Tenney wrote: > I think I've asked this many times, I'll really try to remember this time. > > I find my

I forget, is there a "view only" @ ?

2011-11-13 Thread Kent Tenney
I think I've asked this many times, I'll really try to remember this time. I find myself more and more often using Leo to _monitor_ files: nodes which _only_ load the current content of a file, have no concerns with ever writing to the file. Ideally it would react to saving the Leo file by reload

Re: Why can't Python print a dashed unicode string???

2011-11-10 Thread Kent Tenney
Just came across this, py 2 to 3 utilities, possibly germane. http://pypi.python.org/pypi/six/ On Tue, Nov 8, 2011 at 5:19 PM, Edward K. Ream wrote: > This is absolutely driving me nuts. > > Leo can handle unicode properly, but Python's own print statement > can't. > > I've set PYTHONIOENCODING=u

Re: import glitch

2011-11-10 Thread Kent Tenney
On Thu, Nov 10, 2011 at 12:05 PM, Edward K. Ream wrote: > On Thu, Nov 10, 2011 at 11:03 AM, Kent Tenney wrote: > >>> Did you get an actual indication of what lines did not match? >> >> No, I pasted verbatim from the log pane. > > Please send me the file,

Re: import glitch

2011-11-10 Thread Kent Tenney
On Thu, Nov 10, 2011 at 10:37 AM, Edward K. Ream wrote: > On Thu, Nov 10, 2011 at 10:25 AM, Kent Tenney wrote: > >> The log shows the following for one file. The files are ones I don't have >> write permission on, I suspect the problem is related to that. > > That

Re: BZR memory

2011-11-10 Thread Kent Tenney
On Thu, Nov 10, 2011 at 10:26 AM, Terry Brown wrote: > On Thu, 10 Nov 2011 10:11:29 -0600 > "Edward K. Ream" wrote: > >> On Thu, Nov 10, 2011 at 6:49 AM, Ville M. Vainio wrote: >> >> >> Not ok with me. >> >> > "Destroy all your history" sounds menacing, but it really means your >> > commits get

Re: BZR memory

2011-11-10 Thread Kent Tenney
On Thu, Nov 10, 2011 at 10:11 AM, Edward K. Ream wrote: > On Thu, Nov 10, 2011 at 6:49 AM, Ville M. Vainio wrote: > >>> Not ok with me. > >> "Destroy all your history" sounds menacing, but it really means your >> commits get different id's, not that old commits themselves would >> disappear. > >

Re: import glitch

2011-11-10 Thread Kent Tenney
On Thu, Nov 10, 2011 at 10:08 AM, Edward K. Ream wrote: > On Thu, Nov 10, 2011 at 9:36 AM, Edward K. Ream wrote: > >>> ValueError: too many values to unpack >> >> Sorry about that.  I'll fix immediately and add (or maybe enhance) a unit >> test. Thanks, the @auto trees are now populated The lo

Re: import glitch

2011-11-10 Thread Kent Tenney
oops, r4767 On Thu, Nov 10, 2011 at 8:21 AM, Kent Tenney wrote: > I'm getting failed @auto imports with this traceback: > > reading: /home/ktenney/work/salt.leo > reading: @auto pkg.py > exception executing script > Traceback (most recent call last): >  File "/u

import glitch

2011-11-10 Thread Kent Tenney
I'm getting failed @auto imports with this traceback: reading: /home/ktenney/work/salt.leo reading: @auto pkg.py exception executing script Traceback (most recent call last): File "/usr/fetching/leo-editor/leo/core/leoCommands.py", line 2180, in executeScript execfile(scriptFile,d) File "/

<    1   2   3   4   5   6   7   8   9   10   >