Re: @auto-md does nothing

2016-04-08 Thread 'Terry Brown' via leo-editor
On Fri, 8 Apr 2016 14:39:54 -0700 (PDT) SegundoBob wrote: > http://leoeditor.com/directives.html > > I believe this page is supposed to document the latest Leo-Editor and > I believe it indicates that @auto-md should create an external file. > It does not do this for me. The @auto-md headline s

Re: @bool check_for_changed_external_files not usable over slow network

2016-04-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Apr 2016 14:44:47 -0500 "Edward K. Ream" wrote: > On Thu, Apr 14, 2016 at 2:41 PM, john lunzer wrote: > > > Either way, I would guess it is not the desire nor the intention > > for Leo to lock up in this case. > > ​True, but it's *your* use case and your call. It's unreasonable to

Re: Improved spell checking

2016-04-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Apr 2016 06:25:34 -0700 (PDT) john lunzer wrote: > My spell tab hasn't worked in the entire time I've used Leo. Only > recently, a week or so, I've been able to see part of it before my > outlines are fully loaded but when all files are finally loaded it > disappears. > > I had assum

Re: Leo 5.2 How to use sublimte 2 dark theme ?

2016-04-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Apr 2016 12:35:25 -0500 "Zoom.Quiet" wrote: > On Fri, Apr 15, 2016 at 11:16 AM, john lunzer > wrote: > > You may not need to copy an entirely new settings file but simply > > the @button reload-styles node from a theme that contains it. I > > would try that first before starting anew.

Re: [theme] how to setup Leo cursor size and highlight currently line?

2016-04-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Apr 2016 14:33:31 -0500 "Zoom.Quiet" wrote: > thanks EKR's great job. i use Leo from 2005 year, now enjoy in MAC ;-) > > but always one need: > - like attachment snapshot > - sublime text 3 , can set big cursor and highlight currently line > - i guess Leo also can theme like this, but

Re: [theme] how to setup Leo cursor size and highlight currently line?

2016-04-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Apr 2016 15:33:19 -0500 "Zoom.Quiet" wrote: > WoW ! sooo beautful theme ;-) > thanks john, again. > > BUT, there is always other problem > - the self. is look like not keyword! > - as attachment snapshot ... **Strictly** speaking, `self` isn't a keyword, it's just a convention. Pytho

i3 tiling window manager is free_layout analog

2016-04-17 Thread 'Terry Brown' via leo-editor
Can't believe I've been using the i3 tiling window manager for must be a couple of years and only just realized it's an analog of the free_layout system. free_layout was inspired by Blender's tiling interface, but i3 gives a model of how to drive free_layout from the keyboard. Will see where it l

Re: i3 tiling window manager is free_layout analog

2016-04-17 Thread 'Terry Brown' via leo-editor
On Sun, 17 Apr 2016 15:10:49 -0500 "'Terry Brown' via leo-editor" wrote: > Can't believe I've been using the i3 tiling window manager for must be > a couple of years and only just realized it's an analog of the > free_layout system. free_layout was i

Re: @string initial_split_orientation = horizontal no effect

2016-04-19 Thread 'Terry Brown' via leo-editor
On Tue, 19 Apr 2016 05:17:21 -0500 "Edward K. Ream" wrote: > On Tue, Apr 19, 2016 at 12:40 AM, wrote: > > I set "@string initial_split_orientation = horizontal" in > leoSettings.leo > > but no > > ​ effect​ > > ​. > > ​..​Is that a bug? > > > > ​It looks that way. Probably a side effect of r

Re: @string initial_split_orientation = horizontal no effect

2016-04-19 Thread 'Terry Brown' via leo-editor
On Tue, 19 Apr 2016 11:16:33 -0500 "Edward K. Ream" wrote: > On Tue, Apr 19, 2016 at 9:23 AM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: [snip] > As soon as you save a layout using > > ​ ​ > > free_layout that becomes th

Re: @string initial_split_orientation = horizontal no effect

