Re: How good Leo handles settings?

2017-06-29 Thread Terry Brown
Hey Vitalije, what are you working on exactly? Not wanting to duplicate any effort and wondering if you're working on the sqlite settings idea or something else, and if you have any thoughts on the sqlite approach separating file specific settings from the file they apply to, vs. the current

Re: How good Leo handles settings?

2017-06-29 Thread Terry Brown
ing weight ... > the 'fname' one would allow specifying settings for a file without > touching it, > which strikes me as kind of cool. > > Maybe that's what is accomplished by the 'parent' and 'outline' > fields, if so, please ignore this. > > On Wed, Jun 28, 2017 at 3

Re: How good Leo handles settings?

2017-06-28 Thread Terry Brown
On Wed, 28 Jun 2017 12:48:06 -0700 (PDT) vitalije wrote: > > ​I would be happy with that, provided that a) settings can be > > organized > >> and b) per-document (.leo file) settings are possible.​ ​ The best > >> way of organizing anything is in a .leo file.​ > > > As I

Re: How good Leo handles settings?

2017-06-28 Thread Terry Brown
On Wed, 28 Jun 2017 13:25:39 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Wed, Jun 28, 2017 at 12:05 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > On Wed, 28 Jun 2017 06:39:41 -0700 (PDT) > > The success of the current > >

Re: How good Leo handles settings?

2017-06-28 Thread Terry Brown
On Wed, 28 Jun 2017 12:10:27 -0500 Offray Vladimir Luna Cárdenas wrote: > Using Pharo Smalltalk I have experienced a similar feeling about a > direct live system where changes are reflected immediately without > any reload. Years ago someone showed me the Squeak Smalltalk

Re: How good Leo handles settings?

2017-06-28 Thread Terry Brown
On Wed, 28 Jun 2017 06:39:41 -0700 (PDT) "Edward K. Ream" wrote: > 1. Clarity and simplicity of *purpose*. > 2. Stability and simplicity of *user interface*, including gui and > scripting api. > 3. Simplicity of *code*. [snip] > In this discussion, the first two

Re: I've stoped *saying* all tests pass in commit messages

2017-06-28 Thread Terry Brown
On Wed, 28 Jun 2017 07:55:41 -0700 (PDT) "Edward K. Ream" wrote: > But in fact, I run all unit tests before virtually every commit. All > other devs should too. Here are the fails I get from d1608d30. I always forget to run unit tests before making changes, so I have to

Re: How good Leo handles settings?

2017-06-27 Thread Terry Brown
On Tue, 27 Jun 2017 11:27:27 -0500 "Edward K. Ream" wrote: > > But a large part of the proposal's benefit is in the non-UI > > simplification of @settings loading. > > ​How does that help new users?​ That's the problem with this proposal, it's so overloaded with benefits

Re: How good Leo handles settings?

2017-06-27 Thread Terry Brown
On Tue, 27 Jun 2017 06:54:30 -0700 (PDT) "Edward K. Ream" <edream...@gmail.com> wrote: > On Tuesday, June 27, 2017 at 7:58:02 AM UTC-5, Terry Brown wrote: > > My interpretation of the proposal was a replacement of all @settings > > trees, not simply caching.

Re: How good Leo handles settings?

2017-06-27 Thread Terry Brown
On Tue, 27 Jun 2017 05:33:15 -0500 "Edward K. Ream" wrote: > > On Mon, Jun 26, 2017 at 11:21 AM, vitalije > > wrote: > > What would be the benefits if Leo configuration code use database to > > store and retrieve settings​[?]​ > > ​An interesting

Re: How good Leo handles settings?

2017-06-26 Thread Terry Brown
On Mon, 26 Jun 2017 09:21:46 -0700 (PDT) vitalije wrote: > As I have mention in other thread I have some ideas about how can be > improved Leo code that deals with the configuration and user settings. Very interesting analysis. I've had similar experiences in the init.

Re: quicksearch.py should not bind Ctrl-Shift-F

2017-06-26 Thread Terry Brown
On Sat, 24 Jun 2017 10:46:52 -0700 (PDT) "Edward K. Ream" wrote: > On Saturday, June 24, 2017 at 12:39:57 PM UTC-5, Edward K. Ream wrote: > > > > At present, install_qt_quicksearch_tab binds Ctrl-Shift-F to > > ind-quick-selected. > > > > Imo, plugins should never make such

Re: Cross-file links

