Re: Command To Run External File

2023-02-21 Thread Thomas Passin
Thanks for testing! I was surprised by all the terminals available, too. On my Mint virtual machine ( I have lightly annotated the responses): tom@tom-VirtualBox:~$ find /usr/bin -name *term -type f /usr/bin/setterm # Not a terminal - controls terminal properties /usr/bin/xterm

Re: Command To Run External File

2023-02-20 Thread Thomas Passin
That's a good idea! I think a setting would be the Leonine way to do it. When I convert this into a Leo command, I'll look at making it happen. On Monday, February 20, 2023 at 7:06:26 PM UTC-5 SegundoBob wrote: > Thomas Passin, > > Your fix passes all my tests. > > You s

Re: Command To Run External File

2023-02-20 Thread Thomas Passin
@mike, that was a good diagnosis. When Leo is not run from a terminal (in Linux), the process space does not include a terminal and the shell may not even be the same shell (e.g., *sh* instead of *bash*) as one might expect. I have revised the terminal-finding code for Linux to try several

Re: Command To Run External File

2023-02-20 Thread Thomas Passin
Oh, I understand now. Thank you. I'll see what can be done. On Monday, February 20, 2023 at 8:09:22 AM UTC-5 SegundoBob wrote: > On 2/19/23 18:25, Thomas Passin wrote: > > " but it does not work when I use the file browser Thunar to open the > > Leo-editor file". I

Re: Command To Run External File

2023-02-19 Thread Thomas Passin
" but it does not work when I use the file browser Thunar to open the Leo-editor file". I don't understand what you mean here, @SegundoBob. The intended use is to select - within Leo - a node in an external file, and have it run in (or get launched by) a terminal. How does the file

Re: Command To Run External File

2023-02-19 Thread Thomas Passin
Thanks, I'd appreciate it. On Sunday, February 19, 2023 at 12:38:04 PM UTC-5 jkn wrote: > sorry, I have installed it but not tried it. I'll give it a go this week > > On Sunday, February 19, 2023 at 2:27:15 AM UTC tbp1...@gmail.com wrote: > >> If nobody complains about it in another week, I'll

Re: Command To Run External File

2023-02-18 Thread Thomas Passin
If nobody complains about it in another week, I'll package it up as a new Leo command. On Monday, February 6, 2023 at 4:15:40 AM UTC-5 jkn wrote: > I'll give it a try (kubuntu linux, mainly) and let you know what I find... > > On Monday, February 6, 2023 at 6:18:42 AM UTC tbp1...@gmail.com

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-18 Thread Thomas Passin
at 11:45:05 AM UTC-5 Edward K. Ream wrote: > On Fri, Feb 17, 2023 at 5:00 PM Thomas Passin wrote: > >> Here is a script so you can see if you like the effect of having a >> non-monospaced font for non-code bodies. > > > Thanks, Thomas, for this work. PR #3150 > <

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-17 Thread Thomas Passin
ud = g.user_dict ud['alt_body_font_proc'] = set_alt_body_font g.registerHandler('select3', ud['alt_body_font_proc']) On Friday, February 17, 2023 at 6:00:48 PM UTC-5 Thomas Passin wrote: Here is a script so you can see if you like the effect of having a non-monospaced font for non-code bo

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-17 Thread Thomas Passin
Here is a script so you can see if you like the effect of having a non-monospaced font for non-code bodies. It only works for @language rest nodes. Copy the script below into a node in your workbook. Run it with CTRL-B. After that, any time you switch to an *@language rest* node, it will

Re: Feature to upgrade leoInteg and vscode

2023-02-16 Thread Thomas Passin
And done ... On Thursday, February 16, 2023 at 8:47:57 AM UTC-5 Edward K. Ream wrote: > On Thu, Feb 16, 2023 at 12:31 AM Félix wrote: > >> If you feel like it and have 5 seconds of free time, I would recommend >> upvoting this vscode feature request, which could benefit leoInteg and >> leojs

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-15 Thread Thomas Passin
The only place the jEdit colorizer does anything about fonts is this: def getFontFromParams(self, family: Any, size: Any, slant: Any, weight: Any, defaultSize: int = 12) -> None: return None That is to say, it does nothing about getting or setting fonts. -- You received this message

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-15 Thread Thomas Passin
Not quite true: there are a few @font php nodes too. On Wednesday, February 15, 2023 at 1:59:55 PM UTC-5 Thomas Passin wrote: In the standard Leo distro, those @nodes are only used for @language forth, and the Forth colorizer handler uses special bespoke classes. So there may be a bug

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-15 Thread Thomas Passin
there may be a bug that the special Forth code works around but no other language hits. On Wednesday, February 15, 2023 at 10:32:48 AM UTC-5 Edward K. Ream wrote: On Wed, Feb 15, 2023 at 8:09 AM Thomas Passin wrote: @ekr: "I suspect that adding a node @font rest fonts will suffice.&quo

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-15 Thread Thomas Passin
@ekr: "I suspect that adding a node @font rest fonts will suffice." I must be missing the magic way to do this, because none of these changed the font for *@language rest* nodes. I've tried: headline: @font rest body: font-family = Georgia headline: @font rest body: font-family: Georgia

