Re: Minor problems with graphcanvas.py and possible fixes for them

2017-03-12 Thread 'Terry Brown' via leo-editor
On Sun, 12 Mar 2017 01:06:39 -0800 (PST) Pavel Balashov wrote: > If you don't mind, I would like to try and commit my changes using > git and GitHub - it will be a new experience for me! But I don't > know, whether I should do 2 separate pull requests or a single one > with

Re: Minor problems with graphcanvas.py and possible fixes for them

2017-03-11 Thread Terry Brown
P.s. my email's terrynbr...@gmail.com, can't work out why this email last hides my address. On March 11, 2017 7:53:30 PM CST, 'Terry Brown' via leo-editor <leo-editor@googlegroups.com> wrote: >On Sat, 11 Mar 2017 12:46:32 -0800 (PST) >Pavel Balashov <degt...@gmail.com>

Re: Minor problems with graphcanvas.py and possible fixes for them

2017-03-11 Thread 'Terry Brown' via leo-editor
On Sat, 11 Mar 2017 12:46:32 -0800 (PST) Pavel Balashov wrote: > Hello, > > recently I have started to use Leo editor for outlining my university > projects and I like it a lot. Also I was really excited about one of > its plugins, graphcanvas.py, and its ability to

Re: Proposed refactoring of @theme nodes in leoSettings.leo

2017-03-10 Thread Terry Brown
On Fri, 10 Mar 2017 02:26:41 -0800 (PST) "Edward K. Ream" wrote: > Note to Terry. You need not be concerned about this. The proposal > does not affect existing users of themes directly, except to clarify > the differences between themes. > > If there is a problem, we could

Re: #350: Themes are ready for serious testing