2017-06-20 Thread Terry Brown
On Tue, 20 Jun 2017 13:12:05 -0700 (PDT) Largo84 wrote: > I take it this isn't the way it works now? When I try this, it > appends the ##Text to the URL making it an invalid link. Ok, try a5409116d - not heavily tested, but seems to work, let me know. Cheers -Terry >

Re: Cross-file links

2017-06-20 Thread Terry Brown
On Tue, 20 Jun 2017 13:12:05 -0700 (PDT) Largo84 wrote: > I take it this isn't the way it works now? When I try this, it > appends the ##Text to the URL making it an invalid link. Not yet :-} Cheers -Terry > Rob.. > > On Tuesday, June 20, 2017 at 2:49:51 PM UTC-4,

Re: Cross-file links

2017-06-20 Thread Terry Brown
e target file, it should use the node name in the source file as the descriptive text for the reverse link. Sound reasonable? Cheers -Terry > Rob. > > On Monday, June 19, 2017 at 5:26:45 PM UTC-4, Terry Brown wrote: > > > > > > Sure, I usually run backlinks i

Re: ENB: Severe problems switching between git branches

2017-06-20 Thread Terry Brown
I'm not sure refresh - from - disk is immune to these problems. Nothing specific, sorry, but I feel like I've seen it so some of the headline / recovered node type stuff. Not sure though. Surely it uses a lot of the same read code? Perhaps assessing the differences between @ types is

Re: Cross-file links

2017-06-19 Thread Terry Brown
On Mon, 19 Jun 2017 14:07:33 -0700 (PDT) Largo84 wrote: > For URLs (http://and https://) links, is there a way to edit the > string in the Links tab to be either more descriptive or eliminated > altogether? A few examples to illustrate the point: > > http://leoeditor.com/ >

Re: Rev 42135f: toggle-at-auto-at-edit command

2017-06-19 Thread Terry Brown
toggle-at-auto-at-edit = F5 Cheers -Terry > but that didn't do it. > > Thanks, > Kent > > On Sun, Jun 18, 2017 at 10:33 AM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > On Sun, 18 Jun 2017 02:15:27 -0700 (PDT) > > "Edward K. Ream"

Re: Cross-file links

2017-06-18 Thread Terry Brown
o to the other outline and do the link to URL / UNL bit. Cheers -Terry > Rob... > > On Sunday, June 18, 2017 at 11:13:38 AM UTC-4, Terry Brown wrote: > > > > > > > > How are you generating the UNL that you link to? It's best to just > > enter something

Re: Rev 42135f: toggle-at-auto-at-edit command

2017-06-18 Thread Terry Brown
On Sun, 18 Jun 2017 02:15:27 -0700 (PDT) "Edward K. Ream" wrote: > This completes #482 > , one of the > Ashland items. This command is surprisingly useful. It toggles > between a flattened view (@edit) and an outline

Re: Cross-file links

2017-06-18 Thread Terry Brown
On Sat, 17 Jun 2017 10:36:46 -0700 (PDT) Largo84 wrote: > Also, if I link a UNL to another .leo file node, I get the following > in the linked file log pane: > > Partial UNL match > No perfect match, not creating backlink How are you generating the UNL that you link to?

Re: Cross-file links

2017-06-18 Thread Terry Brown
On Sat, 17 Jun 2017 07:44:36 -0700 (PDT) Largo84 wrote: > I get some errors when I click on certain nodes that already had some > kind of link already (not exactly sure what). Maybe this helps: > > hook failed: select3, 0x0A208F28>>, leo.plugins.backlink > Traceback

Re: Aha/Doh! Recovered nodes are the the desired outline diffs

2017-06-15 Thread Terry Brown
On Thu, 15 Jun 2017 06:17:43 -0700 (PDT) "Edward K. Ream" wrote: > Of course, all this assumes that there will be a way to make > gitpython easily available. > > Perhaps there is an easier way of getting the job done? Any ideas? You're aware of

Re: ENB: Running all unit tests with a string gui

2017-06-13 Thread Terry Brown
On Tue, 13 Jun 2017 14:15:23 -0500 "Edward K. Ream" wrote: [snip] > ​This is a strong argument. So a branch is best practice when a > reversion is possible, or when an unrelated change must be made. > Neither is true just yet. Perhaps later today ;-) > > I dislike branches

Yes / no to all on external file changes