Re: Body Nodes That Do Not Use A Mono-spaced Font

2023-02-15 Thread Thomas Passin
@ekr: "Leo uses a mono-spaced font for body text. Happy, this statement is not correct. Unless I am mistaken, Leo can already do what you want." My statement was oversimplified - the body font is normally set in the stylesheet and it could be chosen to be a non-monospaced font. -- You

Body Nodes That Do Not Use A Mono-spaced Font

2023-02-14 Thread Thomas Passin
Leo uses a mono-spaced font for body text. No doubt this comes from Leo's background as a programming editor/IDE. But many people don't use it like that, or not only like that. They use it for creating documents, notes, or other non-programming uses. For these uses, non-monospaced fonts can

Re: Leo package as published on test.pypi.org

2023-02-13 Thread Thomas Passin
Typo in the URL - should be test.pypi.org. As for staleness, it's only for testing the packaging to make sure it will work on PyPi, so maybe the staleness is not too important. On Monday, February 13, 2023 at 11:14:35 AM UTC-5 David Szent-Györgyi wrote: > I was looking for a pypy package of

Re: Leo's pylint Command Enhanced

2023-02-10 Thread Thomas Passin
On Friday, February 10, 2023 at 9:38:22 AM UTC-5 Edward K. Ream wrote: On Fri, Feb 10, 2023 at 8:04 AM Thomas Passin wrote: The pylint command now can run pylint against a subtree that is not an external file (@file, @clean, ...). Many thanks, Thomas, for this work. For a long time I didn't

Leo's pylint Command Enhanced

2023-02-10 Thread Thomas Passin
The pylint command now can run pylint against a subtree that is not an external file (@file, @clean, ...). The old behavior is still in place. The command looks up the tree from the focused node to see if that node is in the subtree of an external Python file. If yes, it runs against that

Re: GUI For Using Git

2023-02-10 Thread Thomas Passin
They do like to promote themselves. I've only had it installed for two days, so all I know that it seems decent. If I start getting too much spam email, I'll get my email client to deep-six it. I don't use git often enough to really retain commands that are more than simple pulls, etc, and

GUI For Using Git

2023-02-09 Thread Thomas Passin
I use a GUI program to help me with using git/GitHub. I'm sure I'm not alone. On Windows I have been used the Windows-only *Git eXtension*s, which works well enough but sometimes I'm not quite sure what some operations are going to do. On Linux I've been using* Git-Cola,* which is simpler,

Re: Python Developer Of The Week

2023-02-06 Thread Thomas Passin
Thanks, guys! On Monday, February 6, 2023 at 7:30:27 PM UTC-5 Félix wrote: > That's pretty cool!! :) > > Félix > > On Monday, February 6, 2023 at 4:16:01 PM UTC-5 Edward K. Ream wrote: > >> On Mon, Feb 6, 2023 at 9:58 AM Thomas Passin wrote: >> >>>

Re: Pipx

2023-02-06 Thread Thomas Passin
Link for pipx <https://pypa.github.io/pipx/> On Monday, February 6, 2023 at 5:33:37 PM UTC-5 Thomas Passin wrote: > I just tried out pipx, which is a Python install program that wraps pip > such that for each installed package, it creates a separate virtual > enviro

Pipx

2023-02-06 Thread Thomas Passin
I just tried out pipx, which is a Python install program that wraps pip such that for each installed package, it creates a separate virtual environment, installs into that, and creates executables to launch each of the entry points. I believe that it installs basically similar to using

Python Developer Of The Week