2017-03-09 Thread Terry Brown
[New email: I'm transitioning from my yahoo email to my gmail email, so this is the address I intend to use going forward.] These are just tangential comments: - I think it's bad form for themes to use @data qt-gui-user-style-sheet, that should be solely for the use of the user. Sure the user

Re: Proposal: simplify style sheets for Leo 5.6, or maybe 5.5b1

2017-03-07 Thread 'Terry Brown' via leo-editor
On Tue, 7 Mar 2017 15:19:20 -0800 (PST) "Edward K. Ream" wrote: > Maybe we can make the css comments do the heavy lifting, as you > suggest.  In that case, maybe not much new really is required. But it > must be a lot easier to discover and use than at present. I'm not

Re: Proposal: simplify style sheets for Leo 5.6, or maybe 5.5b1

2017-03-07 Thread 'Terry Brown' via leo-editor
On Tue, 7 Mar 2017 16:13:49 -0600 "Edward K. Ream" wrote: > The present (accurate) comment is the following: > > In order for theme settings to take effect, you may need to disable > > existing `@color` and `@data qt-gui-plugin-style-sheet` nodes in > > myLeoSettings.leo.

Re: Proposal: simplify style sheets for Leo 5.6, or maybe 5.5b1

2017-03-07 Thread 'Terry Brown' via leo-editor
To be honest I don't remember the motivation for supporting parsing values from comments in CSS.  The use of regular @settings nodes seems more Leonine to me.   But that also seems to require iterative substitution.  When the system was working, it supported both. Although I disagree with your

Re: Proposal: simplify style sheets for Leo 5.6, or maybe 5.5b1

2017-03-07 Thread 'Terry Brown' via leo-editor
-Terry From: 'Terry Brown' via leo-editor <leo-editor@googlegroups.com> To: "leo-editor@googlegroups.com" <leo-editor@googlegroups.com> Sent: Tuesday, March 7, 2017 1:02 PM Subject: Re: Proposal: simplify style sheets for Leo 5.6, or maybe 5.5b1 I would resist remov

Re: Proposal: simplify style sheets for Leo 5.6, or maybe 5.5b1

2017-03-07 Thread 'Terry Brown' via leo-editor
I would resist removing @setting expansion from stylesheets. It's a major pain maintaining CSS without such a mechanism. CSS3(?, maybe 2) has variables, but that doesn't help with Qt-CSS.If the @setting expansion is hard to understand, let's blame docs., comments, and code layout, not the

Re: #350: Themes are ready for serious testing

2017-03-07 Thread 'Terry Brown' via leo-editor
On March 7, 2017 6:06:59 AM CST, "Edward K. Ream" <edream...@gmail.com> wrote: >On Tue, Mar 7, 2017 at 5:39 AM, Edward K. Ream <edream...@gmail.com> >wrote: > >> >> On Mon, Mar 6, 2017 at 10:01 PM, 'Terry Brown' via leo-editor < >> leo-editor@go

Re: #350: Themes are ready for serious testing

2017-03-06 Thread 'Terry Brown' via leo-editor
On Sun, 5 Mar 2017 22:28:36 -0800 (PST) jon h wrote: > Hi > > It's only a couple of days since I started trying to use Leo. > Can't use it after dark until there's a dark theme working. :) > > On Sunday, 5 March 2017 21:55:43 UTC+10, lewis wrote: > > > > The ekr_dark theme

Re: Well Kent, your vision for Leo is becoming clearer

2017-03-06 Thread 'Terry Brown' via leo-editor
roups.com Sent: Monday, March 6, 2017 1:56 PM Subject: Re: Well Kent, your vision for Leo is becoming clearer On Mon, Mar 6, 2017 at 12:26 PM, 'Terry Brown' via leo-editor <leo-editor@googlegroups.com> wrote: Hi - I wouldn't discount SQLite either, DB wise, unless you need connect

Re: Well Kent, your vision for Leo is becoming clearer

2017-03-06 Thread 'Terry Brown' via leo-editor
Hi - I wouldn't discount SQLite either, DB wise, unless you need connect to a *remote* server capability, but for local work it's quite capable.  And a proper abstraction layer should make it possible to switch out the backend. Cheers -Terry From: Kent Tenney To:

Re: Proposed actions re: #350: themes not working as documented

2017-03-03 Thread 'Terry Brown' via leo-editor
The theme script you're referring to compiles a tree into a single stylesheet, is that correct? I might have referred to it as a button when in fact it was just a script that anyone editing a theme would probably convert to a button with the script-button button. It seems that using the theme

Re: Leo and abstraction

2017-03-03 Thread 'Terry Brown' via leo-editor
Well said.  When you think about it there are a number of features in Leo that allow personalized abstraction.  Organizer nodes are the simplest, but all the various methods for linking between distant parts of the tree are also helpful (backlinks, unls, bookmarks, tags, even clones ;-) Cheers

Re: Abbreviation default text

2017-02-28 Thread 'Terry Brown' via leo-editor
You could file an enhancement request, not sure how high the priority would be. Currently you can use to enter a blank value for the field, and  to keep the default value for the field (because right-arrow clears the selection range).  With your change you'd have to explicitly blank

Re: How to escape \n in abbreviations?

2017-02-28 Thread 'Terry Brown' via leo-editor
to escape \n in abbreviations? Yes, and I also tried '\n' and "\n" to no avail. Rob. On Tuesday, February 28, 2017 at 10:52:58 AM UTC-5, Terry Brown wrote: Sorry, didn't read carefully enough.  Have you tried \\n ? Cheers -Terry From: Largo84 <lar...@gmail.co

Re: How to escape \n in abbreviations?

2017-02-28 Thread 'Terry Brown' via leo-editor
ary 28, 2017 at 9:05:59 AM UTC-5, Terry Brown wrote: leo-editor/leo/config/ leoSettings.leo#@settings--> Abbreviations-->@data global-abbreviations illustrates this: # type html;; to insert template and ,, to select next <|placeholder|> html;;= \: \:<|title|> \: \: \: \:

Re: How to escape \n in abbreviations?

2017-02-28 Thread 'Terry Brown' via leo-editor
On Mon, 27 Feb 2017 22:45:40 -0800 (PST) Largo84 wrote: > Suppose I create an abbreviation for a LaTex construct such as: > > newcom;;=\newcommand{\SomethingNew}{<|INSERT-TEXT|>} > > When executed, the `\n` is interpreted as a Python line feed and I > end up with:

Re: Leo 5.5 will challenge org mode

2017-02-17 Thread 'Terry Brown' via leo-editor
> From: Edward K. Ream > To: leo-editor >  > Sent: Friday, February 17, 2017 1:21 PM> > Subject: Leo 5.5 will challenge org mode> > In another thread I wrote:> > > > Perhaps [ A Brief Summary of Leo] should be rewritten in the org-mode intro >

Re: commands to move to next file in 'file edit list'?

2017-02-16 Thread 'Terry Brown' via leo-editor
I think Ctrl-PgDn, Ctrl-PgUp also work, I think most web browsers use those? Cheers -Terry On Thursday, February 16, 2017 at 4:49:28 PM UTC, Edward K. Ream wrote: On Thu, Feb 16, 2017 at 5:43 AM, jkn wrote: If I have multiple files open in Leo, so multiple 'file tabs'

Re: Leo vs org mode

2017-02-16 Thread 'Terry Brown' via leo-editor
I guess I wonder which tasks can currently only be accomplished with org mode, and not Leo. I thought Leo had recently acquired support for multiple source languages?  Or are you talking about executing, not syntax highlighting? A good table editor would be nice, it should read/write from

Re: Leo's HOME directory

2017-02-15 Thread 'Terry Brown' via leo-editor
I think as a general rule with os.chdir()/os.getcwd() in Python apps. you can't assume its value, it's a single piece of state shared across the entire app. and all libraries, so really the best thing to do is not use it or rely on it. Your result is not surprising, Leo is setting it between

Re: Next-gen edit pane enabling org-mode and jupyter like experiences, and much more

2017-02-10 Thread 'Terry Brown' via leo-editor
Thanks for these thoughts. It might be possible to wrap 3-5 of the new editor panes in a vertical scrolling view such that they appear to be an endless series... interesting thought. Not sure if you use Windows or Unix, but for the latter the leoscreen plugin offers quite good integration with

Re: Warning: imp.reload hurts super and TDD

2017-02-10 Thread 'Terry Brown' via leo-editor
on. This could be as important a turning point for Leo as any, and would certainly align Leo in a completely forward facing direction, which I know is where you'd like to take Leo. On Thursday, February 9, 2017 at 2:29:35 PM UTC-5, Edward K. Ream wrote: On Thu, Feb 9, 2017 at 9:39 AM, 'Terry

Re: Warning: imp.reload hurts super and TDD

2017-02-09 Thread 'Terry Brown' via leo-editor
Ha, snap - I just ran into the the same issue with VR-4.  Initially using reload for faster development, then in the way the core module loads the view modules.  imp.load_module also acts as a reload.  Using reload for dev. aside, my problem was descending the markdown view module from the html

Re: using @first and not getting expected results

2017-02-07 Thread 'Terry Brown' via leo-editor
> is the #@@first supposed to be blank? Thanks for the workaround but yes it is > counterintuitive. It seems to me that having @first is the out of sequence > way of putting in first lines. Should I file a bug report? I think it's working as intended - not sure what the docs. say but my

Re: ENB: urls and pictures in the body pane

2017-02-05 Thread 'Terry Brown' via leo-editor
On Sun, 5 Feb 2017 02:16:15 -0800 (PST) "Edward K. Ream" wrote: > 1. I am thinking that what we really want is your (Terry's) new VR4 > widget, or whatever you call it. > > Do I remember correctly that this pane would allow both rendered and > "raw" views of text.  If so,

Re: ENB: urls and pictures in the body pane

2017-02-04 Thread 'Terry Brown' via leo-editor
On Sat, 4 Feb 2017 08:42:08 -0800 (PST) "Edward K. Ream" wrote: > Imo, images in the body pane are an essential ingredient for > emulating pyzo, org-mode or Jupyter cells. They are too important, > and way too cool, to forego. Not sure about pyzo and org-mode, but does

Re: ENB: urls and pictures in the body pane

2017-02-04 Thread 'Terry Brown' via leo-editor
On Sat, 4 Feb 2017 04:46:00 -0800 (PST) "Edward K. Ream" wrote: > On Saturday, February 4, 2017 at 6:37:11 AM UTC-6, Edward K. Ream > wrote: > I should emphasize that Leo reads and writes picture characters > without problem, because *picture characters are normal unicode

Re: ENB: urls and pictures in the body pane

2017-02-04 Thread 'Terry Brown' via leo-editor
On Sat, 4 Feb 2017 01:21:26 -0800 (PST) "Edward K. Ream" wrote: > The colorizer will replace the wikiview plugin. Issue #388 is moot, > and will be closed today. The wikiview plugin is deprecated, > effective immediately. In general I think this analysis is good, although

Re: weaving in colorized html, group review, and working remote systems

2017-02-03 Thread 'Terry Brown' via leo-editor
For collaborative code review, GitHub has line by line commenting capability per commit, I think. Cheers -Terry From: Eric S. Johansson To: leo-editor Sent: Friday, February 3, 2017 2:34 PM Subject: weaving in colorized html, group

Re: Is there a way to avoid conflicts with commit_timestamp.json?

2017-01-31 Thread 'Terry Brown' via leo-editor
The best way, although I think it requires action per clone of the repo., is to add commit_timestamp.json merge=ours in the .gitattributes file in the to level folder of the repo. (where .git lives, but not in .git). This just makes git use "ours" whenever there's a conflict.  It doesn't really

Re: The color branch has been merged into master

2017-01-30 Thread 'Terry Brown' via leo-editor
didn't work for me. Wouldn't I need to have a new copy of Leo different than my usual git repo? Lewis On Tuesday, January 31, 2017 at 3:26:27 AM UTC+11, Terry Brown wrote: Can you try running Leo like this: mkdir d:\scratch\delete\home set HOME=d:\scratch\delete\home python d:\local\leo-ed

Re: The color branch has been merged into master

2017-01-30 Thread 'Terry Brown' via leo-editor
Can you try running Leo like this: mkdir d:\scratch\delete\home set HOME=d:\scratch\delete\home python d:\local\leo-editor\launchLeo.py (with whatever path suits instead of d:\scratch\delete\home of course) that's how I launch when I want to see default behavior. For me for @language python

Re: The trunk should be stable again

2017-01-25 Thread 'Terry Brown' via leo-editor
Strange, not sure what's happening.  You could try: git checkout --theirs leo/test/unitTest.leo leo/core/leoColorizer.py leo/core/commit_timestamp.json then  git pull again, but that's a bit of a guess Cheers -Terry From: lewis To: leo-editor

Re: New Leo edit control

2017-01-24 Thread 'Terry Brown' via leo-editor
From: Edward K. Ream ​Good marketing.  And great work, Terry. Not sure how this will fit in with the pyzo widgets. Eventually I would like to use pyzo widgets so that we can have a border for use by the debugger.  Hmm. Iirc, pyzo uses scintilla, so maybe this is

Re: Python 3 -> 2 pickling problems with bigdash plugin

2017-01-24 Thread 'Terry Brown' via leo-editor
If rebuilding that DB was a major time consumption you wanted to avoid the Leo code could be modified to use two DB's, one for Py2 and one for Py3.  Beyond that, I don't think there's much alternative.  Don't imagine anyone wants to backport the new protocol to 2. Cheers -Terry From:

New Leo edit control

2017-01-23 Thread 'Terry Brown' via leo-editor
On Mon, 23 Jan 2017 13:40:48 -0600 "Edward K. Ream" wrote: > On Mon, Jan 23, 2017 at 11:42 AM, john lunzer > wrote: > > > Of the code editor's I've used code comparison is encouraged within > > a single running application, this allows for fancier things

Re: Cycling syntax highlighting

2017-01-21 Thread 'Terry Brown' via leo-editor
On Sat, 21 Jan 2017 15:42:48 -0600 "Edward K. Ream" <edream...@gmail.com> wrote: > On Sat, Jan 21, 2017 at 9:24 AM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > (from a GitHub discussion) > > > > If you use >

Cycling syntax highlighting

2017-01-21 Thread 'Terry Brown' via leo-editor
(from a GitHub discussion) If you use @language html css javascript the node will be highlighted as html the button code below cycles the @language line: @language html css javascript -> @language javascript html css -> @language css javascript html -> @language html css

Re: OT: What's a raspberry pi good for?

2017-01-21 Thread 'Terry Brown' via leo-editor
On Sat, 21 Jan 2017 04:57:24 -0600 "Edward K. Ream" wrote: > On Fri, Jan 20, 2017 at 9:02 AM, Edward K. Ream > wrote: > > > I was given a raspberry pi 3 for Christmas. It's still unopened. > > Anyone know a real use for it? > > > > ​Thanks for the

Re: OT: What's a raspberry pi good for?

2017-01-20 Thread 'Terry Brown' via leo-editor
On Fri, 20 Jan 2017 07:02:43 -0800 (PST) "Edward K. Ream" wrote: > I was given a raspberry pi 3 for Christmas. It's still unopened. > Anyone know a real use for it? > > Edward I have two, I was using one as a media player on the TV, until the TV died and got replaced with

Re: Leo and fossil

2017-01-17 Thread 'Terry Brown' via leo-editor
On Tue, 17 Jan 2017 10:32:18 -0500 Offray Vladimir Luna Cárdenas <off...@riseup.net> wrote: > Hi, > > > On 17/01/17 09:19, 'Terry Brown' via leo-editor wrote: > > On Tue, 17 Jan 2017 01:09:47 -0800 (PST) > > vitalije <vitali...@gmail.com> wrote: > >

Re: Leo and fossil

2017-01-17 Thread 'Terry Brown' via leo-editor
ssil. Seems the API would boil down to something like backend.snapshot_node(, ) backend.node_versions() # list version_ids of available versions backend.get_node(, ) with some details maybe re search by headline etc. Cheers -Terry > On Monday, January 16, 2017 at 5:25:22 PM UTC+1, Terry Brown wro

Re: Leo and fossil

2017-01-16 Thread 'Terry Brown' via leo-editor
On Mon, 16 Jan 2017 04:46:13 -0800 (PST) vitalije wrote: > On Monday, January 16, 2017 at 11:45:56 AM UTC+1, Edward K. Ream > wrote: > > > > So now I am more receptive to these ideas. I haven't followed the fossil discussion too closely, but I'd argue for, rather than

Re: Syntax coloring mystery solved!!

2017-01-15 Thread 'Terry Brown' via leo-editor
On Sun, 15 Jan 2017 06:18:53 -0500 "Edward K. Ream" wrote: > Terry, please test this branch for a day or so and report any > problems. I'll follow this with interest on my travels. If all seem > well, feel free to merge the branch. Initial look I'm not seeing anything but

Re: The fast-colorizing branch: a revolution in syntax coloring

2017-01-15 Thread 'Terry Brown' via leo-editor
On Sun, 15 Jan 2017 04:44:11 -0800 (PST) "Edward K. Ream" wrote: > On Sunday, January 15, 2017 at 6:53:32 AM UTC-5, Edward K. Ream wrote: > > *I have not tested this code with Python 2*. > > > > It turns out that colorizer.colorize *is* called, but only with > python 2.

Re: Syntax coloring mystery solved!!

2017-01-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Jan 2017 18:22:26 -0800 (PST) "Edward K. Ream" wrote: > Done, and pushed, I think. It's called fast-colorizing, rev > 2beba78b5. Let me know if the branch doesn't show up. This is my > first branch... Branch is there in the correct place. Safe travels. Cheers

Re: Syntax coloring mystery solved!!

2017-01-13 Thread 'Terry Brown' via leo-editor
Congrats on finding the culprit. Couple of things I'd like to see in Leo syntax highlighting, highlighting of trailing whitespace, and highlighting of  https://en.wikipedia.org/wiki/Non-breaking_space and also of tab (\t).  To be quite honest I've only made one foray into the syntax highlighting

Text wrapping in Leo

2017-01-12 Thread 'Terry Brown' via leo-editor
Here's the commit message for 05df9ac add @cmd justify-toggle-auto and @bool autojustify-on-at-start The @int autojustify behavior is very useful for writing prose (not code) when you want text wrapped at a particular column with a real newline, not just visually wrapped at the window edge. To be

Re: ENB: pyzo syntax coloring: progress and a big mystery

2017-01-12 Thread 'Terry Brown' via leo-editor
2. Are the proper QDocument and QTextEdit being used? The present prototyping code uses an instance of pyzo's CodeEditorBase as way of instantiating the pyzo's syntax colorer.  Maybe the highlighter must be attached to Leo's actual QTextEdit body widget. The pyzo colorizer uses QDocument to

Re: Leo's real weaknesses

2017-01-11 Thread 'Terry Brown' via leo-editor
From: Edward K. Ream <edream...@gmail.com> To: leo-editor <leo-editor@googlegroups.com> Sent: Wednesday, January 11, 2017 1:33 PM Subject: Re: Leo's real weaknesses On Wed, Jan 11, 2017 at 12:31 PM, 'Terry Brown' via leo-editor <leo-editor@googlegroups.com>

Re: Leo's real weaknesses

2017-01-11 Thread 'Terry Brown' via leo-editor
1. Using wrapper classes for text editing The present Qt gui is, iirc, Leo's fourth gui.  Two preceded Leo in python.  Previously, the python version of Leo used the much weaker Tk gui. The pyzo code shows just how big a price Leo has paid for the wrapper text abstraction layer.  Otoh,

Re: The design of Leo+Ipython+Jupyter+Lit-computing

2017-01-10 Thread 'Terry Brown' via leo-editor
Just for context, am I remembering correctly you wanted this for some sort of auto-save function, so an auto-save could happen without impacting the user's focus etc.?  Or if not that, at least some issue where you didn't want focus disrupted during a (timed?) save? Is there a GitHub issue for

Re: Hybrid @ type?

2017-01-04 Thread 'Terry Brown' via leo-editor
e that would be useful. Do you mind sharing the script? Rob. On Wednesday, January 4, 2017 at 11:48:25 AM UTC-5, Terry Brown wrote: Something I've done as a workaround is a script button to push headlines into body text when using @clean. So for a node "Discussion", if the f

Re: Hybrid @ type?

2017-01-04 Thread 'Terry Brown' via leo-editor
Something I've done as a workaround is a script button to push headlines into body text when using @clean. So for a node "Discussion", if the first line of the body starts with "# ", make it be "# Discussion", otherwise insert a line like that. Cheers -Terry From: Largo84

Re: Headline in body text?

2017-01-03 Thread 'Terry Brown' via leo-editor
On Tue, 3 Jan 2017 18:10:58 -0800 (PST) Ross Burnett wrote: > I am poking around in the LeoDocs.leo file, and the *Leo 5.4 /* *Bugs > fixed* children have some headlines that are longer than fit in the > default-sized outline window. For example: > Fixed #289: Leo crashes

Re: Bookmarks pane disappears

2016-12-26 Thread 'Terry Brown' via leo-editor
On Mon, 26 Dec 2016 19:30:11 -0600 "'Terry Brown' via leo-editor" <leo-editor@googlegroups.com> wrote: > But there's nothing that can be done to fix it retrospectively, Python > 2 can't depickle protocols higher than 2, But... we could write Python 3 code to recursively c

Re: Bookmarks pane disappears

2016-12-26 Thread 'Terry Brown' via leo-editor
On Mon, 26 Dec 2016 10:51:41 -0600 "'Terry Brown' via leo-editor" <leo-editor@googlegroups.com> wrote: [snip] > I think I need to poke around a bit more to confirm that it is changes > in the association of c.db with the same outline between versions of > Python th

Re: Bookmarks pane disappears

2016-12-26 Thread 'Terry Brown' via leo-editor
On Mon, 26 Dec 2016 05:40:47 -0800 (PST) lewis wrote: > It isn't enough to Alt-X: bookmarks-show. The bookmarks reload in new > pane but if you close the leo file, you are prompted to save, and the > bookmarks settings are not saved. > The file reloads as if no changes

Re: Bookmarks pane disappears

2016-12-25 Thread 'Terry Brown' via leo-editor
On Sun, 25 Dec 2016 13:55:56 -0800 (PST) lewis wrote: > Hi Terry, > > I recently switched from python 3.5.2/PyQt5 v5.7.0 to python > 2.7.13/PyQt4 and noticed that my bookmarks pane no longer displays. > Do I have to somehow reactivate the bookmark pane? Yes, if you

Re: Terry, how do you alias @ nodes in headlines?

2016-12-21 Thread 'Terry Brown' via leo-editor
On Wed, 21 Dec 2016 03:17:44 -0800 (PST) "Edward K. Ream" wrote: > Iirc, this is a plugin, but I can't seem to find it. This relates to > #351 , which I > have just closed. > > Edward Here's what I just posted as a

Re: Org Mode File - Node sorted by time stamp

2016-12-20 Thread 'Terry Brown' via leo-editor
header. Thanks for the encouragement - If I get a working solution I'll let you know! IH On Tuesday, 20 December 2016 16:21:48 UTC, Terry Brown wrote: Ok, I haven't used org mode import. Seems like you wouldn't want the timestamps in the header, all you'd see in the tree view would be the timestamp

IGNORE: address test

2016-12-20 Thread 'Terry Brown' via leo-editor
Sorry about this test (which your supposed to be ignoring ;-) - trying to get my email address to show up on posts to this list so it my posts are like everyone else's and I don't get Cc'ed on replies all the time. I've looked for the setting causing this behavior before, and failed to find it.

Re: Backlink plugin questions

2016-12-20 Thread 'Terry Brown' via leo-editor
:36 AM UTC-5, Terry Brown wrote: I think all the things you pointed out are fixed in https://github.com/leo-editor/ leo-editor/commit/bf397a6e let me know if that seem to be the case, or not. Cheers -Terry From: Largo84 <lar...@gmail.com> To: leo-editor <leo-e...@googlegroups

Re: Org Mode File - Node sorted by time stamp

2016-12-20 Thread 'Terry Brown' via leo-editor
it would require digging out these scheduled times and maybe writing them into the header which would then make it easy to sort the nodes. Anyway thanks for your attention.IH On Tuesday, 20 December 2016 15:07:39 UTC, Terry Brown wrote: Depends what you mean by timestamps.  If you mean a piece of

Re: Backlink plugin questions

2016-12-20 Thread 'Terry Brown' via leo-editor
r 20, 2016 8:29 AM Subject: Re: Backlink plugin questions Thanks, Terry. While you're at it, can you see why the links don't show up right away until after refreshing, leaving the node and then coming back? On Tuesday, December 20, 2016 at 8:08:58 AM UTC-5, Terry Brown wrote: I'd call it a bu

Re: Org Mode File - Node sorted by time stamp

2016-12-20 Thread 'Terry Brown' via leo-editor
Depends what you mean by timestamps.  If you mean a piece of text in the header, one of the Outline -> Sort commands should work. If you mean sort by the internal "gnx" ID attribute of the nodes, which contains timestamp information, I don't think there's a command to actually re-order nodes on

Re: Backlink plugin questions

2016-12-20 Thread 'Terry Brown' via leo-editor
On Tue, 20 Dec 2016 02:04:53 -0800 (PST) Largo84 wrote: > 1) I am using the backlink plugin more now and find that if I create > links between nodes, the .leo file is not marked 'dirty', so the > links don't survive if I close the file and reopen (unless I > explicitly save

Re: leo stalling for long periods

2016-12-16 Thread 'Terry Brown' via leo-editor
Sounds like a challenge, cross platform wise etc. A unix command like `df -l` (disk free local) seems to know. But there are so many ways non-local files can be mounted, sshfs, Windows shares, etc. Cheers -Terry From: Edward K. Ream To: leo-editor

Re: leo stalling for long periods

2016-12-14 Thread 'Terry Brown' via leo-editor
Looking around a bit more, looks like you can disable those file checks with @bool check_for_changed_external_files = False in @settings, I see I have that set to False on the machine where the checkswere causing trouble for me, try that and see if it helps. Cheers -Terry From: Curtis

Re: leo stalling for long periods

2016-12-14 Thread 'Terry Brown' via leo-editor
If the nodes are small and it worked before, it's probably not size related - I was thinking of syntax highlighting, but that's probably not it. Are any of the files you're working with non-local, i.e. on network file systems?  I've had trouble with that, and I think Leo started scanning loaded

Re: Theme Problems

2016-12-13 Thread 'Terry Brown' via leo-editor
You're right, themes seem to have been completely nerfed. ekr_dark_theme has a @data node, but it doesn't seem to work. At one point there was infrastructure to build the @data node from a Leonine tree outline of the theme. I'll try and have a look at it. Cheers -Terry On Tue, 13 Dec 2016

Re: leo stalling for long periods

2016-12-13 Thread 'Terry Brown' via leo-editor
On Mon, 12 Dec 2016 10:56:28 -0800 (PST) Curtis Carlsen wrote: > I downloaded the new code base to try out the new importers. (Leo > 5.4, december 8th) > > I am seeing extended stalling of different parts of the program, > where everything freezes and the program does

Re: Is it possible to suppress a section reference?

2016-12-09 Thread 'Terry Brown' via leo-editor
echo >> out.txt <> out.txt both untested guesses. Cheers -Terry From: Phil To: leo-editor Sent: Friday, December 9, 2016 11:35 AM Subject: Is it possible to suppress a section reference? I have a shell script that contains the

Re: Traveling to Florida

2016-12-09 Thread 'Terry Brown' via leo-editor
Have a great trip, heading for daytime highs in the 20s C / 70s F, leaving behind highs of -10 C / 10 F, can't imagine why you do it :-) Cheers -Terry From: Edward K. Ream To: leo-editor Sent: Thursday, December 8, 2016 5:37 PM

Re: Exception running Markdown_Importer

2016-12-09 Thread 'Terry Brown' via leo-editor
Just an observation, I'm using markdown quite a bit at the moment and not seeing that problem with Leo 5.4, build 20161208140632, Thu, Dec 08, 2016  2:06:32 PM Git repo info: branch = master, commit = 91bb3a5c8ef7Python 2.7.5, PyQt version 4.8.5Windows 7 AMD64 (build 6.1.7601) SP1 so you must be

Re: is there a command to turn off visual display of changes and then turn them back on?

2016-12-08 Thread 'Terry Brown' via leo-editor
My guess is using position methods is the way to go(*).  I think there's something about the way people come to Leo scripting that leads them down the  c.k.simulateCommand path, but I'm not really sure that's intentionally.  My feeling is that c.k.simulateCommand is best for occasional limited

Re: --diff: Leo as an external git diff

2016-12-07 Thread 'Terry Brown' via leo-editor
Check out Meld (http://meldmerge.org/) as well, it's pretty good.  Side by side text view. Cheers -Terry From: Edward K. Ream To: leo-editor Sent: Wednesday, December 7, 2016 10:33 AM Subject: Re: --diff: Leo as an external git diff

Clones - what are they good for?

2016-12-06 Thread 'Terry Brown' via leo-editor
(How I feel about clones, YMMV) Clones are really really good for creating task specific views of code, by gathering together all the nodes relevant to a particular development task, so you don't have to constantly scroll up and down the outline to get to the relevant pieces.  "Code" could be a

Re: uA's as OrderedDict

2016-12-02 Thread 'Terry Brown' via leo-editor
On Fri, 2 Dec 2016 05:04:55 -0800 (PST) Josef wrote: > On second thought, I realize, only the inner dict needs to be an > OrderedDict, and it is the plugin itself which is responsible for > that - so no need to change the uA implementation. Do you just want the plugin to

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

2016-11-28 Thread 'Terry Brown' 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

Re: The new markdown importer is ready for real testing

2016-11-26 Thread 'Terry Brown' 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

Re: Distribution Environment

2016-11-22 Thread 'Terry Brown' 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

Re: Why I don't use Leo more often

2016-11-18 Thread 'Terry Brown' 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

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

2016-11-17 Thread 'Terry Brown' 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

Re: Python Anywhere

2016-11-14 Thread 'Terry Brown' 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: A new pattern for me: `s.isspace()` instead of `not s.strip()`

2016-11-12 Thread 'Terry Brown' 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

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

2016-11-11 Thread 'Terry Brown' 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

Re: The coffeescript importer was broken recently

2016-11-09 Thread 'Terry Brown' 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.

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

2016-11-08 Thread 'Terry Brown' 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

Re: About viewrendered

2016-11-07 Thread 'Terry Brown' 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

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

2016-11-06 Thread 'Terry Brown' 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

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

2016-11-04 Thread 'Terry Brown' 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,

Re: graph-toggle-autoload

2016-10-29 Thread 'Terry Brown' via leo-editor
ommand F11 reports ''no docstring available. I've documented 'graph-toggle-autoload' in the plugin and command doc strings. Cheers -Terry > Lewis > > On Thursday, 27 October 2016 09:30:35 UTC+11, Terry Brown wrote: > > > > > > How well does it seem to perform using

Re: graph-toggle-autoload

2016-10-26 Thread 'Terry Brown' 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.  

Re: Graphcanvas crashes Leo

2016-10-24 Thread 'Terry Brown' via leo-editor
lugins\graphcanvas.py", line 1341, in > clearFormatting* > *item.bg.setBrush(QtGui.QBrush(QtGui.QColor(200,240,200)))* > *AttributeError: 'QGraphicsPixmapItem' object has no attribute > 'setBrush'* > > Later I will repeat the testing back on my win10 desktop and report

Re: Graphcanvas crashes Leo

2016-10-23 Thread 'Terry Brown' 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 >

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