Re: Announcing Leo University

2018-03-15 Thread Matt Wilkie
> > Leo University is a series of github issues labeled LeoU > > . > Great idea! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe

Re: OT: A better way to code, by Mike Bostock

2018-03-15 Thread Matt Wilkie
> I'm continually in awe of Mike Bostock's work, c.f. Data Driven Documents ( > d3.org). ... > should have been https://d3js.org/ -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it,

Re: OT: A better way to code, by Mike Bostock

2018-03-15 Thread Matt Wilkie
> ​I'm wary of flashy demos that don't actually involve programming. > Wariness on the internet is justified! Here's the real thing: https://beta.observablehq.com/ matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this

Re: Responses to PyDev of the week questionnaire

2018-03-15 Thread Matt Wilkie
> + 1024 ;-) > Nice. Wish I thought of that! I'll try this instead: +3.14 in honour of international Pi day yesterday, which coincided with passing of intellectual giant Stephen Hawking at age 76 and Albert Einstein's birthday. matt -- You received this message because you are

Re: Difference between drag and drop and copy-paste a node

2018-03-15 Thread Terry Brown
On Thu, 15 Mar 2018 22:06:45 -0400 Gerard Piette wrote: > I tried to create a new leo doc with a simplified structure with > similar nodes, and cannot reproduce the problem.  As a matter of > fact, dragging and dropping a node does not create a duplicate, it > just moves

Difference between drag and drop and copy-paste a node

2018-03-15 Thread Gerard Piette
Hello I have a leo outline that has an headline with a @clean directive and whose headline body  contains this: @language txt @tabwidth -4 @encoding iso-8859-1 Comité des communications @others The text of the other node names and node text contains accented French letters.

Re: Font settings are not honored

2018-03-15 Thread Chris George
That is strange. The "i" lights up with an underline for me. There doesn't appear to be anything special about the menu item. Chris On Thu, Mar 15, 2018 at 4:56 PM, Xavier G. Domingo (xgid) wrote: >> Is it persistent or does it clear when you close then open the file? > >

Re: Font settings are not honored

2018-03-15 Thread Xavier G. Domingo (xgid)
> > Is it persistent or does it clear when you close then open the file? > OK, it clears when I close then open again the file. So these are good news. Thaks for your help! > When you press Alt it should underline the shortcut. You can also run > Alt-x, reload-style-sheets from the

Re: Font settings are not honored

2018-03-15 Thread Chris George
On Thursday, March 15, 2018 at 1:45:20 PM UTC-7, Xavier G. Domingo (xgid) wrote: > > Thanks Chris. FYI, this *kind of* worked for me, except for the rendering > of the body pane: > > >

Re: Font settings are not honored

2018-03-15 Thread Xavier G. Domingo (xgid)
Thanks Chris. FYI, this *kind of* worked for me, except for the rendering of the body pane: In fact the body pane was also

Re: Font settings are not honored

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 1:58 PM, rengel wrote: Just what is the 'entire @theme tree'? > ​For a settings file, it's the @theme tree in that file.​ ​There may be other settings in the @settings tree, but you should not copy them. Edward -- You received this

Re: Font settings are not honored

2018-03-15 Thread Terry Brown
On Thu, 15 Mar 2018 12:28:30 -0700 (PDT) Chris George wrote: > To change fonts sizes, open @theme Breeze Dark-->Settings for Leo > Breeze Dark-->Fonts & text sizes and you can change font sizes for > the three panes. I haven't abstracted the "default" font size that >

Re: Font settings are not honored