2017-06-13 Thread Terry Brown
https://github.com/leo-editor/leo-editor/commit/9c94fec36d adds Yes / no to all on external file changes. Its approach is maybe a little odd, but very self contained. I.e. if you answer yes to all or no to all that answer is remembered for 3 seconds, with the timer being reset for each file

Re: ENB: Running all unit tests with a string gui

2017-06-13 Thread Terry Brown
On Tue, 13 Jun 2017 09:40:53 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, June 13, 2017 at 8:59:33 AM UTC-5, Edward K. Ream wrote: > > > This is a highly experimental project. Just disabling redraws > > causes lots of tests to fail. It remains to be seen whether using

Re: ENB: Running all unit tests with a string gui

2017-06-13 Thread Terry Brown
String gui - sounds promising for multiple reasons. - A lot of my work's on plugins, which aren't really covered by unit tests. But when I do want to run unit tests, it's a hassle because usually 10ish fail on my system from master, i.e. before testing my changes. So I have to commit,

Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-08 Thread Terry Brown
On Thu, 8 Jun 2017 10:23:06 -0700 (PDT) "Edward K. Ream" wrote: > On Thursday, June 8, 2017 at 7:53:50 AM UTC-5, Edward K. Ream wrote: > > *Warning*: no prompt is made if you quit (Ctrl-Q, etc.) with unsaved > > changes. I'll fix this today. It involves getting npyscreen >

Re: on_key event issue