2016-04-19 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 19 Apr 2016 13:00:55 -0500 "'Terry Brown' via leo-editor" wrote: > New files, in > particular new never saved files, are a sort of edge case > (surprisingly, I guess we don't create new .leo files too much). But > all it needs is c.db to behave l

Re: @string initial_split_orientation = horizontal no effect

2016-04-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 22 Apr 2016 08:23:56 -0700 (PDT) "Edward K. Ream" wrote: > > On Tuesday, April 19, 2016 at 9:23:20 AM UTC-5, Terry Brown wrote: > > > there's a bug in c.db, when you create and save a new file, c.db in > > that > file gives a key error > > When does that happen? I doesn't happen on s

Re: @string initial_split_orientation = horizontal no effect

2016-04-23 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 23 Apr 2016 15:18:03 -0700 (PDT) SegundoBob wrote: > I hope you intend to quickly make* @string initial_split_orientation > = horizontal* work again. This has been my default for several years > and I'm very tired of hitting Alt-W, s every time I open a Leo-Editor > file. A per file wor

Re: Bug: marking/unmarking a node makes @s dirty

2016-04-25 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 25 Apr 2016 13:16:08 -0700 (PDT) john lunzer wrote: > I think "dirty" is the right word, basically Leo thinks the file was > altered. Not only does it do this for the current node but it will > also do it recursively for all child nodes. Not sure if that's considered a bug or not. in

Qt 4 / 5

2016-05-03 Thread &#x27;Terry Brown&#x27; via leo-editor
[sent this to a github issue discussion by mistake] Note: just posting thing for general qt4/5 import reference, I think the WebKit related issues may be more about deprecation than imports. Just found this: https://github.com/spyder-ide/qtpy QtPy: Abtraction layer for PySide/PyQt4/PyQt5

Re: Proposal: remove emacs-style abbreviation commands

2016-05-04 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 4 May 2016 13:39:26 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, May 3, 2016 at 9:17:06 AM UTC-5, Edward K. Ream wrote: > > > > Does anyone use the static abbrev-* commands? I can see no use for > > them. > > > > The abbreviations in `@data > > abbreviations

Re: Proposal: remove emacs-style abbreviation commands

2016-05-05 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 5 May 2016 04:14:42 -0500 "Edward K. Ream" wrote: > On Wed, May 4, 2016 at 4:41 PM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > On Wed, 4 May 2016 13:39:26 -0700 (PDT) > > "Edward K. Ream" wrote:

Re: Anyone else think markdown colorizer is strange?

2016-05-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 6 May 2016 09:20:04 -0700 (PDT) "Edward K. Ream" wrote: > I copied the markdown colorizer from jEdit, but it doesn't colorize > *x* or **x** as I expect. > > My private to-do list has a note to fix this. If you agree I'll > create an official enhancement item. Your comments, please. >

Re: Handles to Minimize Windows

2016-05-07 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 7 May 2016 05:10:17 -0500 "Edward K. Ream" wrote: > On Fri, May 6, 2016 at 6:49 PM, Chris George > wrote: > > > I have a question. How hard would it be to add handles to click to > > minimize the log window and the tree? > > ​I am not aware of any Qt features that would make this easy.

Re: Handles to Minimize Windows

2016-05-07 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 7 May 2016 08:46:54 -0500 Terry Brown wrote: > On Sat, 7 May 2016 05:10:17 -0500 > "Edward K. Ream" wrote: > > > On Fri, May 6, 2016 at 6:49 PM, Chris George > > wrote: > > > > > I have a question. How hard would it be to add handles to click to > > > minimize the log window and the t

Re: Handles to Minimize Windows

2016-05-10 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 7 May 2016 17:50:15 -0700 (PDT) Chris George wrote: > The intent was for a single click. Pushed a reasonable chunk of code for this. Added a "splitterClicked" signal to NestedSplitter, and used this in free_layout.py to zoom the body/tree if you middle-click on a splitter handle adjacen

Re: Handles to Minimize Windows

2016-05-10 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 10 May 2016 13:11:29 -0500 "'Terry Brown' via leo-editor" wrote: > for styling / decorating, but then pane arrangement could make them no > longer adjacent, and therefor misleading. pane re-arrangement I meant -- You received this message because you ar

Re: Leo and Eve

2016-05-13 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 13 May 2016 11:43:28 -0500 "Edward K. Ream" wrote: > There is a reason we still have text. The information content of text > is much bigger than pictures, even though a picture is said to be > worth a thousand words. I always feel this way about command line / shell vs. "graphical" file

Object Explorer (was Re: Leo and Eve)

2016-05-16 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 16 May 2016 06:02:45 -0700 (PDT) john lunzer wrote: > A common feature in Pharo as well as Spyder and the pudb python > debugger is the object explorer. This I believe is a useful pillar of > the live coding environment. https://github.com/leo-editor/snippets/blob/master/introspect.py m

Re: Object Explorer (was Re: Leo and Eve)

2016-05-17 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 17 May 2016 12:50:32 -0500 "Edward K. Ream" wrote: > ​Many thanks, Terry, for this work. I'm sure it will be useful. It's > already provocative. Several comments: > > ​1.The program will crash with Python 3, which is where I spend most > of my time these days. Various types no longer

Re: New pyflakes and (soon) flake8 commands

2016-05-17 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 17 May 2016 13:46:12 -0700 (PDT) "Edward K. Ream" wrote: > It's unbearable to see pyflakes messages that can't be suppressed, so > something safe and effective must be done. It doesn't have to be > pretty, however ;-) Filter the messages? Make messages that look like: File foo.py, lin

Re: Handles to Minimize Windows

2016-05-18 Thread &#x27;Terry Brown&#x27; via leo-editor
hris > > On Tuesday, May 10, 2016 at 11:12:43 AM UTC-7, Terry Brown wrote: > > > > On Tue, 10 May 2016 13:11:29 -0500 > > "'Terry Brown' via leo-editor" > > wrote: > > > > > for styling / decorating, but then pane arrangement could mak

Re: Handles to Minimize Windows

2016-05-19 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 19 May 2016 05:17:58 -0700 (PDT) lewis wrote: > I'm also finding middle-click command behaviour to be inconsistent. > There seems to be some effect regarding the tab 'number', where > middle-click only works on even numbered tabs. Try opening new tabs > like this: > open 3rd tab - does n

Re: Handles to Minimize Windows

2016-05-19 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 19 May 2016 07:12:34 -0700 (PDT) Chris George wrote: > Tabs are .leo files. The second file opened doesn't work, the third > file opened does. Ah, ok, stranger and stranger - I think it's something to do with the way free_layout is initialized, although there may also be a design flaw in

Re: i3 tiling window manager is free_layout analog

2016-05-24 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 18 May 2016 11:19:18 -0700 (PDT) SegundoBob wrote: > Thanks for recommending i3. I had previously considered it and > rejected it as too minimal. Now I've used it for about a week and > I'll probably continue using it. So far for me, it is an improvement > over the XFCE desktop. Not a

Re: The pyflakes study project

2016-06-04 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 4 Jun 2016 03:54:49 -0700 (PDT) "Edward K. Ream" wrote: > On Wednesday, May 25, 2016 at 6:11:36 AM UTC-5, Edward K. Ream wrote: > > > > I've been studying and modifying pyflakes for the last several > > days... > > > > [google] discussion group > >

Re: Handles to Minimize Windows

2016-06-08 Thread &#x27;Terry Brown&#x27; via leo-editor
Hi - just pushed an attempt to resolve this, seems to work, would appreciate confirmation from anyone who was seeing the issue. Cheers -Terry On Thu, 19 May 2016 09:29:27 -0500 "'Terry Brown' via leo-editor" wrote: > On Thu, 19 May 2016 07:12:34 -0700 (PDT) > Chris

Re: Leo and the correlations between the single .leo file, and numerous potential @file(and similar) nodes

2016-06-26 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 26 Jun 2016 03:14:26 -0700 (PDT) Mike Hodson wrote: > Hi, > > I've just started using Leo for its amazing outlining ability, to > take notes, and such at first. I do hope to use it to organize > source code projects, but do have some uncertainties. > > I'm so-far understanding the dif

Re: Leo and the correlations between the single .leo file, and numerous potential @file(and similar) nodes

2016-06-26 Thread &#x27;Terry Brown&#x27; via leo-editor
, 26 Jun 2016 18:44:00 -0500 "'Terry Brown' via leo-editor" wrote: > On Sun, 26 Jun 2016 03:14:26 -0700 (PDT) > Mike Hodson wrote: > > > Hi, > > > > I've just started using Leo for its amazing outlining ability, to > > take notes, and

Re: Help -- Idea for a UI addition

2016-07-10 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 10 Jul 2016 11:21:48 -0700 (PDT) "'tfer' via leo-editor" wrote: > As I fumbled around in Leo Menus trying to do half remembered things, > (its been a while since I've used it), I thought that we should > borrow from the prompts Inkscape provides to make this easier. > > In Inkscape, down

Re: Help -- Idea for a UI addition

2016-07-11 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 11 Jul 2016 08:33:14 -0700 Segundo Bob wrote: > On 07/10/2016 06:23 PM, 'Terry Brown' via leo-editor wrote: > > The idea of tooltips for menu items in Leo came > > up some time ago, and I don't think it's directly supported in Qt. > > Terry, >

Re: Help -- Idea for a UI addition

2016-07-11 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 11 Jul 2016 08:33:14 -0700 Segundo Bob wrote: > On 07/10/2016 06:23 PM, 'Terry Brown' via leo-editor wrote: > > The idea of tooltips for menu items in Leo came > > up some time ago, and I don't think it's directly supported in Qt. > > Terry, >

Re: Help -- Idea for a UI addition

2016-07-12 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 11 Jul 2016 22:21:17 -0700 (PDT) rengel wrote: > > Inkscape is Gtk based. The idea of tooltips for menu items in Leo > > came up some time ago, and I don't think it's directly supported in > > Qt. > > Qt directly supports statusTips. > http://doc.qt.io/qt-4.8/qstatustipevent.html > >

Re: running viewrendered hard crashes leo

2016-07-19 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 19 Jul 2016 03:07:00 -0700 (PDT) lewis wrote: > Please be careful running the latest commit *aa6d703a83c1* as you can > hard crash leo with alt-x vr Hi Lewis, Would you mind checking that this definitely doesn't happen in 9d28e6c? I made aa6d703 but am not seeing the crash. It did chan

Re: running viewrendered hard crashes leo

2016-07-19 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 19 Jul 2016 07:35:13 -0700 (PDT) lewis wrote: > Downloaded the zip file of 9d28e6c zip file, unzipped and copied it > to my usual leo folder. But when I run Leo the log says > > *Leo Log WindowLeo 5.4-devel, build 20160412153848, Tue Apr 12 > 15:38:48 CDT 2016Not running from a git repo*

Re: running viewrendered hard crashes leo

2016-07-19 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 19 Jul 2016 03:07:00 -0700 (PDT) lewis wrote: > Please be careful running the latest commit *aa6d703a83c1* as you can > hard crash leo with alt-x vr > > Here is the console logfile after the rapid close: > > *** isPython3: TrueLeo 5.4-devel, build 20160412153848, Tue Apr 12 > 15:38:48 C

Re: Leo not running with pythonw.exe

2016-07-28 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 28 Jul 2016 13:48:02 -0700 (PDT) Terry wrote: > Ed, > > I feel like we're starting to go in circles > > Let me be clear: I don't know Git - unfortunately, I don't have it. > I've been getting Leo from the links on the Download > page http://leoeditor.com/download.html > So please -

Re: Again: Restoring sessions

2016-08-01 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 31 Jul 2016 02:52:12 -0700 (PDT) rengel wrote: > I understand, that I can save and restore Leo sessions by using the > command line arguments '--session-save' and '--session-restore'. > This works fine with open files, but what about the size and position > of the Leo window and the posit

Re: Multiple windows?

2016-08-17 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 16 Aug 2016 23:28:20 -0600 Mike Hodson wrote: > Hmm.. > Your "right click" action is not as definite as it should be I > believe. > > I have to literally triple-rightclick within ~0.5s for this to work. > It seemed broken at first, until I started clicking like mad, and > somehow ended u

Re: Can node act as function, I can invoke it and pass parameters and return result?

2016-08-18 Thread &#x27;Terry Brown&#x27; via leo-editor
You could take a look at the valuespace plug in, it can construct node content from pieces elsewhere in the outline. Cheers -Terry On August 18, 2016 6:44:34 AM CDT, gufeiz...@gmail.com wrote: >If I write add a node name "@function say_hi( name)", node content like > >"retun "Hi " + name + " !"

Re: Bookmarks plugin

2016-08-28 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 28 Aug 2016 06:14:12 -0700 (PDT) lewis wrote: > Hi Terry, > > Enjoying using your bookmarks plugin, it's very useful for quick > navigation both within and between different files. > > I have recently noticed it allows you to add duplicate bookmarks in a > node. It doesn't flash the exi

Re: My Perception of Leo

2016-08-29 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 29 Aug 2016 18:36:37 -0600 Mike Hodson wrote: > Hello Chris, Viktor, > > You and others have brought up great points about how Leo is used in a > day-to-day basis. > I'm having trouble with what appears to be "one" editing window. > > Please, correct me if I haven't figured this functio

Re: Bookmarks plugin

2016-08-30 Thread &#x27;Terry Brown&#x27; via leo-editor
without further testing, so Lewis if you want to check it out from my fork  https://github.com/tbnorth/leo-dev-tbnorth that would be great otherwise I'll eat my own dogfood for a bit when I have more time next week. Cheers -Terry From: 'Terry Brown' via leo-editor To: leo-

Re: Bookmarks plugin

2016-09-12 Thread &#x27;Terry Brown&#x27; via leo-editor
the first of N nodes with the same headline, so that seems a poor trade off. I think in general it won't be a problem, you tend to use bookmarks for nodes in active use and they tend not to change position too much. Cheers -Terry From: 'Terry Brown' via leo-editor

Re: Segmentation Fault

2016-09-14 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 14 Sep 2016 09:02:05 -0700 (PDT) Chris George wrote: > Would there be any benefit to have me go through and test all of the > existing plugins against python 3.5.2 and PyQt 5.7? I think that would be useful. I've always thought it would be useful to store info. like this in tags in the

Re: My Perception of Leo

2016-09-17 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 17 Sep 2016 13:14:51 -0700 (PDT) Chris George wrote: > The combination of "Easter Egg" menu, Window, and Cmds makes things > complicated. One menu to rule them all would be a great place to > start. There's the Window -> Arrange Panes menu, which can open the easter egg menu. Not much,

Re: How many of you must still use Python 2?

2016-09-19 Thread &#x27;Terry Brown&#x27; via leo-editor
My use of Leo at work, which is very important to me ;-) really depends on it being Python 2.7. Note to self: At home, I should switch to 3 for Leo, just to make sure my chosen plugins work. Cheers -Terry From: Edward K. Ream To: leo-editor Sent: Monday, September 19, 2016 6:43 AM S

Re: How many of you must still use Python 2?

2016-09-21 Thread &#x27;Terry Brown&#x27; via leo-editor
Red Hat Enterprise Linux (RHEL) 6 uses 2.6 as its system python. RHEL 6 is superseded by RHEL 7, but RHEL 6 is still a long way from its end of life, people are still using it. But I'm not arguing for 2.6, the above doesn't affect my use of Leo ;-) and not being able to use 2.7 features in Pytho

Qt docking as a replacement for NestedSplitter "Easteregg" menu.

2016-09-26 Thread &#x27;Terry Brown&#x27; via leo-editor
https://github.com/leo-editor/snippets/blob/master/examples/layout/qtdock.py is a Py 2.7 / Qt 4 demo of Qt docking as it might apply to Leo, with commentsin the doc. string.  I think it's definitely worth switching to this, so now it'ssimply a matter of finding time :-) Cheers -Terry -- You re

Leo made code "in the wild".

2016-09-26 Thread &#x27;Terry Brown&#x27; via leo-editor
A little deja vu here, this might have happened before, but anyway, solution to my problem of the moment at work, from Google:  https://github.com/maphew/code/blob/master/gis/o4w_extras/bin/gdal-makeworld.py Thanks Matt :-) -- You received this message because you are subscribed to the Google Gr

Re: mod_http.py

2016-09-30 Thread &#x27;Terry Brown&#x27; via leo-editor
I think the HTML Chris is talking about comes from  leoPlugins.leo#Plugins-->Servers & web stuff-->@file mod_http.py-->class LeoActions-->add_bookmark where it's just a hard coded string. Easiest way would be to inject CSS from a @data setting into that. Cheers -Terry From: Edward K. Ream

Re: Leo made code "in the wild".

2016-10-01 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 30 Sep 2016 05:57:05 -0500 "Edward K. Ream" wrote: > On Mon, Sep 26, 2016 at 3:01 PM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > A little deja vu here, this might have happened before, but anyway, > > sol

Re: Qt docking as a replacement for NestedSplitter "Easteregg" menu.

2016-10-01 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 30 Sep 2016 06:15:49 -0500 "Edward K. Ream" wrote: > On Mon, Sep 26, 2016 at 1:42 PM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > https://github.com/leo-editor/snippets/blob/master/examples/ > > layout/

Re: 9543027 fixes ancient generator bugs!!!

2016-10-02 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 2 Oct 2016 00:55:05 -0700 (PDT) "Edward K. Ream" wrote: > Here is the checkin log, slightly modified: > > Fixed a bug in *all *of Leo's generators that return positions, and > added unit tests for the same. > > All of Leo's generator now yield p.copy() instead of p. This makes > the

Re: mod_http has been (partially) rewritten

2016-10-04 Thread &#x27;Terry Brown&#x27; via leo-editor
Traceback (most recent call last):  File "d:\local\leo-editor\leo\plugins\mod_http.py", line 419, in send_head    f = self.leo_actions.get_response()  File "d:\local\leo-editor\leo\plugins\mod_http.py", line 788, in get_response    return self.add_bookmark()  File "d:\local\leo-editor\leo\plugi

Re: mod_http has been (partially) rewritten

2016-10-04 Thread &#x27;Terry Brown&#x27; via leo-editor
I think Angular's for dynamic (i.e. two way) binding of data to HTML (change the variable to move the slider, move the slider to change the variable). What's needed here is just better CSS, like height: 50%;width: 100%; for the .outlinepane div. Cheers -Terry From: Don Dwiggins To: leo

Re: mod_http has been (partially) rewritten

2016-10-04 Thread &#x27;Terry Brown&#x27; via leo-editor
Great, thanks, add_bookmark is working again. Cheers -Terry From: Edward K. Ream To: leo-editor Sent: Tuesday, October 4, 2016 4:45 PM Subject: Re: mod_http has been (partially) rewritten On Tue, Oct 4, 2016 at 11:55 AM, 'Terry Brown' via leo-editor wrote: Trace

Re: Qt docking as a replacement for NestedSplitter "Easteregg" menu.

2016-10-11 Thread &#x27;Terry Brown&#x27; via leo-editor
September 30, 2016 6:15 AM Subject: Re: Qt docking as a replacement for NestedSplitter "Easteregg" menu. On Mon, Sep 26, 2016 at 1:42 PM, 'Terry Brown' via leo-editor wrote: https://github.com/leo-editor/ snippets/blob/master/examples/ layout/qtdock.py is a Py 2.7 /

reversed iterators

2016-10-14 Thread &#x27;Terry Brown&#x27; via leo-editor
Something that just struck me.  I want to add, to all the nodes on a multi-level subtree, two child nodes. Here's the code I used: for nd in reversed([i for i in p.subtree_iter()]):    nd.insertAsLastChild().h = 'src'    nd.insertAsLastChild().h = 'clip'c.redraw() I don't think that would have wo

Re: reversed iterators

2016-10-14 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Edward K. Ream To: leo-editor Sent: Friday, October 14, 2016 3:22 PM Subject: Re: reversed iterators On Fri, Oct 14, 2016 at 1:42 PM, 'Terry Brown' via leo-editor wrote: Something that just struck me.  I want to add, to all the nodes on a multi-level subtree, two c

Re: Proposal: remove commit_timestamp.json

2016-10-16 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 16 Oct 2016 09:18:02 -0700 (PDT) "Edward K. Ream" wrote: > At present, leoVersion.py gets version info by parsing > leo/core/commit_timestamp.json. There are at least two unacceptable > problems with this approach: > > 1. The dates don't get updated if a developer (like me!) forgets to

Re: Proposal: remove commit_timestamp.json

2016-10-16 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 16 Oct 2016 20:12:26 -0500 "Edward K. Ream" wrote: > On Sun, Oct 16, 2016 at 7:49 PM, Mike Hodson > wrote: > > > On Sun, Oct 16, 2016 at 4:24 PM, Edward K. Ream > > wrote: > > > The zip file's name contains the commit hash, so the user can > > > find out > > the > > ​ ​ > > exact v

Re: Proposal: remove commit_timestamp.json

2016-10-16 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 16 Oct 2016 19:20:23 -0600 Mike Hodson wrote: > That said, I did more digging. Seems that the full hash is contained > -as a comment- in the zip file... > With >2000 files in the zip file, infozip at the commandline shows the > comment -at the top- and in 1 second flat my screen goes from

Re: Proposal: remove commit_timestamp.json

2016-10-17 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Edward K. Ream To: leo-editor Sent: Monday, October 17, 2016 3:51 AM Subject: Re: Proposal: remove commit_timestamp.json ​​On Sun, Oct 16, 2016 at 8:20 PM, Mike Hodson wrote: On Sun, Oct 16, 2016 at 7:12 PM, Edward K. Ream wrote: > Here's an example.  I downloaded > leo-edit

Fw: Proposal: remove commit_timestamp.json

2016-10-17 Thread &#x27;Terry Brown&#x27; via leo-editor
[meant to post to the list, not just Edward] From: Edward K. Ream To: leo-editor Cc: terry_n_br...@yahoo.com Sent: Monday, October 17, 2016 11:23 AM Subject: Re: Proposal: remove commit_timestamp.json On Monday, October 17, 2016 at 9:04:52 AM UTC-5, Terry Brown wrote: I'm not reall

Re: Fw: Proposal: remove commit_timestamp.json

2016-10-17 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Edward K. Ream To: leo-editor Sent: Monday, October 17, 2016 1:40 PM Subject: Re: Fw: Proposal: remove commit_timestamp.json On Mon, Oct 17, 2016 at 11:57 AM, Jacob Peck wrote: I'm with Terry on this -- the commit_timestamp.json file has been immensely helpful in debug

Re: Devs: please delete your git hooks

2016-10-18 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 18 Oct 2016 04:33:08 -0700 (PDT) "Edward K. Ream" wrote: > On Monday, October 17, 2016 at 11:12:09 AM UTC-5, Edward K. Ream > wrote: > > These are the commit-msg and pre-commit files in > leo-editor/.git/hooks. > > > > They won't do any harm, or even be all that inconvenient, but they >

Re: Devs: please delete your git hooks

2016-10-18 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 18 Oct 2016 06:47:23 -0600 Mike Hodson wrote: > On Tue, Oct 18, 2016 at 5:33 AM, Edward K. Ream > wrote: > > Daily builds > > > > There is no hash data whatsoever available when downloading using > > the > latest > > link on Leo's download page. Other download links do provide > > "fun

Re: Devs: please delete your git hooks

2016-10-18 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 18 Oct 2016 08:34:21 -0500 "Edward K. Ream" wrote: > > If you use the hash, you need to know if it's a hash for a system > > with or without .git, because in one case it's a preceding hash, > > and in the other it's the current hash. > > ​No. Commit hooks are always for systems with git

Leo editing keys

2016-10-20 Thread &#x27;Terry Brown&#x27; via leo-editor
Nano has a handy line oriented editing functionality: Hit Ctrl-k to cut one or more lines move somewhere else Hit Ctrl-u to paste all those lines there What's the Leo equivalent? Recently Ctrl-X / Ctrl-V (with no selected text) were changed to work a bit like this, but only one line is accumulated

Re: mod_http has been (partially) rewritten

2016-10-20 Thread &#x27;Terry Brown&#x27; via leo-editor
I don't think that's a CSS thing, could be done in JQuery, although might make more sense to do it in the export from Leo. For reference:http://stackoverflow.com/questions/165082/insert-a-link-using-css Cheers -Terry From: Chris George To: leo-editor Sent: Thursday, October 20, 2016

Re: Leo editing keys

2016-10-20 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 20 Oct 2016 20:23:58 -0500 "Edward K. Ream" wrote: > On Thu, Oct 20, 2016 at 2:14 PM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > Nano has a handy line oriented editing functionality: > > > > Hit Ctrl-k

Re: Graphcanvas crashes Leo

2016-10-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 22 Oct 2016 06:50:20 -0700 (PDT) "Edward K. Ream" wrote: > On Friday, October 21, 2016 at 11:11:49 PM UTC-5, lewis wrote: > > > > Crash leo completely using the Graph tab enabled via the > > graphcanvas plugin. > > > > Naturally I read this just after releasing 5.4 final ;-) I'll fix

Re: Graphcanvas crashes Leo

2016-10-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 22 Oct 2016 10:37:00 -0500 "Edward K. Ream" wrote: > On Sat, Oct 22, 2016 at 10:23 AM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > Although this is a problem with graphcanvas it seems to me that > > exceptions re

Re: Graphcanvas crashes Leo

2016-10-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 22 Oct 2016 10:47:57 -0500 "Edward K. Ream" wrote: > On Sat, Oct 22, 2016 at 10:44 AM, Edward K. Ream > wrote: > > > Everything works for me with Python 3.5.2, PyQt version 4.8.7. > > Maybe the problem is with PyQt 5.7... > > > > Furthermore, exceptions are caught properly.​ > > ​For e

Re: Graphcanvas crashes Leo

2016-10-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 22 Oct 2016 18:02:41 -0700 (PDT) lewis wrote: > Can anyone confirm if they have the same issues running windows, > Python 3.5.2, PyQt version 5.7.0 ? I see the traceback in the console, but Leo doesn't crash. But thinking more clearly (not a morning person) I realize it must be heighten

Re: Graphcanvas crashes Leo

2016-10-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 22 Oct 2016 22:06:48 -0500 "'Terry Brown' via leo-editor" wrote: > On Sat, 22 Oct 2016 18:02:41 -0700 (PDT) > lewis wrote: > > > Can anyone confirm if they have the same issues running windows, > > Python 3.5.2, PyQt version 5.7.0 ? > &

Re: Graphcanvas crashes Leo

2016-10-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 22 Oct 2016 22:12:50 -0500 "'Terry Brown' via leo-editor" wrote: > On Sat, 22 Oct 2016 22:06:48 -0500 > "'Terry Brown' via leo-editor" wrote: > > > On Sat, 22 Oct 2016 18:02:41 -0700 (PDT) > > lewis wrote: > > &g

Re: Graphcanvas crashes Leo

2016-10-23 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 23 Oct 2016 14:27:19 -0700 (PDT) lewis wrote: > Pressing the 'Export' button (Export the graph as a PNG) crashes Leo. Gah, ok, try f78504f Cheers -Terry > Here is the traceback: > > *Git commit: ec8c3088Python 3.5.2, PyQt version 5.7.0Windows 10 AMD64 > (build 10.0.14393) SP0reading

Re: Graphcanvas crashes Leo

2016-10-24 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 24 Oct 2016 02:24:16 -0700 (PDT) lewis wrote: > Hi Terry, > > Good news, I successfully exported a PNG file, and more than once! > Your work on this plugin is appreciated. > For this test please note I have switched to a laptop running > PyQt5.6.0 > > However later when I used the 'Clea

Re: graph-toggle-autoload

2016-10-26 Thread &#x27;Terry Brown&#x27; via leo-editor
Just for same pageness, the intended use pattern is: You have a graph you want displayed when the outline's loaded. You select the "top" node, run 'graph-toggle-autoload', and you're done.  From now going forward, the graph anchored by the node you had selected will be loaded automatically.  It'

Re: graph-toggle-autoload

2016-10-29 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 28 Oct 2016 16:08:01 -0700 (PDT) lewis wrote: > Your use pattern is working fine and makes sense. It would be helpful > if some basic user guides were added to the Graphcanvas docstring. > And also for 'graph-toggle-autoload'. > Help-For-Command F11 reports ''no docstring available. I'v

Re: Leo as Personal Information Manager: multiple nodes in the body pane?

2016-11-04 Thread &#x27;Terry Brown&#x27; via leo-editor
I think this makes sense, and has been addressed a couple of times. First a terminology issue: the body pane edits the body of a node, what you're looking for is a pane which lets you edit the bodies (and maybe headlines) of multiple nodes at once, which would a pane with a different name, distin

Re: Proposal: Use the GitHub issue tracker instead of this forum

2016-11-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 6 Nov 2016 06:03:51 -0800 (PST) "Edward K. Ream" wrote: > On Sunday, November 6, 2016 at 8:01:53 AM UTC-6, Edward K. Ream wrote: > > Several high-profile projects now use GitHub their issue tracker for > *all* > > discussions. > > > > There are substantial benefits to doing so: > > >

Re: About viewrendered

2016-11-07 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 6 Nov 2016 20:19:54 -0800 (PST) Chris George wrote: > Just noticed this: I use python 3.5.2 constantly. I already knew that > PyQt 5.7 breaks viewrendered. Working on it a bit, so does PyQt 5.5.1. > > But 5.6 works just fine. > > Chris There's definitely some finicky stuff with the Py

Re: Proposal: Use the GitHub issue tracker instead of this forum

2016-11-08 Thread &#x27;Terry Brown&#x27; via leo-editor
Although I'd probably recommend Gmail on line in general for email management, I use Clawsmail, http://www.claws-mail.org/, which is fast and extensible. I added a button to let you write email in restructuredText, along with colored syntax highlighting via. Pygments.  A long time ago, I'd have u

Re: The coffeescript importer was broken recently

2016-11-09 Thread &#x27;Terry Brown&#x27; via leo-editor
> I'll be writing more about the new importers in an "info" github issue. > This issue probably should remain open indefinitely.​ If any of the concerns re GitHub being a private company that could start charging or whatever whenever eventuate, it's useful to think about git vs. GitHub add ons. A

Re: A new pattern for me: `s.isspace()` instead of `not s.strip()`

2016-11-11 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 11 Nov 2016 08:12:57 -0800 (PST) "Edward K. Ream" wrote: > On Thursday, November 10, 2016 at 12:48:28 PM UTC-6, Edward K. Ream > wrote: > > > > Up until today, I have always tested for an empty string using not > > s.strip(). But Doh, this is an unnecessary stress on the GC. > > `s.is

Re: A new pattern for me: `s.isspace()` instead of `not s.strip()`

2016-11-12 Thread &#x27;Terry Brown&#x27; via leo-editor
That tripped me up too, empty strings are OK if you're using 'not s.isspace()'. Cheers -Terry On November 12, 2016 11:10:50 AM CST, rengel wrote: > > >> Instead of testing: >>> >> >>if not ''.join(lines).strip(): >> >> the new code now tests: >> >> if all([z.isspace() for z in lines]):

Re: Python Anywhere

2016-11-14 Thread &#x27;Terry Brown&#x27; via leo-editor
As far as I know there's no "Qt in a browser window" stack. So if Flexx is a Python event callback style interface that renders in a browser, it could be a useful start.  Because it would allow the Python interpreter to be in one place (your home / office / cloud) and the browser to be wherever

Re: 97587a8: The new python importer is now active

2016-11-17 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 17 Nov 2016 11:10:20 -0800 (PST) "Edward K. Ream" wrote: > Rev 97587a8 leaves the python.v2 switch ON, which enables the new > line-oriented python importer. > > The code passes 30+ python-related unit tests, but bugs could still > lurk. Please report any problems immediately. Quick lo

Re: Why I don't use Leo more often

2016-11-18 Thread &#x27;Terry Brown&#x27; via leo-editor
I'd find a console interface really useful as well. I know about sshfs and that can help in some cases, but there are cases where Shell-in-a-box (web based shell client) is about a much access as you can usefully get, and then console Leo would be great (console apps. like nano and mc work, so i

Re: Distribution Environment

2016-11-22 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 22 Nov 2016 07:25:22 -0800 (PST) Chris George wrote: > Now running Python 3.5.2 and PyQt 5.6.0 and this is what I get. Poking at leoQt - guessing immediately before this traceback it said 'leoQt.py: can not fully import PyQt5.' ? It seems leoQt doesn't necessarily handle /partial/ fail

Re: The new markdown importer is ready for real testing

2016-11-26 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 26 Nov 2016 09:36:34 -0800 (PST) "Edward K. Ream" wrote: > Rev cc5b28b3 completes all planned work on the markdown importer, > including some subtle cases. Please report any problems immediately. Not sure if this work was related to my md bug report, but I'll try and test the new import

Re: where re-define default color? [was] how to setup Leo cursor size and highlight currently line?

2016-11-28 Thread &#x27;Terry Brown&#x27; via leo-editor
Try these settings: @color undefined_section_name_color = orange @color section_name_brackets_color = orange @bool underline_undefined_section_names = False Cheers -Terry From: Zoom.Quiet To: leo-editor@googlegroups.com Sent: Monday, November 28, 2016 1:56 PM Subject: Re: where re-def

<    2   3   4   5   6   7   8   9   >