2018-03-15 Thread Chris George
Part of each theme are the images. You can either pull the latest Leo (git clone https://github.com/leo-editor/leo-editor.git) and checkout the devel branch or you can place these two images in the folder ../leo/themes/dark. Chris On Thursday, March 15, 2018 at 12:28:31 PM UTC-7, Chris

Re: Font settings are not honored

2018-03-15 Thread Chris George
Part of each theme are the images. You can either pull the latest Leo (git clone https://github.com/leo-editor/leo-editor.git) and checkout the devel branch or you can place these two images in the folder ../leo/themes/dark. Chris On Thursday, March 15, 2018 at 12:28:31 PM UTC-7, Chris

Re: Font settings are not honored

2018-03-15 Thread Chris George
Theming machinery is currently in flux. To change fonts sizes, open @theme Breeze Dark-->Settings for Leo Breeze Dark-->Fonts & text sizes and you can change font sizes for the three panes. I haven't abstracted the "default" font size that applies to a few things yet, but when I do font sizes

Re: Font settings are not honored

2018-03-15 Thread Chris George
In the Leo file are three top level nodes; Read me, Tests, and @settings. Open @settings. The first child is the theme. Select @theme Breeze Dark Theme. Ctrl-Shift-C to copy the node. Go into your myLeoSettings.leo file and Ctrl-Shift-V to paste the node. Use Shift-Arrow keys to position this

Re: Font settings are not honored

2018-03-15 Thread rengel
Figured it out. For anybody interested: Open 'Breeze Dark Theme.leo' in Leo. Copy the node '@theme Breeze Dark'. Open 'myLeoSettings.leo'. Paste the node as the

Re: Font settings are not honored

2018-03-15 Thread rengel
On Thursday, March 15, 2018 at 1:33:12 PM UTC+1, Edward K. Ream wrote: > > > > On Thu, Mar 15, 2018 at 4:23 AM, rengel > wrote: > >> >> What would be the correct storage place and syntax? >> > > ​At present you have to copy the entire @theme tree to the end of your >

Announcing Leo University

2018-03-15 Thread Edward K. Ream
Leo University is a series of github issues labeled LeoU . The summary issue contains links to all lessons. Lesson1: think process, not

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 10:38 AM, Terry Brown wrote: > > Not sure if it's relevant anywhere here, but we have also run into > problems with the way Cython uses system libraries to get cwd info. > which may translate /home/tbrown/leo to /mnt/usr1/t/leo etc. whether > you

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 10:31 AM, Chris George wrote: "Be careful, though, because the path is relative to the CWD > at runtime, > which the user might change." > ​That's why final stylesheet should/must use full,

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Chris George
I just restarted Leo. Now I have the transparent icons. But only from ~/dark, not ../leo/Icons/dark or ../le/themes/dark. I changed nothing. I barely

Re: New Log Tabs

2018-03-15 Thread Chris George
I haven't even loaded that branch, ever. Maybe I should. :-) Chris On Thursday, March 15, 2018 at 8:31:51 AM UTC-7, Terry Brown wrote: > > On Thu, 15 Mar 2018 08:21:30 -0700 (PDT) > Chris George wrote: > > > < >

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Terry Brown
On Thu, 15 Mar 2018 08:31:23 -0700 (PDT) Chris George wrote: > This may be relevant: > https://stackoverflow.com/questions/26121737/qt-stylesheet-background-image-from-filepath > > "Be careful, though, because the path is relative to the CWD >

Re: New Log Tabs

2018-03-15 Thread Terry Brown
On Thu, 15 Mar 2018 08:21:30 -0700 (PDT) Chris George wrote: > > It gets better. > > Now I have three log tabs in the same file. Odd

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Chris George
This may be relevant: https://stackoverflow.com/questions/26121737/qt-stylesheet-background-image-from-filepath "Be careful, though, because the path is relative to the CWD at runtime, which the user might change." So I would test

Re: New Log Tabs

2018-03-15 Thread Chris George
It gets better. Now I have three log tabs in the same file. Chris On Thursday, March 15, 2018 at 8:09:31 AM UTC-7, Edward K. Ream wrote: > > > > On Thu, Mar

Re: New Log Tabs

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 8:20 AM, Chris George wrote: ​I haven't seen exactly this. I have seen instances where the tree pane had a largish (1/2 inch) dead area to the *right* of the right scrollbar. Edward -- You received this message because you are subscribed to the

Re: Bookmarks plugin - crashes loading layout

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 6:29 AM, lewis wrote: > Yes, I was able to reload my saved bookmark layouts. Nothing lost. > ​Whew! So glad to hear it. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 7:45 AM, Edward K. Ream wrote: > > Contrary to your statement in #808, the recommended css is: > ​Sorry, I was confused. In #808 talk about other css. You say: This is the Leo recommended css to add an image to the background.

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Chris George
After two days of dark tree boxes, the white ones (default Qt) boxes are back in Breeze Dark, even with ~/dark. Chris On Thursday, March 15, 2018 at 5:45:21 AM UTC-7, Edward K. Ream wrote: > > On Thu, Mar 15, 2018 at 7:34 AM, Chris George > wrote: > >> Then let's get

Re: Bookmarks plugin - crashes loading layout

2018-03-15 Thread Terry Brown
On Thu, 15 Mar 2018 01:30:39 -0700 (PDT) "Edward K. Ream" wrote: > Are you able to recover your bookmarks? Selecting the top node of the bookmarks subtree and executing `bookmarks-show` should suffice (possibly opening a second bookmarks pane, but that's a one time thing).

New Log Tabs

2018-03-15 Thread Chris George
Leo Log Window Leo 5.8 devel, build 20180307231313, Wed Mar 7 23:13:13 PST 2018 Git repo info: branch = devel, commit = 8f87f3cc6a72 Python 3.6.4, PyQt version 5.10.0 linux isPython3: True caching enabled I start Leo and the log widget looks like it always has. It displays all of the

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 7:34 AM, Chris George wrote: > Then let's get busy. > > Why don't we start with #808? I have essentially hit the wall with > theming until it is resolved. > ​Ok. I'll look into this first. It's more of a bug than a "learning opportunity", but

Re: Font settings are not honored

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 7:24 AM, lewis wrote: Am I supposed to delete the old @theme nodes > ​It suffices to ignore them: @ignore @theme whatever. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Chris George
Then let's get busy. Why don't we start with #808? I have essentially hit the wall with theming until it is resolved. Chris On Wed, Mar 14, 2018 at 11:59 PM, Edward K. Ream wrote: > > > On Wed, Mar 14, 2018 at 5:04 PM, Chris George wrote: >> >> I

Re: Font settings are not honored

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 4:23 AM, rengel wrote: > > What would be the correct storage place and syntax? > ​At present you have to copy the entire @theme tree to the end of your @settings tree. I am presently working on ways of incorporating themes using paths to

Re: Font settings are not honored

2018-03-15 Thread lewis
I must admit I am not clear on how to apply a theme in Leo, and would appreciate some guidance. My current myLeoSettings file has several theme nodes filled with loads of settings, stylesheets and optional icons. One theme is active and working. I want to have a clean slate for the new theme

Re: Bookmarks plugin - crashes loading layout

2018-03-15 Thread lewis
Yes, I was able to reload my saved bookmark layouts. Nothing lost. Thanks Lewis -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Font settings are not honored

2018-03-15 Thread rengel
Thanks for answering! BTW, that's my first time trying to use a theme with Leo. What would be the correct storage place and syntax? I stored the themes file to \python-3.6\Lib\site-packages\leo\themes\Breeze Dark Theme.leo In myLeoSettings.leo, I tried: @theme Breeze Dark @theme Breeze Dark

Re: Bookmarks plugin - crashes loading layout

2018-03-15 Thread Edward K. Ream
On Thursday, March 15, 2018 at 2:36:15 AM UTC-5, Edward K. Ream wrote: > I have just created #812: g.glob_glob may have broken bookmarks/urls/unls on Windows

Re: OT: A better way to code, by Mike Bostock

2018-03-15 Thread Edward K. Ream
On Wed, Mar 14, 2018 at 11:02 AM, Matt Wilkie wrote: > I'm continually in awe of Mike Bostock's work, c.f. Data Driven Documents ( > d3.org). Impressive as that is, it's his power to clearly explain data, > visualization and programming in cohesive bundle that transforms my >

Re: Bookmarks plugin - crashes loading layout

2018-03-15 Thread Edward K. Ream
On Thu, Mar 15, 2018 at 12:25 AM, lewis wrote: > After a recent commit 8ab89ca6f5a1, my bookmarks failed to display. > ​Drat. This rev replaces glob.glob with g.glob_glob. However, there are no direct calls to glob in the bookmarks plugin. ​ > I right-clicked over a

Re: Lots of 404 errors on leoeditor.com

2018-03-15 Thread Edward K. Ream
On Wed, Mar 14, 2018 at 8:08 PM, drmikecrowe wrote: > I'm not so sure about that Edward, I used this to get those dead links: > > wget --spider -r -nd -nv -l 10 -w 2 -o leoeditor.log http://leoeditor.com > > > then > > grep -B1 'broken link!' leoeditor.log > > > Those

Re: Please consider becoming a Leo dev, even if you aren't a programmer

2018-03-15 Thread Edward K. Ream
On Wed, Mar 14, 2018 at 5:04 PM, Chris George wrote: > I want to write a plugin. > > If you're going to have more than one student, may I recommend a > creating a Slack workspace? > ​Why not just use github issues with, say, a "student" label? We already have "a place for