2017-06-05 Thread Terry Brown
On Mon, 5 Jun 2017 18:54:03 -0700 (PDT) Adrian Calvin wrote: > I have a very simple event handler for the on_key event: > > def on_key(kind, keywords): > print(keywords) > > > g.registerHandler("bodykey2", on_key) > > IT captures "true" chars just fine (e.g.

Re: Cross-file links

2017-06-04 Thread Terry Brown
dering; > would it benefit to put in an enhancement request on a specific > plugin like this? Doesn't hurt, makes it easier to keep track - you can assign it to me (tbnorth) if you create one. Cheers -Terry > Rob.. > > On Sunday, June 4, 2017 at 9:27:36 PM UTC-4, Terry Brown wrote: &g

Re: Embedding your own custom Widget

2017-06-04 Thread Terry Brown
On Sun, 4 Jun 2017 15:20:04 -0700 (PDT) Adrian Calvin wrote: > OK, I figured out how to embed my new widget manually into the main > layout. But I am confused as to how to make it load automatically > into the layout. Not sure if you're familiar with the pane layout

Re: Cross-file links

2017-06-04 Thread Terry Brown
On Sun, 4 Jun 2017 12:42:10 -0700 (PDT) Largo84 wrote: [snip] > Are there any technical, design or practical reasons why the > backlinks plugin is limited to 'internal' links? I thought about Sort of. The backlinks plugin uses GNXs (node IDs) for persistence. I think - I

Re: Additional Plugin Dirs

2017-06-03 Thread Terry Brown
s long as the dir's on the Python path. Cheers -Terry > On Sat, Jun 3, 2017 at 2:34 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > On Sat, 3 Jun 2017 05:52:07 -0500 > > "Edward K. Ream" <edream...@gmail.com> wrote: > > > > > On Fri,

Re: Additional Plugin Dirs

2017-06-03 Thread Terry Brown
On Sat, 3 Jun 2017 05:52:07 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Fri, Jun 2, 2017 at 9:44 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > On Fri, 2 Jun 2017 16:41:27 -0700 (PDT) > > Adrian Calvin <developer.adr...@gma

Re: Additional Plugin Dirs

2017-06-02 Thread Terry Brown
On Fri, 2 Jun 2017 16:41:27 -0700 (PDT) Adrian Calvin wrote: > Is there a way to add additional plugin directories to leo just as > one might add additional paths to python? Yes. I think, from memory, the rule for plugins named in @enabled-plugins is that foo.py

Re: Cross-file links

2017-06-02 Thread Terry Brown
On Fri, 2 Jun 2017 07:56:31 -0700 (PDT) Largo84 wrote: > I use the backlinks plugin which works well to create links to other > nodes *within* a single .leo file. However, it won't create links to > nodes in other .leo files. The bookmarks plugin doesn't really do > what I

Re: Is it a bug of Nav

2017-05-29 Thread Terry Brown
media.org/wikipedia/commons/a/a5/Enter.png (the red one, not the green one) Cheers -Terry > 在 2017年5月30日星期二 UTC+8上午9:47:34,Terry Brown写道: > > > > On Mon, 29 May 2017 18:44:06 -0700 (PDT) > > huliuhe <hul...@gmail.com > wrote: > > > > > < > >

Re: Are multiple cursors and selections suported in the body pane?

2017-05-29 Thread Terry Brown
On Mon, 29 May 2017 17:56:13 -0700 (PDT) Robert Cholette wrote: > Hello, > > Back from not using leo for many years, > > After using the multiple cursor/selection that other popular editors > offer (often made available by CTRL+clicking), I'm wondering if Leo > now

Re: Is it a bug of Nav

2017-05-29 Thread Terry Brown
On Mon, 29 May 2017 18:44:06 -0700 (PDT) huliuhe wrote: > > not body text ? It normally searches body text, but only after you hit enter. Before

Re: Python 3 Debug Version can't run Leo-Editor

2017-05-27 Thread Terry Brown
I think I've seen something like this, strange startup issues. One thing to try, use --no-splash, but I think there might be more to it than that. Cheers -Terry On Sat, 27 May 2017 16:21:38 -0700 (PDT) SegundoBob wrote: > I'm trying to run Leo-Editor with the Python 3

Re: Outline Font Settings

2017-05-24 Thread Terry Brown
On Wed, 24 May 2017 16:25:27 -0700 (PDT) Adrian Calvin wrote: > This seems to be a PyQT issue, and not a leo issue. Later versions of > PyQT, in my case 5.8 have this problem, whereas 5.6 did not. > > In addition I was running the standard python 3.6 distro with 5.8

Re: Climbing the learning curve and other things I'm puzzled about

2017-05-24 Thread Terry Brown
On Wed, 24 May 2017 11:51:31 -0500 "Edward K. Ream" wrote: > On Wed, May 24, 2017 at 9:25 AM, Eric S. Johansson > wrote: > > why are doc strings preferred to@doc/@code pairing​? > > ​​Because ​docstrings are preferred to comments in python. >   >

Re: #480: GitHub pages now hosts a *copy* of Leo's web site

2017-05-24 Thread Terry Brown
On Wed, 24 May 2017 01:55:51 -0700 (PDT) Joe Orr wrote: > Edward, > > Now that leo-editor is https it is possible to point to pages on the > site and have them appear in the content view of a node. But now that > I'm looking at the leo-editor site again, I'm not sure what to

Re: New Idea: Encrypted Nodes

2017-05-23 Thread Terry Brown
On Mon, 22 May 2017 20:45:35 -0700 Chris George wrote: > Check out the stickynote plugin. It has some support for encryption. > > I am not sure of its status at the moment though. It has been some > time since I looked at it. It's working ok - being what I use for my

Re: New Idea: Encrypted Nodes

2017-05-22 Thread Terry Brown
On Mon, 22 May 2017 20:13:13 -0700 (PDT) Phaze wrote: > The absence of this feature is the only thing that is preventing me > from using leo as a password store This feature exists in the stickynotes plugin. It only works if the PyCrypto library is installed

Re: process node, output to node and a quick settings question

2017-05-22 Thread Terry Brown
On Mon, 22 May 2017 16:33:22 -0700 (PDT) Lang Hurst wrote: > Quick settings question first: Where is the setting to make leo open > with the last opened file? I am sure that I've looked at it in my > searches, but I can't seem to find it. The bigger issue is this: > > I

Re: Curses gui progress report

2017-05-22 Thread Terry Brown
On Mon, 22 May 2017 08:00:12 -0700 (PDT) "Edward K. Ream" wrote: > *Important warning*This project is entering its* most dangerous* > phase users. The possiblity for data loss is large. This is a direct > consequence of the progress that is being made. I assume this risk is

Re: ANN: vs-eval-block

2017-05-17 Thread Terry Brown
On Wed, 17 May 2017 06:28:50 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Tue, May 16, 2017 at 9:38 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > Another "live code" option for Leo. I've added a vs-eval-block > > c

ANN: vs-eval-block

2017-05-16 Thread Terry Brown
Another "live code" option for Leo. I've added a vs-eval-block command, in the valuespace.py plugin. vs-eval-block - In the body, "# >>>" marks the end of a code block, and "# <<<" marks the end of an output block. E.g.:: a = 2 # >>> 4 # <<< b = 2.0*a # >>>

Re: Possible to have node contain the results of a command?

2017-05-15 Thread Terry Brown
On Sun, 14 May 2017 14:15:25 -0700 Lang Hurst wrote: > I have two nodes that I run a `diff -y` on and use the results in a > document. It would be cool to be able to include the node in my > document outline and have the results of the command show up and skip > a couple

Re: Leo as wiki replacement

2017-05-12 Thread Terry Brown
On Fri, 12 May 2017 11:11:03 -0700 (PDT) Lang Hurst wrote: > Hello. I just spent a few days looking at Leo after seeing a post of > Mr. Reams on the npyscreen group. Leo looks pretty damn cool. The > problem is I don't do much coding anymore. I mostly just use vimwiki > to

Re: Unexected difficulties "remembering" toggle-split-direction

2017-05-10 Thread Terry Brown
nd no problem, but a layout might include other panes (todo interface, graph editor, movie viewer) that are klunky to throw up just because you're trying to cycle from horizontal to vertical. Cheers -Terry > Just a thought for creating a simple/unified layout interface. > > On Tuesday, M

Re: Unexected difficulties "remembering" toggle-split-direction

2017-05-09 Thread Terry Brown
On Tue, 9 May 2017 12:21:30 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, May 9, 2017 at 2:09:25 PM UTC-5, Edward K. Ream wrote: > > > I have just updated #483: Remember toggle-split-direction > . I want to > repeat

Re: #480: GitHub pages now hosts a *copy* of Leo's web site

2017-05-09 Thread Terry Brown
On Tue, 9 May 2017 06:43:25 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, May 9, 2017 at 5:18:47 AM UTC-5, Edward K. Ream wrote: > > GitHub pages now hosts a *copy* of Leo's > web > > site at: https://leo-editor.github.io/leo-editor/. The

Re: #480: GitHub pages now hosts a *copy* of Leo's web site

2017-05-09 Thread Terry Brown
On Tue, 9 May 2017 03:18:47 -0700 (PDT) "Edward K. Ream" wrote: > GitHub pages now hosts a *copy* of Leo's > web site at: https://leo-editor.github.io/leo-editor/. The next step > will be to point leo-editor.com at the url above. I'll contact my

Re: Curses gui progress report

2017-05-07 Thread Terry Brown
On Sun, 7 May 2017 18:02:24 -0700 (PDT) "Edward K. Ream" wrote: > On Wednesday, May 3, 2017 at 2:30:44 PM UTC-5, Edward K. Ream wrote: > > > > The attached is a screen shot. It demonstrates the present layout. > > Almost nothing is functional. > > > > Here is a new screen

Re: what a pane

2017-05-03 Thread Terry Brown
On Wed, 3 May 2017 07:32:28 -0700 (PDT) tscv11 wrote: > The interesting part is when I try the same thing with the last pane > (the Tree pane). With the Tree pane selected (and using the same > commands) the* render pane* expands or contracts! This is not the > behavior I

Re: .leo <=> .db3

2017-05-03 Thread Terry Brown
On Wed, 3 May 2017 04:16:50 -0700 (PDT) tscv11 wrote: > So now I have my work cut out for me. I'm very open to > hearing suggestions or requests regarding a possible > sqlite3 plugin for Leo (my basic idea is to create a read/write > relationship between db3 files and Leo

Re: can not load enabled plugin: leo.plugins.xml_edit

2017-05-02 Thread Terry Brown
On Tue, 2 May 2017 19:14:45 -0700 (PDT) tscv11 wrote: > ImportError: No module named 'lxml' > loadOnePlugin: can not load enabled plugin: leo.plugins.xml_edit Ah, you need to install lxml, which is backed by a C library. In Ubuntu, sudo apt install python-lxml or

Re: Sqlite3 .db3 file import change

2017-05-02 Thread Terry Brown
On Tue, 2 May 2017 13:53:37 -0700 (PDT) tscv11 wrote: > Sorry, I forgot to answer your question in my other post. > > I am just importing an ".db3" sqlite3 database file with > File->Read/Write->Read file into node. > > Hope that helps. Hmm, SQLite files are binary and I

Re: Sqlite3 .db3 file import change

2017-05-02 Thread Terry Brown
On Tue, 2 May 2017 11:52:30 -0700 (PDT) tscv11 wrote: > Hello, > > I have written my first Leo-specific application (it helps me > keep a database of habitual activities and automates simple > calculations, like Day, Month and Year Totals and Averages). > So now I've

Re: Bookmarks plugin - user guide and setup

2017-04-28 Thread Terry Brown
On Fri, 28 Apr 2017 17:20:23 -0700 (PDT) lewis wrote: > Hi Terry, > > Regarding these steps when setting up bookmarks: > - click [Action] and click [bookmarks] > - a blank bookmarks pane will appear > [snip] > Arranging your bookmarks pane > - Improve the position of

Re: Proposed new bindings for indent/unindent region

2017-04-27 Thread Terry Brown
On Thu, 27 Apr 2017 10:14:15 -0700 (PDT) "Edward K. Ream" wrote: > At present, tab and shift tab are (in essence) bound to indent-region > and unindent-region, but *only* if there is selected text. > Otherwise, tab inserts a tab and shift-tab does nothing. > > It would be

Re: Notes from the Ashland get together

2017-04-24 Thread Terry Brown
On Mon, 24 Apr 2017 13:52:20 -0700 (PDT) "Edward K. Ream" wrote: > Terry talked about a new command: bookmark-find-flattened (bff), > similar to cff. Imo, this would be a serious alternative to cff > provided that a standard outline-view of bookmarks replaced the > present

Re: Changed outline font-size not honoured?

2017-04-24 Thread Terry Brown
On Mon, 24 Apr 2017 01:10:55 -0700 (PDT) rengel wrote: > I just installed Leo 5.5 and tried to change the font-sizes of the > outline, the log, and the body panes. > To do that, I copied the 'Appearance' node of the settings into > mySettings.leo and changed

Re: 82b919e: revised xml/html importers

2017-04-23 Thread Terry Brown
On Sun, 23 Apr 2017 06:25:11 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Sat, Apr 22, 2017 at 10:25 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > On Sat, 22 Apr 2017 16:41:40 -0700 (PDT) > > Joe Orr <joe@gmail.com> wrote:

Re: 82b919e: revised xml/html importers

2017-04-22 Thread Terry Brown
On Sat, 22 Apr 2017 16:41:40 -0700 (PDT) Joe Orr wrote: > Probably a dumb question, but how do I convert this file to Leo > format: https://www.ibiblio.org/xml/examples/shakespeare/lear.xml > > I tried the import entry on the file menu, that didn't seem to work. What do you

Re: ENB: Curses prototype: phase 2 design and process

2017-04-20 Thread Terry Brown
On Thu, 20 Apr 2017 17:24:19 -0500 "Edward K. Ream" wrote: > On Thu, Apr 20, 2017 at 11:31 AM, Kent Tenney > wrote: > > > possibly logging would help? > > https://pypi.python.org/pypi/devpy > > > > ​I doubt it. The solution, imo, is to use pudb (linux)

Re: Where have you been? Stuck at the command line.

2017-04-19 Thread Terry Brown
On Tue, 18 Apr 2017 05:17:56 -0700 (PDT) john lunzer wrote: > I will investigate sshfs and the sftp plugin. Given my two levels of > SSH I'm not sure if either would be workable but I will check. Not sure if you've looked into ssh's port forwarding capabilities, but that will

Re: Where have you been? Stuck at the command line.

2017-04-18 Thread Terry Brown
On Tue, 18 Apr 2017 05:06:08 -0700 (PDT) john lunzer wrote: > I think if I *were* going to try to coerce you into anything it would > be in reviewing the boundary between Leo's core and Leo's Qt > interface to ensure that it is fully generic/decoupled so that it > becomes as

Re: Where have you been? Stuck at the command line.

2017-04-17 Thread 'Terry Brown' via leo-editor
On Mon, 17 Apr 2017 12:16:46 -0700 (PDT) john lunzer wrote: > I'm not trying to manipulate anyone into somehow getting Leo onto the > command line. If you can manipulate someone into doing this, please do ;-) I'd love to have command line Leo too. I work on marginal

Re: Plans to fix bugs

2017-04-14 Thread 'Terry Brown' via leo-editor
On Fri, 14 Apr 2017 09:52:58 -0700 (PDT) "Edward K. Ream" wrote: > This page > > > lists 6 bugs that I'd

Re: leo-editor-contrib on GitHub

2017-04-10 Thread Terry Brown
On Mon, 10 Apr 2017 07:29:36 -0700 (PDT) Largo84 wrote: > Would it be appropriate to add example .leo files to this repo > (such as my > Leo->LaTex->PDF workflow examples or lists of abbreviations)? There > isn't any recent

Re: Ideas for writing for Word (or similar)

2017-04-07 Thread Terry Brown
On Fri, 7 Apr 2017 11:42:57 -0700 (PDT) Largo84 wrote: > Much of my client work in Leo is creating LaTex documents (eventually > to PDFs). I also use markdown and/or RST for my own purposes. These > tools work very well for me. > > However. I have a very large client project

Re: How to install pyEnchant w/ Anaconda on Windows?

2017-04-06 Thread 'Terry Brown' via leo-editor
On Thu, 6 Apr 2017 09:49:39 -0700 (PDT) Largo84 wrote: > Just now setting up a new machine and I thought I would try the > Anaconda route (Win10). So far so good, at least getting Leo to run. > However, I can't figure out how to install the pyEnchant package. I > intentionally

Re: How do you organize your Leo projects?

2017-04-05 Thread 'Terry Brown' via leo-editor
On Wed, 5 Apr 2017 06:48:42 -0700 (PDT) Phil wrote: [single vs. multiple .leo files] > I am wondering how others manage this. I use a hybrid approach. One .leo file at work with @path nodes for git repos. of different projects. I avoid clones, but there's enough

Re: Turning to documentation

2017-04-02 Thread 'Terry Brown' via leo-editor
On Sun, 2 Apr 2017 18:23:07 -0700 (PDT) Joe Orr wrote: > Not sure I'm following this discussion completely, maybe I should > post a new thread... > > Anyway, I'm planning on adding presentations to Leo Viewer at some > point using this: https://github.com/hakimel/reveal.js/

Re: OT: Time for a Linux laptop

2017-04-02 Thread Terry Brown
On Sun, 2 Apr 2017 05:46:28 -0400 Mike Hodson wrote: > And, when the food is provided free from the office, I tend to eat > it. For optimum performance you should really be drinking beer or something and aiming for the Ballmer Peak: https://xkcd.com/323/ Cheers -Terry --

Re: I've declared war on fit and finish problems :-)

2017-03-28 Thread 'Terry Brown' via leo-editor
On Tue, 28 Mar 2017 10:05:14 -0700 (PDT) "Edward K. Ream" wrote: > The new focus code is the opening shots in this war. I want Leo to be > work *perfectly*. > > The challenge is to have fit and finish problems rise to full > consciousness while I am working on other things.

Re: Thought experiments

2017-03-24 Thread 'Terry Brown' via leo-editor
On Fri, 24 Mar 2017 06:36:13 -0500 "Edward K. Ream" wrote: I'm not sure if I understood Lewis's post or not. I wonder if it was a humorous way of pointing out that Leo already has solutions to most of the actual problems / workflows that these other tools address. Different

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
iewer descending from one of the HTML viewers. Possibly also a markdown-html viewer which shows you the HTML for markdown, can't remember. > Thanks, > Kent > > On Thu, Mar 23, 2017 at 11:26 AM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > >

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 11:07:25 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Thu, Mar 23, 2017 at 10:49 AM, Edward K. Ream <edream...@gmail.com> > wrote: > > > On Thu, Mar 23, 2017 at 10:30 AM, 'Terry Brown' via leo-editor < > > leo-editor@g

Re: arrhg, nuance is an idiot!

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 08:46:27 -0700 (PDT) "Eric S. Johansson" <ynotlayab...@gmail.com> wrote: > On Thursday, March 23, 2017 at 10:47:46 AM UTC-4, Terry Brown wrote: > > > > It might, but it also might be hard to get that route to work, and > &g

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 09:53:56 -0500 "Edward K. Ream" wrote: > Is there code I can look at? And I'll try to remember to call them > EP's :-) The code is in the branch https://github.com/tbnorth/leo-dev-tbnorth/tree/leo_edit_pane but I'd ask you to hold off on any

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 03:31:05 -0500 "Edward K. Ream" wrote: > ​After further thought, I see that the problem with the Pub/Sub​ > > ​pattern is that it isn't a good fit for multiple body panes. > Indeed, only one body pane, the presently selected pane, should > "respond" to a

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread 'Terry Brown' via leo-editor
On Wed, 22 Mar 2017 10:37:15 -0500 "Edward K. Ream" wrote: > > I think Leo will become much more powerful / flexible when it has > > multiple node editor components that are free to act on different > > parts of the tree. > > ​Yes.  I was just thinking that a

