Re: Leo Vue

2018-01-03 Thread Joe Orr
Edward, Thanks for the note, will be adding to the README soon, including an acknowledgement to you for making it all possible. Couple of notes about making a front end for Leo using web technologies: - I can make the tree look exactly like the current Leo interface with basically just CSS,

Re: Leo Vue

2018-01-03 Thread Joe Orr
Forgot to add, so far I haven't posted about Leo Vue anywhere but here because it was missing key features. The basic features are now complete so I'll be posting about it elsewhere in a few weeks. In meantime, if anyone has a bug report, that would be very helpful, the program isn't very well

Re: Rest easy

2018-01-03 Thread tscv11
Forget about the repository - it now refuses to let me log in, NO MATTER WHAT I DO: new pass doesn't work, old pass doesn't work, new username doesn't work, old username doesn't work, you get the idea. I guess my work is going to just flap in the wind or other people might run with it, leaving me

Re: Leo Vue

2018-01-03 Thread Joe Orr
Offray, Thanks for the kind words. About Electron, that is basically just node + browser in a package. I think should be doable to wrap Leo python code in node and have the browser interface, maybe using something like this: https://www.npmjs.com/package/node-python About other formats and

Re: Rest easy

2018-01-03 Thread tscv11
Hello Sir, I found a solution but then replied in the wrong thread! Basically I had to disable "import leo.core.leoGlobals as g" and put "App()" back where it had been. Don't know how much of a 'solution' that is, though. Maybe you can recommend a better way? Thanks! tsc Here's the new

Re: Rest easy

2018-01-03 Thread Terry Brown
On Wed, 3 Jan 2018 14:12:14 -0800 T C wrote: > Thank you for taking this on. > > When I dedent the function this is the error (it's either one or > the other, it would seem). Ok I see, in <> indent @others by four spaces then outdent all the child nodes under <> But also,

Re: cross-platform file references - how to deal with?

2018-01-03 Thread jkn
On Wednesday, September 6, 2017 at 5:01:58 PM UTC+1, Edward K. Ream wrote: > > On Wed, Sep 6, 2017 at 10:27 AM, john lunzer > wrote: > >> Would it be possible to to add {{sep}} as a shorthand for {{os.sep}} and >> {{getConfig()}} as a shorthand for {{c.config.getString()}}?

Re: Rest easy

2018-01-03 Thread Terry Brown
On Tue, 2 Jan 2018 21:31:39 -0800 (PST) tscv11 wrote: > I see that most of them are about 'c' being > undefined. Hmm, might be the way you're saving the file / running the file. If you save as an external script then pyflakes is just analyzing that file stand alone and

Re: Rest easy

2018-01-03 Thread T C
Okay, thank-you. I have created a githut repository (python .gitignore and MIT license - as I recall Leo uses the MIT license). Unfortunately I still can't seem to salvage my script. I had already tried the indentation stuff with @others and the functions, but I did it again to be sure. I moved

Re: Rest easy

2018-01-03 Thread Terry Brown
Just delete the whitespace at the beginning of that line? That seemed to clear the SyntaxError for me. Actually the whole node's over-indented, Ctrl-A Shift-Tab to move it all to the left. Also, as soon as you can, learn a version control system (VCS) like git / GitHub. Then you can just

Re: Rest easy

2018-01-03 Thread T C
Thank you for taking this on. When I dedent the function this is the error (it's either one or the other, it would seem). exception executing script AttributeError: 'App' object has no attribute 'pick_action' line 35: * line 36: self.pick_action() line 37:

Re: GitHub repository for leo4sqlite

2018-01-03 Thread Mike Hodson
Hello, I don't know your name, so I will just call you T. T, it seems you are using https://userstyles.org/styles/153180/google-groups-dark and somehow pasting the entire theme into the messages you are sending. Please reference the pasted actual-email-source at :

Re: Leo Vue

2018-01-03 Thread Chris George
I am on Day 2 of trying to get it to work on my system. It took over a week last time, but I have since installed a different Linux distribution. Today I finally got "npm run dev" to work without errors. Now to figure out what "Cannot GET /"means, :-( Chris On Wed, Jan 3, 2018 at 3:29 PM, Joe

Re: GitHub repository for leo4sqlite

2018-01-03 Thread tscv11
Doh! (he said sheepishly). This confuses me because I am not using (nor have I ever used) a dark theme. I confess I don't know where it's coming from. I saw nothing unusual in the post before posting. Hopefully the problem will be gone now - I'm being extra careful. Just let me know if this

Re: Jump to git diff from log

2018-01-03 Thread tscv11
I hope this isn't too out of place. I just want to ask how to use the gitarchive plugin. It crashes Leo with a perpetual loop when I try to use it. Thank you, tsc -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group

Re: Leo Vue

2018-01-03 Thread Offray Vladimir Luna Cárdenas
Joe, The web interface looks really great. I wonder if this could be the path for the visualization & services 2018 roadmap. The advantage of using a web interface as a rendering interface is that a lot of stuff is there ready to be used. Electron apps [1] has been discussed previously in this

Jump to git diff from log

2018-01-03 Thread Terry Brown
Leveraging the hyperlinks to specific lines from the log pane, here's a minimal @button script to jump the the changed parts of the current file, changed in the sense of git diff blocks. https://github.com/leo-editor/snippets/blob/master/buttons/changes.py It doesn't show you what the diff is,

Re: leo4sqlite & blobs

2018-01-03 Thread Offray Vladimir Luna Cárdenas
In Grafoscopio's[0] case, what we did was to store notebooks in STON format (kind of JSON for Smalltalk[1]) in a Fossil[2] repository with companion jpegs or other binary files. Fossil allows to store non-versioned binaries (like exported PDFs, where diff have not much sense) and all is stored in