2023-02-06 Thread Thomas Passin
I gave an email interview to the PyDev Of The Week series. Edward was featured there several years ago so I'm in good company. I'm posting it here because I talk quite a bit about Leo. PyDev Of The Week <https://www.blog.pythonlibrary.org/2023/02/06/pydev-of-the-week-thomas-passin/> -

Command To Run External File

2023-02-05 Thread Thomas Passin
I've been working on a command to run an external file (@file, @clean ...). I think it is ready, and I'd appreciate it if other folks could test it for me. The idea is that you select a node in the external file tree and launch the command. It works on Windows and Linux but not Mac (I need

Re: Why nits matter

2023-02-05 Thread Thomas Passin
It might be easiest to copy the gnx of the next child node (if there is one), and then go to that gnx after the delete. That way you wouldn't have to worry about positions changing, On Sunday, February 5, 2023 at 4:13:23 PM UTC-5 Félix wrote: > I'll just chime in to say this is not trivial.

Re: Revised: Info issue #2867 re developer scripts

2023-02-04 Thread Thomas Passin
" There's no need t make the scripts @clean trees. @file with @language batch works well enough (thought I prefer to use "::"" Darn, posted before I was done. That's supposed to read There's no need to make the scripts @clean trees. @file with @language batch works well enough (though I

Re: Revised: Info issue #2867 re developer scripts

2023-02-04 Thread Thomas Passin
I use a c:\usr\bin directory to make it more Linux-like. I just couldn't get myself to make a ~\.local\bin directory, though. Maybe I should reconsider... There's no need t make the scripts @clean trees. @file with @language batch works well enough (thought I prefer to use "::" On

Re: Aha! A better way to study code

2023-02-04 Thread Thomas Passin
I don't see a matching *remove-icon* command, though. On Saturday, February 4, 2023 at 9:45:49 AM UTC-5 Edward K. Ream wrote: > On Sat, Feb 4, 2023 at 6:35 AM jkn wrote: > >> That's cool, thanks. so even now I can do "insert-icon" / (browse to an >> icon) , and have it be added to a node

Testing "Equality" Floating Numbers In Unit Testing

2023-02-03 Thread Thomas Passin
In working on developing unit tests for my GF4 project, I'm going to have to compare expected vs actual results of floating point numbers. This subject is notoriously difficult to get "right" - there are all kinds of pitfalls one would never think about. The standard Python library now has

Re: Coming soon in LeoInteg 1.0.12 (...and leojs beta!)

2023-02-03 Thread Thomas Passin
Felix, you have done a lot of hard work! I've been wondering what the possibilities will be for writing scripts for LeoInteg or LeoJS (of course, in Java/Type -script instead of Python)? How hard will it be to code up and run small utility scripts, for example? On Friday, February 3, 2023 at

Re: Aha! A better way to study code

2023-02-03 Thread Thomas Passin
The attached outline has some icons attached to headlines. It was posted for issue 3121 by @wangzhaohe. I don't know how he attached them, but it gives a dramatic example. On Friday, February 3, 2023 at 10:15:38 AM UTC-5 Edward K. Ream

Re: Aha! A better way to study code

2023-02-01 Thread Thomas Passin
Well, it's not really a bug - you just have to prefix each body of code in the tree with a code language directive (@language code), otherwise VR3 doesn't know that the node is code and not markdown/rst/etc. On Wednesday, February 1, 2023 at 1:51:07 PM UTC-5 Thomas Passin wrote: > You

Re: Aha! A better way to study code

2023-02-01 Thread Thomas Passin
AM Thomas Passin wrote: > > Yes, one step closer to literate programming without weave, etc. Often I >> use << named sections >> as a kind of pseudo-code to clarify what's going >> on. I'd like it if we could have organizer nodes like this in external >> fi

Re: Aha! A better way to study code

2023-02-01 Thread Thomas Passin
Yes, one step closer to literate programming without weave, etc. Often I use << named sections >> as a kind of pseudo-code to clarify what's going on. I'd like it if we could have organizer nodes like this in external files, too. On Wednesday, February 1, 2023 at 11:14:20 AM UTC-5 Edward K.

Viewrendered3 Improvements

2023-01-31 Thread Thomas Passin
The viewrendered3 plugin has a command *vr3-open-markup-in-editor* . In the case of plain text (*@language text* and *@language plain*) nodes, this used to export only the selected node, not the entire subtree, even if the *Entire Tree* option was selected. This has been corrected. In

Re: CTRL-Click Can Now Navigate To Import Statements

2023-01-31 Thread Thomas Passin
On the list of CTRL-click actions, I forgot navigating to function definitions. On Tuesday, January 31, 2023 at 2:36:15 PM UTC-5 Thomas Passin wrote: > The CTRL-Click feature has been extended so that if you CTRL-Click on a > line that starts with import module or from module impor

CTRL-Click Can Now Navigate To Import Statements

2023-01-31 Thread Thomas Passin
The CTRL-Click feature has been extended so that if you CTRL-Click on a line that starts with import module or from module import, Leo will navigate to an external file whose filename is *module.py* or *module.pyw*, if it is the same outline. This also works if the import statement includes

Re: OT? Beware of ChatGPT

2023-01-31 Thread Thomas Passin
January 29, 2023 at 11:25:38 PM UTC-5 Thomas Passin wrote: > Humans probably have a level of abstraction that is most susceptible to > manipulation. It would perhaps differ between people to an extent, and > also perhaps with the kind of subject being manipulated. I suspect that

Re: OT? Beware of ChatGPT

2023-01-29 Thread Thomas Passin
Humans probably have a level of abstraction that is most susceptible to manipulation. It would perhaps differ between people to an extent, and also perhaps with the kind of subject being manipulated. I suspect that it is at a level that would correspond to "species" or the next higher

Re: Im out of the hospital and feeling better

2023-01-28 Thread Thomas Passin
What I have found over the years (It's been 30 years since I had my first stone episode) is that from time to time I would get some of the symptoms - it's an unmistakable pattern except that so much time passes in between that I forget. When I realize I'm working up to another episode, I drink

Re: Im out of the hospital and feeling better

2023-01-28 Thread Thomas Passin
I'm glad to hear you are home again. I've been in the hospital twice for a kidney stone, so I have an idea of what you've been going through. Once my stones made it to the bladder, I felt much better. On Saturday, January 28, 2023 at 10:37:01 AM UTC-5 Félix wrote: > It was a kidney stone

Re: Thomas: Rev d89b7c adds pylint suppressions. Only VR3 affected

2023-01-27 Thread Thomas Passin
I see - rc_fn = 'pylint-leo-rc.txt' table = ( os.path.abspath(os.path.join(home_dir, '.leo', rc_fn)), os.path.abspath(os.path.join(base_dir, 'leo', 'test', rc_fn)), ) On Friday, January 27, 2023 at 8:59:49 PM UTC-5 Thomas Passin wrote: > What, you can't set a comm

Re: Thomas: Rev d89b7c adds pylint suppressions. Only VR3 affected

2023-01-27 Thread Thomas Passin
What, you can't set a command line option to point the the file? OK, I'll go on a hunt. On Friday, January 27, 2023 at 7:32:29 PM UTC-5 Edward K. Ream wrote: > On Fri, Jan 27, 2023 at 4:27 PM Thomas Passin wrote: > >> >> >> On Friday, January 27, 2023 at 4:33:45 PM UT

Re: In hospital for severe abdominal pains

2023-01-27 Thread Thomas Passin
Feel better soon, from all of us. On Friday, January 27, 2023 at 6:30:31 PM UTC-5 Félix wrote: > Got some tests done, its not apendicite... Being treated and received pain > killers. > > Worst is behind now . Feeling better . > > Thanks to all leonistas who support Leointeg and leojs! > >

Re: Thomas: Rev d89b7c adds pylint suppressions. Only VR3 affected

2023-01-27 Thread Thomas Passin
On Friday, January 27, 2023 at 4:33:45 PM UTC-5 Edward K. Ream wrote: Did you update your *active* copy of pylint-leo-rc.txt? You shouldn't be seeing these complaints. I don't know what you mean. The new version is in its place in leo/test. What else needs to be done to make it "active"?

Re: Thomas: Rev d89b7c adds pylint suppressions. Only VR3 affected

2023-01-27 Thread Thomas Passin
As you probably remember, VR3 inherited lots of code from VR2, which inherited from VR. And some new code I worked up more or less followed similar code from those earlier versions. I've been hoping to avoid restructuring any of that code, but maybe I should consider it at last. With this

Re: OT? Beware of ChatGPT

2023-01-26 Thread Thomas Passin
Here's an interesting post on Large Language Models, ChatGPT, and AI more generally - Janus' Simulators <https://astralcodexten.substack.com/p/janus-simulators> On Monday, January 23, 2023 at 12:24:44 PM UTC-5 Edward K. Ream wrote: > On Mon, Jan 23, 2023 at 9:10 AM Thomas Pass

Re: Interesting Post On Ultra-fast Pattern Matching, m Go, and Git/Github

2023-01-26 Thread Thomas Passin
Oops! Ongoing . On Thursday, January 26, 2023 at 9:41:32 AM UTC-5 Edward K. Ream wrote: > On Thursday, January 26, 2023 at 8:33:17 AM UTC-6 tbp1...@gmail.com wrote: > A post by Tim Bray on his "Ongoing" blog. It centers on his

Interesting Post On Ultra-fast Pattern Matching, m Go, and Git/Github

2023-01-26 Thread Thomas Passin
A post by Tim Bray on his "Ongoing" blog. It centers on his superfast pattern-matching software. Tim used to work for AWS, hence the references to it. There's a link at the bottom to a blog about using Git/Github. Probably worth reading for GitHub users. -- You received this message

Re: Improved find-all command now in devel

2023-01-25 Thread Thomas Passin
Thanks for this hard work! The new results format is certainly a big improvement! And the new code reads better, too. I would probably have tried to move make_result_from_matches() outside _find_all_helper()and let it be called separately after the matches are returned, but at least this way

Re: Help with 'find-all' !!

2023-01-24 Thread Thomas Passin
On Tuesday, January 24, 2023 at 6:46:54 PM UTC-5 Edward K. Ream wrote: . For example, find-all could return a list of dicts of the form: { 'gnx': , 'head': list of indices of matches in the v.h, 'body': list of indices of matches in the v.b, } Given this data, the find-all could easily

Re: Help with 'find-all' !!

2023-01-24 Thread Thomas Passin
On Tuesday, January 24, 2023 at 11:09:59 AM UTC-5 Edward K. Ream wrote: On Tue, Jan 24, 2023 at 7:21 AM Thomas Passin wrote: Since *Find* can find all the matches one at a time, I'm thinking the problem has something to do with the way that results are collected. Right. The culprit is find

Re: Leo now shows an svg splash screen

2023-01-24 Thread Thomas Passin
Turns out that the Wayland display server has a long-standing problem with splash screens - Centered/Splash shell surfaces <https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/67> On Tuesday, January 24, 2023 at 9:39:23 AM UTC-5 Thomas Passin wrote: > Maybe

Re: Leo now shows an svg splash screen

2023-01-24 Thread Thomas Passin
339) On Tuesday, January 24, 2023 at 4:46:28 AM UTC-5 Edward K. Ream wrote: > On Mon, Jan 23, 2023 at 11:01 PM Thomas Passin wrote: > >> The fix (adding sleep()) works on all my VMs except Ubuntu. OTOH, Leo >> loads so fast on my Ubuntu VM that I don't really miss the splash scree

Re: Help with 'find-all' !!

2023-01-24 Thread Thomas Passin
Since *Find* can find all the matches one at a time, I'm thinking the problem has something to do with the way that results are collected. On Tuesday, January 24, 2023 at 5:23:11 AM UTC-5 Edward K. Ream wrote: > On Mon, Jan 23, 2023 at 9:49 PM Félix wrote: > > i'm having some trouble with the

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
- -yes So maybe the splash screen doesn't show on systems with a Wayland display server? At this point, I'm not inclined tp spend any more time on this. I'll put in a PR with the sleep() added and call it a day for now. On Monday, January 23, 2023 at 11:01:59 PM UTC-5 Thomas Passin wrote

Re: Help with 'find-all' !!

2023-01-23 Thread Thomas Passin
I can confirm your results. On the second node body, only three of the five matches are reported. When I step through using F3 in the Find tab, it does find all five (one at a time). On Monday, January 23, 2023 at 10:49:28 PM UTC-5 Félix wrote: > i'm having some trouble with the 'find-all'

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
ely painting, then closing or possibly getting moved to their final position. With the sleep(), those windows show up behind the splash screen. I'm not inclined to try to diagnose this behavior. On Monday, January 23, 2023 at 10:06:01 PM UTC-5 Thomas Passin wrote: > I've got four Gnome-bas

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
a points that I hope might help. > > The splash screen does appear (and looks quite lovely now, in vector form > and without the watermark!) on my Windows 10 install. > > Jake > > On Mon, Jan 23, 2023 at 7:41 PM Thomas Passin wrote: > >> Now I'm bummed. The splash

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
Now I'm bummed. The splash screen displays properly on Manjaro, a Linux distro using XFCE. But on two Gnome systems, Mint and Debian, it acts the same as before I added the repaint() call. This will take some more digging. On Monday, January 23, 2023 at 6:25:17 PM UTC-5 Edward K. Ream

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
I found a simple fix. It's now in a pending PR. You have to repaint() the splash screen after show()ing it. It looks like the splash screen may never have been visible on Linux(!). On Monday, January 23, 2023 at 4:36:18 PM UTC-5 Thomas Passin wrote: > Hmm, I forgot to check with Linux. I

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
grade to PyQt v6? I seem to remember I had > pain in that direction... > > Regards, J^n > > > On Monday, January 23, 2023 at 2:46:50 PM UTC Edward K. Ream wrote: > >> On Mon, Jan 23, 2023 at 8:24 AM Thomas Passin wrote: >> >>> This is good to see.

Re: Work is nearly complete on Leo's website

2023-01-23 Thread Thomas Passin
Hmm, the old splash screen image doesn't seem to display. It does download, though. The Google Groups software doesn't want to include the image's file tyep (.ico). On Monday, January 23, 2023 at 2:03:14 PM UTC-5 Thomas Passin wrote: > I have been reworking the splash screen code to s

Re: OT? Beware of ChatGPT

2023-01-23 Thread Thomas Passin
The thing about ChatGPT and similar neural network systems is that they know how to string words and phrases together based on probability densities estimated during training, but they don't know about the underlying concepts. They don't know math but they can *sound* like they know math. So

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
This is good to see. I would like the splash screen to be smaller than 600 X 600. It seems much larger than the old screen, and also looks pixelated, a surprise for an SVG image. The SVG image opens at 804 pixels, according to Irfanview; trying half that looked about the right size for a

Leo 6.7.1 From PyPi Failing On Linux Fedora

2023-01-22 Thread Thomas Passin
This is with python3.11.1 on a new Fedora virtual machine. Upgrading from PyQt5 to PytQ6 did not change anything. Symptoms: Leo window opens, tips window opens, ask-create-myLeoSettings dialog opens. After closing those windows, Leo is frozen with no error messages on the terminal. CTRL-C

Re: Status report 2: Leo's new website

2023-01-20 Thread Thomas Passin
The splash screen still uses the old bitmaps, doesn't it? if sys.platform.startswith('win'): table = ('SplashScreen.jpg', 'SplashScreen.png', 'SplashScreen.ico') else: table = ('SplashScreen.xpm',) (after updating to the most recent changeset in devel). On Friday,

Re: Status report: Leo's new website

2023-01-20 Thread Thomas Passin
Comcast, FWIW. On Friday, January 20, 2023 at 11:22:12 AM UTC-5 Edward K. Ream wrote: > On Fri, Jan 20, 2023 at 9:49 AM Thomas Passin wrote: > >> Hmm, I tried two different browsers and used CTRL-F5 to force a re-read. >> I wonder what the difference is? >> > >

Re: Status report: Leo's new website

2023-01-20 Thread Thomas Passin
Hmm, I tried two different browsers and used CTRL-F5 to force a re-read. I wonder what the difference is? On Friday, January 20, 2023 at 10:27:48 AM UTC-5 Edward K. Ream wrote: > On Friday, January 20, 2023 at 9:07:36 AM UTC-6 tbp1...@gmail.com wrote: > I think what I'm seeing is that Speed's

Re: Status report: Leo's new website

2023-01-20 Thread Thomas Passin
I think what I'm seeing is that Speed's redirect of leoeditor.com is not in effect yet. I wonder how long it takes for a redirect to ripple through the system. On Friday, January 20, 2023 at 10:00:02 AM UTC-5 Thomas Passin wrote: > The Github README.md file on Github still has its li

Re: Status report: Leo's new website

2023-01-20 Thread Thomas Passin
The Github README.md file on Github still has its links pointing to leoeditor.com. The links have been changed in devel, but master is what people will land on when coming to the site. On Friday, January 13, 2023 at 5:08:03 AM UTC-5 Edward K. Ream wrote: > On Thursday, January 12, 2023 at

New Fast Python Memory Profiler

2023-01-19 Thread Thomas Passin
Maybe of interest to some devs, Scalene, a newish Python memory profiler, was mentioned in a message on the *python-list* discussion list. Scalene >From the GitHub readme: "Scalene is a high-performance CPU, GPU *and* memory profiler for Python that

Re: Please help me edit Leo's wikipedia page

2023-01-18 Thread Thomas Passin
I'd be willing to contribute some funds if need be. BTW, the Wikipedia entry now reads in part: " The GUI uses the Qt toolkit; the syntax-aware editor is based on Scintilla ." In what way is the editor now based on Scintilla? On Wednesday, January 18, 2023 at 7:20:48 AM UTC-5 Edward K. Ream

Re: Curious to know if any Leonistas tried out ChatGPT?

2023-01-17 Thread Thomas Passin
I haven't been able to open the chatGPT page in two different browsers: ERR_TOO_MANY_REDIRECTS How are others managing to do it? I hope not needing to use AI... -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: Curious to know if any Leonistas tried out ChatGPT?

2023-01-17 Thread Thomas Passin
Now try it again with the beautifier ( PR #3057 ) you just worked on... On Tuesday, January 17, 2023 at 6:25:11 AM UTC-5 Edward K. Ream wrote: > On Monday, January 16, 2023 at 1:51:34 AM UTC-6 Edward K. Ream wrote: > > I tried the following

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread Thomas Passin
If you had, it would have been pixelated to hell and gone. On Monday, January 16, 2023 at 6:58:05 PM UTC-5 Edward K. Ream wrote: > On Mon, Jan 16, 2023 at 4:08 PM jkn wrote: > > BTW if it turns out it's a matter of $10 i am happy to pay for it as a >> thanks for Leo ;-) >> > > Thanks! > > also

Re: Please help me edit Leo's wikipedia page

2023-01-15 Thread Thomas Passin
Dreamstime has a page on license terms, and it has this section that seems as if it might apply - "Limited Royalty Free Licenses (RF-LL) for using Media downloaded within the Free section of the website Dreamstime offers a free section, fully searchable and constantly updated. Its use may be

Re: Viewrendered3 plugin may not render nodes for some linux distros

2023-01-12 Thread Thomas Passin
6.4.0 PyQt6-WebEngine And possibly PyQt6-WebEngine-Qt6 if it didn't get installed by the previous packages. On Thursday, January 12, 2023 at 11:27:09 PM UTC-5 Thomas Passin wrote: > I have been spinning up several new Linux virtual machines, and I > discovered that VR3

Viewrendered3 plugin may not render nodes for some linux distros

2023-01-12 Thread Thomas Passin
I have been spinning up several new Linux virtual machines, and I discovered that VR3 isn't rendering visibly. It's still working, since you can export the rendering to the browser, but nothing is painted on the VR3 panel. All these VMs use a recent version of Python3 with PyQt5. The PyQt5

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
the dictionary. After all that, Leo's spell checker is working. On Wednesday, January 11, 2023 at 10:22:23 AM UTC-5 Thomas Passin wrote: > Don't know yet. I don't have a git clone on the VM in question, I just > spun it up and it needs some more provisioning. > > On Wednesday, January 1

Re: Please help me edit Leo's wikipedia page

2023-01-11 Thread Thomas Passin
" Well, this is a bizarre new policy." I don't think it's that new. Wikipedia has been trying hard to prevent misrepresentation by interested parties who want to make themselves look good, or others to look bad. So you often can't fix errors about yourself even if you know for sure they are

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
Don't know yet. I don't have a git clone on the VM in question, I just spun it up and it needs some more provisioning. On Wednesday, January 11, 2023 at 9:54:21 AM UTC-5 Edward K. Ream wrote: > > > On Wed, Jan 11, 2023 at 8:35 AM Thomas Passin wrote: > >> ...it looks lik

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
o the trick to get this working on Manjaro, as it > did on my Arch installs. > > Jake > > On Wed, Jan 11, 2023 at 8:47 AM Thomas Passin wrote: > >> No, unfortunately it didn't. There is something else wrong in the >> pyenchant package or the enchant support

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Thomas Passin
> On Tuesday, January 10, 2023 at 10:53:40 PM UTC-5 Thomas Passin wrote: >> >>> I created a new virtual machine for a Linux distro new to me - Manjaro. >>> Although pyenchant is installed, and the system's package manager claims >>> that the Enchant libraries

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-10 Thread Thomas Passin
Of course, one solution is to uninstall pyenchant. I did that and now Leo can run. On Tuesday, January 10, 2023 at 10:53:40 PM UTC-5 Thomas Passin wrote: > I created a new virtual machine for a Linux distro new to me - Manjaro. > Although pyenchant is installed, and the system's p

Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-10 Thread Thomas Passin
I created a new virtual machine for a Linux distro new to me - Manjaro. Although pyenchant is installed, and the system's package manager claims that the Enchant libraries are installed, they aren't playing together. I installed Leo but it won't start because pyenchant isn't working. I don't

Re: Should leoeditor.com Be Moved To GitHub or Somewhere Else?

2023-01-10 Thread Thomas Passin
Don't worry, leoeditor.com is in the Wayback Machine going back to 2013 - On Tuesday, January 10, 2023 at 5:48:12 PM UTC-5 Edward K. Ream wrote: > On Tue, Jan 10, 2023 at 3:10 PM George Zipperlen > wrote: > >> I don't know how long

Re: Command To Convert Selection Or Body To Title Case

2023-01-10 Thread Thomas Passin
Yes, it can be hard to find out how to do things you want in Leo. The good news is that you can do most anything. Remember to undo/redo operations that change a node or the tree - my title-case script shows how to do that for node content. Leo's code base is in the PyLeoRef.leo outline, as I

Re: Abbreviations For Greek Letters

2023-01-10 Thread Thomas Passin
I don't think you need that coding line any more. That was a Python2 thing. Python3 uses unicode/utf-8 automatically. FWIW, I generally (before the abbreviations) copied and pasted non-ascii characters from various web pages, and it's always worked well. On Tuesday, January 10, 2023 at

Re: How to change docker arrow icon size?

2023-01-09 Thread Thomas Passin
The plugin is *nav_qt.py*. On Tuesday, January 10, 2023 at 12:11:46 AM UTC-5 Thomas Passin wrote: > The height would probably be set in the CSS rules in the theme's qt > stylesheet. I'm not sure just now which selector would cover it. The > arrows must be icons somewhere, but you'd

Re: How to change docker arrow icon size?

2023-01-09 Thread Thomas Passin
The height would probably be set in the CSS rules in the theme's qt stylesheet. I'm not sure just now which selector would cover it. The arrows must be icons somewhere, but you'd probably have to look in the plugin's code to find them. On Monday, January 9, 2023 at 9:02:31 PM UTC-5

Re: Abbreviations For Greek Letters

2023-01-09 Thread Thomas Passin
because;;=∵ That's one I've never heard of before! An inverted "therefore". On Monday, January 9, 2023 at 5:52:18 PM UTC-5 Edward K. Ream wrote: > On Mon, Jan 9, 2023 at 4:48 PM Rob wrote: > >> Perhaps also useful: >> >> degree;;=° >> half;;=½ >> quarter;;=¼ >> 3fourths;;=¾ >> divide;;=÷ >>

Re: Abbreviations For Greek Letters

2023-01-09 Thread Thomas Passin
Maybe in the section in LeoDocs that mentions abbreviations? It's very short, and these shortcuts could serve as examples, too. @Edward suggested disabled in LeoSettings.leo. That would be all right too, but how many of us troll through there looking for interesting things? I expect my own

Re: Leo's new website is live. Leo 6.7.2 coming soon

2023-01-09 Thread Thomas Passin
Great! One glitch - Links from the google search box point to the old site, not the new one. On Monday, January 9, 2023 at 1:45:53 PM UTC-5 Edward K. Ream wrote: > GitHub pages now hosts Leo's new website at: > https://leo-editor.github.io/leo-editor/ > > Please test these new pages and report

Abbreviations For Greek Letters

2023-01-08 Thread Thomas Passin
Sometimes I want to insert a Greek letter into text, often *sigma *or *mu*. On Windows, at least, it's always annoying and clumsy. So I thought I'd try out Leo's abbreviations, which I've never used in the past. It's working well, so I've collected them here in case it will save someone

Re: A curious observation, #2

2023-01-05 Thread Thomas Passin
There is actually some CSS styling possible for the gutter: A logical setting: @string font-size-gutter = 9pt and in the theme's stylesheet: QFrame#gutter { font-size: @font-size-gutter; background: @dark-base02; } On Thursday, January 5, 2023 at 12:38:58 PM UTC-5 jkn wrote: > Heh, I was

Re: A curious observation, #2

2023-01-05 Thread Thomas Passin
I see in LeoPyRef that there is also a setting *gutter-w-adjust*. A comment says its function is to provide extra room for bolding the line number of the current line. Its default value seems to work for me (a good thing because I didn't know about it before now). The line numbers are not

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