Re: Leo and abstraction

2017-03-21 Thread Terry Brown
On Tue, 21 Mar 2017 10:31:33 -0500 "Edward K. Ream" wrote: > I used to think that coffeescript might be a good enough wrapper for > javascript, but having seen d3 and the agile visualization demos, I > think the only way to use javascript is via a package.  There just >

Re: What are your favorite abbreviations?

2017-03-19 Thread 'Terry Brown' via leo-editor
On Mon, 20 Feb 2017 04:54:36 -0800 (PST) "Edward K. Ream" wrote: > Here is a new one for me. To get #408's url I type bug;;409 > > bug;;=https://github.com/leo-editor/leo-editor/issues/ > > The abbrevs I use the most are: > > alp;;=@language python\n > alr;;=@language

Re: Solved - Outline pane font size

2017-03-18 Thread 'Terry Brown' via leo-editor
On Sat, 18 Mar 2017 05:43:54 -0700 (PDT) "Edward K. Ream" wrote: > The recent problems with Qt5.8 have confused everyone. The Qt people > seem not to care enough about compatibility. My bug report was moved from "Unevaluated" to "Somewhat important". I would hope it would

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-16 Thread 'Terry Brown' via leo-editor
On Thu, 16 Mar 2017 07:49:03 -0500 "'Terry Brown' via leo-editor" <leo-editor@googlegroups.com> wrote: > I'll start with the Qt people. https://bugreports.qt.io/browse/QTBUG-59533 -- You received this message because you are subscribed to the Google Groups "leo-edito

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-16 Thread 'Terry Brown' via leo-editor
On Thu, 16 Mar 2017 05:13:24 -0500 "Edward K. Ream" wrote: > On Thu, Mar 16, 2017 at 4:44 AM, Edward K. Ream > wrote: > > ​It looks like removing tildes has broken background highlighting in > the status area. > > ​Rev 383484 restores leoSettings.leo

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-15 Thread Terry Brown
On Wed, 15 Mar 2017 18:00:57 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Wed, Mar 15, 2017 at 4:19 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > > Note that that will break styles where the style_class property is > > more

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-15 Thread Terry Brown
Note that that will break styles where the style_class property is more than one identifier. E.g. "minibuffer error" as opposed to "minibuffer". Some of these things won't be easy to see in a quick spot check. Some of these things change dynamically at run time. Border highlighting might be an

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-15 Thread Terry Brown
P.s. depending on how significant the loss of the tilde function turns out to be, best workaround might be to replace tildes at runtime while we wait for what seems to be a Qt bug to be fixed. It may be something more subtle, like a change in style sheet specificity rules involving tildes.

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-15 Thread Terry Brown
On March 15, 2017 10:02:42 AM CDT, "Edward K. Ream" wrote: >On Wed, Mar 15, 2017 at 4:56 AM, alacnorr >wrote: > >> Many thanks, Milan, >> you are spot on: eliminating the tildes does indeed fix the problem. >> > >​Alright. I shall eliminate

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-15 Thread Terry Brown
p.s. search http://doc.qt.io/qt-5.8/stylesheet-syntax.html for ~, it seems like it should still work. Cheers -Terry On Wed, 15 Mar 2017 07:02:17 -0500 Terry Brown <terrynbr...@gmail.com> wrote: > On Wed, 15 Mar 2017 01:18:35 -0700 (PDT) > Milan Melena <milan.mel...@gmail.com>

Re: PyQt 5.8 changes stylesheet interpretation

2017-03-15 Thread Terry Brown
means "contains". Cheers -Terry > When you try replace all occurences of "~=" with "=" in stylesheet, > everything seems work right even in PyQ 5.8. > > Milan Melena > > Dne středa 15. března 2017 3:39:22 UTC+1 Terry Brown napsal(a): >

PyQt 5.8 changes stylesheet interpretation

2017-03-14 Thread 'Terry Brown' via leo-editor
Just confirmed in a Windows 7 VM switching back and forth between PyQt 5.7.1 and 5.8 (Python 3 for both) that stylesheets that work fine in 5.7.1 (my personal one, and EKR Windows Dark) have issues in PyQt 5.8. My backgrounds are ok, but font sizes are wrong. EKR Dark had light backgrounds and

Re: Document the behaviour of the 'dark' theme in my Windows 10 environment

2017-03-14 Thread Terry Brown
I wonder about Qt 5.8, haven't had a chance to try it yet. This is new: Qt Style Sheets can now optionally let widgets inherit font and palette from their parents. but that was for 5.7. Is anyone noticing theme differences between 5.8 and earlier versions? Might be a red herring.

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 08:43:56 -0700 (PDT) Pavel Balashov wrote: > Terry, thank you for the explanation. I have already created a branch > and a pull request just for the zoom problem, so I will create a > separate branch for the layout problem. But next time I will follow >

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