How To Run Sphinx Without Making a Config File

2021-07-01 Thread tbp1...@gmail.com
Sphinx can turn a ReStructured Text file or series of files into good looking HTML documentation. But when you read how to get it going, it seems complicated. You are told the set up a folder and run make to produce a configuration file, which you will probably tinker with. It's confusing

Freewin V 1.3 Plugin Now In the Devel Branch

2021-07-01 Thread tbp1...@gmail.com
The user-noticeable changes in V 1.3 are: Add CNTL-F7 ability to copy our gnx to clipboard; CNTL-F9 now recognizes a gnx when preceded by '(' or '['; Use internal RsT stylesheet if @settings path does not exist. Just to recap recent improvements, the plugin chooses a light or dark

Re: Aha: type annotations need never be part of Leo's distro!

2021-06-29 Thread tbp1...@gmail.com
We could use a standardized docstring format, similar to what I often use; def func1(msg, reps): """Returns a sequence of random permutations of a message. ARGUMENTS msg:string -- the message to be permuted. reps:int -- the number of permutations to generate.

Find-all Command Results Should Be Navigable

2021-06-29 Thread tbp1...@gmail.com
Search results in the Nav tab are navigable - when you click on one of them, the selected node changes to be the location of the clicked result. *find-all's* results are static, i.e., not navigable when clicked on. I would like for them to be navigable, if practical. -- You received this

Re: Python project delays changes to annotations

2021-06-26 Thread tbp1...@gmail.com
With the complexity of Leo, I think type annotations will be a Good Thing. I am a little concerned that when the typing issue settles down in future Python releases, the syntax may change enough that they would have to be redone. On Saturday, June 26, 2021 at 3:53:58 PM UTC-4 Edward K. Ream

Viewrendered3 Enhancements

2021-06-25 Thread tbp1...@gmail.com
A new version of the VR3 plugin has been merged into the devel branch. The main new features are: - New command to export generated markup to external editor. - New setting to specify the external editor. - Improved readability for RsT parser errors. - Version Change to 3.3. The

Re: Discuss: use slots for all classes in leoNodes.py

2021-06-24 Thread tbp1...@gmail.com
Would you give an example of how these slots would be used, please? On Thursday, June 24, 2021 at 1:48:33 PM UTC-4 Edward K. Ream wrote: > This is PR #2003 and > issue #2004 . > > Unless I

Tune Up The rst3 Command With Filters

2021-06-20 Thread tbp1...@gmail.com
The rst3 command turns a Leo tree into a ReStructured Text file or set of RsT files, ready to be processed, for example, by Sphinx. But sometimes it doesn't quite get things right. For example, RsT requires a blank line between sections of all kinds. But rst3 doesn't add one, and sometimes

Re: The Zettelkasten System Revisited After A year - Using Freewin and Viewrendered3

2021-06-19 Thread tbp1...@gmail.com
:08 AM UTC-4 tbp1...@gmail.com wrote: > I will do that. I developed these posts in a Leo outline, so everything > is there except the attachments, which I could zip together with the > outline. Or maybe I can import them into an outline. > > On Friday, June 18, 2021 at 7:57:41 AM

Re: The Zettelkasten System Revisited After A year - Using Freewin and Viewrendered3 - Copying to a New Outline

2021-06-18 Thread tbp1...@gmail.com
to duplicate a tree when sending it to someone else, possibly as an example. In Leo, it is usually suggested that you never clone nodes into other outlines. This is a rare case where it is *ESSENTIAL* to do so. On Friday, June 18, 2021 at 9:48:08 AM UTC-4 tbp1...@gmail.com wrote: > I will

Re: The Zettelkasten System Revisited After A year - Using Freewin and Viewrendered3

2021-06-18 Thread tbp1...@gmail.com
021 at 11:37:03 PM UTC-5 tbp1...@gmail.com wrote: > >> If you were working with a physical zettelkasten system with physical >> index cards, you would pull some number of related cards and spread them >> out on a working surface. You might start a new card, devise an id numb

Re: The Zettelkasten System Revisited After A year - Exporting Your Data

2021-06-17 Thread tbp1...@gmail.com
Oops! I wrote: On Thursday, June 17, 2021 at 11:25:04 PM UTC-4 tbp1...@gmail.com wrote: > > If you opt for using an @rst tree, you can just select a node in the tree > and invoke the minibuffer command *rst3*. The *@others* directive is not > necessary. Your tree's top node cou

Re: The Zettelkasten System Revisited After A year - Exporting Your Data

2021-06-17 Thread tbp1...@gmail.com
wrendered3, and working with a set of individual cards using the new Freewin plugin. On Thursday, June 17, 2021 at 11:18:23 PM UTC-4 tbp1...@gmail.com wrote: > The card-case system needs each card to have a unique and permanent id > number. This id is used for finding cross-referenced car

Re: The Zettelkasten System Revisited After A year

2021-06-17 Thread tbp1...@gmail.com
ood for this. In my next post, I will cover ways to get your data out of Leo if you need to. It can be very simple. On Thursday, June 17, 2021 at 11:10:26 PM UTC-4 tbp1...@gmail.com wrote: > Over a year ago we had a long thread on the "Zettelkasten" system: > > htt

The Zettelkasten System Revisited After A year

2021-06-17 Thread tbp1...@gmail.com
Over a year ago we had a long thread on the "Zettelkasten" system: https://groups.google.com/g/leo-editor/c/TqiNdBfnEig To briefly reprise, a *zettelkasten* is a system for capturing and cross-linking of knowledge. The term can be translated as "card case", and the original - or at least the

Re: Strange Behaviour - File Won't Open

2021-06-16 Thread tbp1...@gmail.com
Hey, @Israel, take a look at the new thread I just posted on Freewin. Freewin grew out of that thread on Zettelkasten that you started over a year ago. Remember that? On Wednesday, June 16, 2021 at 9:01:39 AM UTC-4 tbp1...@gmail.com wrote: > Glad you could fix it up! > > On Wednes

Re: Freewin - A Plugin That Provides Free Floating Edit/Render Windows - Rational and Use

2021-06-16 Thread tbp1...@gmail.com
oping Freewin has involved a lot of dog-fooding! In a followup post I will give some examples how I use RsT features. It turns out that the main one I use will make it fairly easy to parse the data into a structured for, such as RDF or topic maps. On Wednesday, June 16, 2021 at 5:45:11 PM UTC

Re: Freewin - A Plugin That Provides Free Floating Edit/Render Windows - Styling

2021-06-16 Thread tbp1...@gmail.com
be fixed when the Qt6 WebEngineView component is released, if not before. My next post will cover the rationale for the plugin design, how I expected to use it, and and some other uses I have already found to be convenient. On Wednesday, June 16, 2021 at 5:21:43 PM UTC-4 tbp1...@gmail.com wrote

Freewin - A Plugin That Provides Free Floating Edit/Render Windows

2021-06-16 Thread tbp1...@gmail.com
My new Freewin plugin has just been merged into the devel branch. This plugin will open a smaller-than-Leo window that is dedicated to showing the node that was selected when the Freewin window was opened. This window is provides a plain editing view, and can be switched to provide a view of

Re: Allright: leointeg 'dev' branch now updated for leo's 'devel'

2021-06-16 Thread tbp1...@gmail.com
I've updated and played a little. Everything seemed to work as expected. One question - about handling of keystrokes that mean something in Leo, such as CNTL-B. Do you think there could be a way to get some of them to work as expected from within the leointeg environment? Of course, there is

Re: Strange Behaviour - File Won't Open

2021-06-16 Thread tbp1...@gmail.com
ks for such timely and accurate help. > > IH > > > > On Wednesday, 16 June 2021 at 00:41:54 UTC+1 tbp1...@gmail.com wrote: > >> I'd run an XML parser on it to see if some kind of corruption has >> rendered the file not well-formed XML. I like to use rxp : >> >>

Re: Strange Behaviour - File Won't Open

2021-06-15 Thread tbp1...@gmail.com
I'd run an XML parser on it to see if some kind of corruption has rendered the file not well-formed XML. I like to use rxp : RXP IIRC, you need to give it a file: url: file:///c:/path/to/file. You run it on the file and it will echo it to the

Re: Good Monospaced Programmer's Font

2021-06-14 Thread tbp1...@gmail.com
My copy of vs code has this font setting: Consolas, 'Courier New', monospace. I don't think having the chrome browser component automatically gives you these other fonts. Somehow, though, the character appearance looks very good on vs code, as if it tunes the hinting differently or

Viewrendered3 Gets A Dark Theme

2021-06-12 Thread tbp1...@gmail.com
I have created a pull request for the Viewrendered3 plugin. It adds a new stylesheet for Restructured Text that has a solarized dark theme. By default VR3 attempts to figure out if the Leo theme is a dark one, and will use the new stylesheet if the theme seems to be one (this is done in a

Improving Font Display On Debian

2021-06-12 Thread tbp1...@gmail.com
If you are running Debian Linux and think that Ubuntu-like systems have better looking text, this link might be worth trying- Debian Fonts More Like Ubuntu Remember, if you are going to edit the

Re: leointeg activation 'trigger'

2021-06-12 Thread tbp1...@gmail.com
I don't quite understand what you wrote :-), but I think what should happen is the least surprising thing. For me, that is that if I go through the motions of starting the extension, then I will be presented with a view of a Leo file, or an obvious offer to open one. And the Leo icon should

Good Monospaced Programmer's Font

2021-06-11 Thread tbp1...@gmail.com
I was looking into the "Solarized" colorizing schemes, and learned that their developer, Ethan Schoonover, had preferred a font I had never heard of - Cousine. Turns out it is freely licensed and free to download. It's a TTF font, so it can be installed into both Windows and Linux (I

Re: For Félix: my thoughts re #1970

2021-06-11 Thread tbp1...@gmail.com
I am completely in agreement with the program of having the one server instead of two or more. It seems to be that leointeg's server does not need to contain anything specific to leointeg, except possibly having an incomplete command set that is suitable for leointeg's needs. If that is

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
:) On Wednesday, June 9, 2021 at 10:07:41 PM UTC-4 Félix wrote: > > Thanks Thomas and Edward! That was great bug hunting! > On Wednesday, June 9, 2021 at 8:31:30 PM UTC-4 Edward K. Ream wrote: > >> On Wed, Jun 9, 2021 at 7:25 PM tbp1...@gmail.com >> wrote: >>

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
I'll need the meeting info ... On Wednesday, June 9, 2021 at 8:23:25 PM UTC-4 Félix wrote: > good idea :) > > On Wednesday, June 9, 2021 at 8:22:00 PM UTC-4 Edward K. Ream wrote: > >> On Wed, Jun 9, 2021 at 6:49 PM Félix wrote: >> >>> you guys wanna zoom at 8:20 EST ? or around that time? >>>

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
EST ? or around that time? > > On Wednesday, June 9, 2021 at 7:36:23 PM UTC-4 tbp1...@gmail.com wrote: > >> On Wednesday, June 9, 2021 at 6:13:10 PM UTC-4 Edward K. Ream wrote: >> >>> On Wed, Jun 9, 2021 at 4:59 PM Edward K. Ream wrote: >>> >>> Now

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
On Wednesday, June 9, 2021 at 7:36:23 PM UTC-4 tbp1...@gmail.com wrote: > >> ... Of course, I haven't been able to get the extension to open the > server on its own yet, so maybe that's the reason. > I finally got the extension to launch the *leobridgeserver* on its own. I wro

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
On Wednesday, June 9, 2021 at 6:13:10 PM UTC-4 Edward K. Ream wrote: > On Wed, Jun 9, 2021 at 4:59 PM Edward K. Ream wrote: > > Now there is more progress, but still no real joy. When starting the >> server I get: >> >> >> Starting server with command:

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
ix 1) - so that vscode will successfully launch the server - and 2) is probably a good idea so that we don't end up with forgotten zombie servers lying around. On Wednesday, June 9, 2021 at 6:16:16 PM UTC-4 Edward K. Ream wrote: > On Wed, Jun 9, 2021 at 5:11 PM tbp1...@gmail.com > wrote:

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
leointeg without using leobridgeserver from Felix's repo. On Wednesday, June 9, 2021 at 5:59:54 PM UTC-4 Edward K. Ream wrote: > On Wed, Jun 9, 2021 at 4:18 PM tbp1...@gmail.com > wrote: > >> So we may have been talking about different versions. > > > Yes, it's all confus

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
there, everything works as before. On Wednesday, June 9, 2021 at 4:50:40 PM UTC-4 tbp1...@gmail.com wrote: > I have updated my local repo devel branch from Leo's github rep. Now I > can run the leoserver.py file that's in the Leo repo. But, as Edward > reported, it doesn't actu

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
mechanism working again. On Wednesday, June 9, 2021 at 4:13:08 PM UTC-4 Edward K. Ream wrote: > On Wed, Jun 9, 2021 at 2:49 PM Edward K. Ream wrote: > >> >> >> On Wed, Jun 9, 2021 at 10:25 AM tbp1...@gmail.com >> wrote: >> >>> Here is the simplest, c

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
On Wednesday, June 9, 2021 at 4:13:08 PM UTC-4 Edward K. Ream wrote: > Thomas, would you like to zoom with Félix and me when Félix is available? > Sure, I'd be happy to. I've got the Zoom app on this new computer; this would be its first outing. -- You received this message because you

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
t; >> >> On Wed, Jun 9, 2021 at 10:25 AM tbp1...@gmail.com >> wrote: >> >>> Here is the simplest, cleanest way I have found to get the extension >>> working. I assume that the leo settings have already been set: >> >> >> Thanks for this. We

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
I wrote - On Wednesday, June 9, 2021 at 11:25:26 AM UTC-4 tbp1...@gmail.com wrote: > Here is the simplest, cleanest way I have found to get the extension > working. I assume that the leo settings have already been set: > ... > 5. There should be a pane in the left-hand

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
r over the top line of the "Integration" pane and click on the settings icon (the right-hand one of the two icons that will appear). This will open a settings pane where you can enter or change the path to the server file. On Wednesday, June 9, 2021 at 9:26:59 AM UTC-4 tbp1...@gmail.co

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
On Wednesday, June 9, 2021 at 9:09:03 AM UTC-4 Edward K. Ream wrote: > > To summarize what I have so far, in the "Leo Integration Settings" panel > (the blue link) I have: > > Start Server: Off > Connect to Sever: Off > Leo Server Path: c:\leo.repo\leo-editor\leo\core\leoserver.py > Python

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
e the .cmd extension). This works for running *leointeg*, but not for starting the server. On Wednesday, June 9, 2021 at 8:57:34 AM UTC-4 Edward K. Ream wrote: > On Wed, Jun 9, 2021 at 7:27 AM tbp1...@gmail.com > wrote: > >> Felix, I had already worked through your various screens

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
On Wednesday, June 9, 2021 at 8:27:45 AM UTC-4 tbp1...@gmail.com wrote: > As I think about it, I recall that when I ask vsc to launch the leointeg > server, I see a terminal-like panel that shows my python batch file being > launched but doesn't show any command line arguments

Re: Problems running leoInteg

2021-06-09 Thread tbp1...@gmail.com
Felix, I had already worked through your various screens before I finally got leointeg working. The only way I could get it to run was by starting the server externally, in a console window. Just now I manually started it in a terminal window within vscode and that worked (as expected). It

Re: Problems running leoInteg

2021-06-08 Thread tbp1...@gmail.com
On Tuesday, June 8, 2021 at 5:50:40 PM UTC-4 Félix wrote: > Hi all :) > > First - make sure you ran 'npm install' in leointeg's project folder to > fetch any new dependencies that may have been updated since last time. > I finally realized to do this, but it took some time. It brought in a

Re: Problems running leoInteg

2021-06-08 Thread tbp1...@gmail.com
; >> I know it wont help you, hehe, but on both my windows and linux >> machines, everything works without any special settings / string with my >> vanilla installations of python. (I'm not a python expert who has many >> pythons/anaconda/etc...) >> >> *Not

Re: Problems running leoInteg

2021-06-08 Thread tbp1...@gmail.com
, 2021 at 3:43:54 PM UTC-4 tbp1...@gmail.com wrote: > That sets the python version for vscode, but it didn't seem to set it for > leointeg. There is some setting for leo-integ where you can set it. I've > found it twice, but I still don't actually know how to get to the setting. &

Re: Problems running leoInteg

2021-06-08 Thread tbp1...@gmail.com
I start the Leo Bridge from a console, how do I know it's still running and how do I stop it? On Tuesday, June 8, 2021 at 3:23:26 PM UTC-4 tbp1...@gmail.com wrote: > I found out how to get VScode to run a particular file for the Python > command: > > " Under the view menu sel

Re: Problems running leoInteg

2021-06-08 Thread tbp1...@gmail.com
PYTHONPATH to point to my Leo git repo. I wrote a little cmd file to do it. On Tuesday, June 8, 2021 at 12:42:38 PM UTC-4 Edward K. Ream wrote: > On Tue, Jun 8, 2021 at 11:19 AM tbp1...@gmail.com > wrote: > >> That setting is from Windows, not vscode. I get that same error if

Re: Problems running leoInteg

2021-06-08 Thread tbp1...@gmail.com
That setting is from Windows, not vscode. I get that same error if I try to run "python3", even though I have 3.9 installed. I think that leointeg must be asking for python using some name that triggers the response from windows. I went to that Windows setting location, and I could turn off

Re: Free-floating Body Editor Windows?

2021-06-07 Thread tbp1...@gmail.com
On Monday, June 7, 2021 at 3:02:36 AM UTC-4 gar wrote: > when your organize code with sections (like LEO's nodes) and navigate with > search only - you dont see your code and it become's like LEO's code itself > (take a look into original source in a plain text editor - and you'll get >

Re: Free-floating Body Editor Windows?

2021-06-06 Thread tbp1...@gmail.com
On Sunday, June 6, 2021 at 8:42:57 AM UTC-4 tbp1...@gmail.com wrote: > Thanks for your interest! I am not sure what you are asking for. In > fact, I'm not sure what the "ctags" are. The intent of the plugin is to > focus on a single node. The plugin maintains a referen

Re: What Leo's Plugins Do

2021-06-06 Thread tbp1...@gmail.com
be questionable, too. *Inspect* works on loaded code. If I wanted to load the code, I could just have asked for the docstring directly, I think, no need for *inspect*. On Sunday, June 6, 2021 at 3:34:49 PM UTC-4 Edward K. Ream wrote: > On Sat, Jun 5, 2021 at 9:05 AM tbp1...@gmail.com >

Re: Free-floating Body Editor Windows?

2021-06-06 Thread tbp1...@gmail.com
Thanks for your interest! I am not sure what you are asking for. In fact, I'm not sure what the "ctags" are. The intent of the plugin is to focus on a single node. The plugin maintains a reference to the commander of its underlying node, so almost anything would be possible in principle.

What Leo's Plugins Do

2021-06-05 Thread tbp1...@gmail.com
There are a lot of plugins for Leo, but it's hard to know what they all do. Some of them are mentioned in various Leo documentation, but I find it hard to find and understand when I wonder about a particular one. So I wrote a Python script to extract the docstring from each .py file in the

Re: Free-floating Body Editor Windows?

2021-06-04 Thread tbp1...@gmail.com
* branch. The file is at *leo/plugins/freewin.py*. On Wednesday, June 2, 2021 at 11:55:51 PM UTC-4 tbp1...@gmail.com wrote: > I have revised and fixed some bugs. The free-floating viewing window can > now render Restructured Text as well as show an editing pane. This can be > usefu

Re: The execute-general-script command is ready for testing

2021-06-01 Thread tbp1...@gmail.com
By coincidence, I have just been working on a script to run an external file (@file, @clean, etc) using an arbitrary program. My script launches the executing program against the saved external file. I'll look at your code later today. I found three main things to work out: 1. How to

Re: Free-floating Body Editor Windows?

2021-05-28 Thread tbp1...@gmail.com
Thanks. I'll be doing some more testing first, though. On Friday, May 28, 2021 at 4:52:59 PM UTC-4 Edward K. Ream wrote: > On Fri, May 28, 2021 at 1:18 PM tbp1...@gmail.com > wrote: > > I haven't asked for this plugin to be merged into Leo yet >> > > Feel free to cre

Re: Free-floating Body Editor Windows?

2021-05-28 Thread tbp1...@gmail.com
, and restart Leo. Select a node to work with, and run the command named *z-open-win*. On Tuesday, May 25, 2021 at 11:07:16 AM UTC-4 Edward K. Ream wrote: > On Mon, May 24, 2021 at 11:18 PM tbp1...@gmail.com > wrote: > >> Turns out that *edit-pane-test-open* is almost there. >

Re: Free-floating Body Editor Windows?

2021-05-24 Thread tbp1...@gmail.com
actually wanted to do. So maybe it's no longer useful to anyone else. I might want to tinker with it, but not if it's actually used. On Monday, May 24, 2021 at 12:14:53 PM UTC-4 Edward K. Ream wrote: > On Mon, May 24, 2021 at 10:07 AM tbp1...@gmail.com > wrote: > >> Well, yes but

Re: Free-floating Body Editor Windows?

2021-05-24 Thread tbp1...@gmail.com
editors in a single floating window. On Monday, May 24, 2021 at 7:55:02 AM UTC-4 Edward K. Ream wrote: > On Sun, May 23, 2021 at 9:36 AM tbp1...@gmail.com > wrote: > > I now have a case where it would be useful to have several free-floating >> body editor windows ope

Re: Stripped trailing blanks

2021-05-23 Thread tbp1...@gmail.com
You could collect the body text yourself, It's not hard. For a selected node, you can find the entire subtree like this: p = c.p tree = [p] tree.extend(p.subtree()) # tree includes entire tree starting at selected node You can collect all the text from these nodes easily as long as you don't

Free-floating Body Editor Windows?

2021-05-23 Thread tbp1...@gmail.com
Leo can have more than one body editor open at a time. Though it can get confusing about which node is in which window, this can be useful. I now have a case where it would be useful to have several free-floating body editor windows open at the same time. They should be resizable and

Re: Location of 'leoserver.py' & 'leoclient.py' in Leo's directory structure?

2021-05-20 Thread tbp1...@gmail.com
> that person to just start Leo, open leopyref.leo, hit ctrl+s, and have > launchLeo.py , flake8-leo.py, launchLeo-console.py, etc. be generated in > their root Leo installation folder? > > Thanks to anyone who answers this question! > -- > Félix > > On Thurs

Re: Location of 'leoserver.py' & 'leoclient.py' in Leo's directory structure?

2021-05-20 Thread tbp1...@gmail.com
In my view, Leo *is* a 3rd party python package and should be installable via pip. It is true that some Linux systems will tinker with the directories, paths, etc and want you to install certain packages using their own package manager. But Leo as a project can't cater to all these possible

QT6 WebEngine Coming In Fall 2021

2021-05-19 Thread tbp1...@gmail.com
" Qt 6.2 LTS is targeted for the end of September 2021." ref: Qt6 Roadmap -- 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

Re: First draft: documentation for leoservers.py

2021-05-15 Thread tbp1...@gmail.com
I think that a basic HTTP capability could be useful. For example, the server could report its version, status, documentation files, etc., in a browser-readable way for very little effort. It could be ordered to shut down outside the normal Leo-based chain of command, which could be useful

Re: First draft: documentation for leoservers.py

2021-05-15 Thread tbp1...@gmail.com
so I would be able to actually construct, send, and reply to one. On Saturday, May 15, 2021 at 6:12:42 AM UTC-4 Edward K. Ream wrote: > On Fri, May 14, 2021 at 11:39 PM tbp1...@gmail.com > wrote: > >> Looking at this and thinking about it a bit for the first time, I have >> t

Re: First draft: documentation for leoservers.py

2021-05-14 Thread tbp1...@gmail.com
Looking at this and thinking about it a bit for the first time, I have the reaction that an HTTP server should respond to at least GET and POST requests. The draft docs say nothing about this. The server docs should at least explain how to send a request to the server. It should not be left

Re: devel is complete and probably fixes Qt6 problems

2021-05-13 Thread tbp1...@gmail.com
The spurious key hash is gone in today's changeset: Leo 6.4-devel, devel branch, build 0e9b4ed69e 2021-05-13 05:32:07 -0500 Python 3.9.5, PyQt version 6.0.2 Windows 10 AMD64 (build 10.0.19042) SP0 On Thursday, May 13, 2021 at 6:41:56 AM UTC-4 Edward K. Ream wrote: > The ekr-lossage branch

Re: leo + mac: Old light themes and shortcut for edit headline?

2021-05-12 Thread tbp1...@gmail.com
About themes, what I do is to specify a non-existent theme, then add a few settings to tweak the appearance, which is much like the old one. Here is what I put in MyLeoSettings.leo: @settings @string theme-name = xxtbp_default_theme No-theme Appearance Settings @string font-size

Re: ekr-qt merged into devel

2021-05-10 Thread tbp1...@gmail.com
I added one space to LeoPyRef.leo then saved it. I got the same massive size reduction. Then I looked at the before-after files with kdiff3. There were big chunks of code missing. Often they were entire nodes, but I think not always. So not just a matter of converting spaces to tabs.

Re: Please test the ekr-qt branch (Qt6) *regardless* of your qt version

2021-05-09 Thread tbp1...@gmail.com
I see the same issues on my linux installation - including the weird keyboard behavior. I didn't see error messages about fonts, though. On Sunday, May 9, 2021 at 10:41:48 AM UTC-4 tbp1...@gmail.com wrote: > From scanning the web, it seems that the unsupported font problem may be > r

Re: Please test the ekr-qt branch (Qt6) *regardless* of your qt version

2021-05-09 Thread tbp1...@gmail.com
ont doesn't work with the current PyQt6, the fallback is used, which may be Courier New - I'm not sure but I don't like it much, whatever it is. On Sunday, May 9, 2021 at 10:00:03 AM UTC-4 tbp1...@gmail.com wrote: > As to the bad characters being injected, I wrote a tiny pyqt6 app with > only a

Re: Please test the ekr-qt branch (Qt6) *regardless* of your qt version

2021-05-09 Thread tbp1...@gmail.com
, 2021 at 7:30:51 AM UTC-4 Edward K. Ream wrote: > On Sat, May 8, 2021 at 11:07 PM tbp1...@gmail.com > wrote: > >> I just installed PyQt6.02 on Windows. Leo opens and runs, but remember >> that weird behavior, where pressing the CNTL key deleted the selection and >>

Re: Please test the ekr-qt branch (Qt6) *regardless* of your qt version

2021-05-08 Thread tbp1...@gmail.com
g for "MS UI Gothic", script 32 OpenType support missing for "SimSun", script 32 OpenType support missing for "Arial Unicode MS", script 32 OpenType support missing for "Segoe UI Emoji", script 32 OpenType support missing for "Segoe UI Symbol&quo

Re: Please test the ekr-qt branch (Qt6) *regardless* of your qt version

2021-05-08 Thread tbp1...@gmail.com
The branch is working for me, with no PyQt6 installed yet. I haven't tried anything besides basic use, but so far, so good. On Friday, May 7, 2021 at 4:33:21 PM UTC-4 viktor@gmail.com wrote: > Hello Edward, > > Edward K. Ream schrieb am Samstag, 10. April 2021 um 22:25:29 UTC+2: > >> The

Remarkable Visualization Of A Project's Commits

2021-05-08 Thread tbp1...@gmail.com
I came across this visualization of the Github commits of the Git-Extensions project: https://www.youtube.com/watch?v=k6DhHbzkZvM I'm not quite sure what it all means, but it's fascinating to watch. The command parameters that were used to make it re given in the video's

Re: PR #1924 merged into devel

2021-05-07 Thread tbp1...@gmail.com
*@file leoQt.py* in *LeoPy.leo *and *LeoPyRef.leo* is *@@leoQt.py*. Better restore to *@file* before this version is finalized. On Thursday, May 6, 2021 at 8:19:15 AM UTC-4 Edward K. Ream wrote: > PR #1924 cleans > considerable cruft from

Re: Please test the ekr-fullPath branch

2021-04-30 Thread tbp1...@gmail.com
On Friday, April 30, 2021 at 6:54:17 PM UTC-4 Edward K. Ream wrote: > On Fri, Apr 30, 2021 at 3:26 PM tbp1...@gmail.com > wrote: > >> *g.fullPath* is a really good method. > > > If you don't care whether there is an @ in p or p's ancestors, > you could do som

Re: Please test the ekr-fullPath branch

2021-04-30 Thread tbp1...@gmail.com
*g.fullPath* is a really good method. I could wish that it would return a directory instead of None when the path is to a directory instead of a file, but I suppose that would break some things that use it. It could have a new *returnDir=False* argument, so that nothing downstream get broken.

Re: Improve Debian Font Display

2021-04-27 Thread tbp1...@gmail.com
These changes may only affect display with DejaVu Sans Mono, Bitstream Vera, and generally smaller sizes of monospaced font. I've set up DejaVu as the display font for Leo, so it works out well. On Tuesday, April 27, 2021 at 9:29:01 AM UTC-4 tbp1...@gmail.com wrote: > Since the thr

Improve Debian Font Display

2021-04-27 Thread tbp1...@gmail.com
Since the thread on Debian installations got be working with Debian, I found this page https://unix.stackexchange.com/questions/529598/why-does-ubuntu-render-fonts-better-than-debian It gives some changes to the font config files that are supposed to get Debian to render (at least some) fonts

Re: Please test the ekr-1903-path branch

2021-04-23 Thread tbp1...@gmail.com
This appears in brief testing to work as intended. The most tricky thing I tested: - ekr-path-test - @path ~\ekr-test -@file ~\ekr-tricky-test\test1.txt What should be the directory path for *test1.txt*? I would expect that the *~\ekr-tricky-test\ *should override the path in

Re: Request for slight tweak when editing new headlines

2021-04-22 Thread tbp1...@gmail.com
Here is the simplest thing that could work, I think. Try this out in your workbook or some equivalent place to make sure it does what you want. Create a new node, named perhaps "Insert Time in Head". Put the following into the body: p.h = '' c.k.simulateCommand('insert-headline-time') (There

Re: OS X Leo loses track of focused .leo file and/or focused node tree

2021-04-19 Thread tbp1...@gmail.com
on) and I have to close Leo to get back to normal. > > None of the above happens on either Windows or Ubuntu installs. > > > On Sunday, April 18, 2021 at 7:55:19 PM UTC-4 tbp1...@gmail.com wrote: > >> Would you check one thing about this? When the VR pane is opened, it &g

Re: OS X Leo loses track of focused .leo file and/or focused node tree

2021-04-18 Thread tbp1...@gmail.com
Would you check one thing about this? When the VR pane is opened, it will probably capture the focus, but that would not be visible. If the focus were to get placed back way from the VR pane, say the body or outline tree, the Close command might work again. And would you be so good to try

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-14 Thread tbp1...@gmail.com
heme at all; I have some settings in in MyLeoSettings for font-family, etc. To avoid invoking the default theme, I'm specifying a non-existent theme name. On Wednesday, April 14, 2021 at 5:35:41 AM UTC-4 Edward K. Ream wrote: > On Tue, Apr 13, 2021 at 9:51 PM tbp1...@gmail.com > wr

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-13 Thread tbp1...@gmail.com
I get the odd glyphs but not the words "ctrl" or "shift" In a headline, I get what seem to be the same glyphs. I'm thinking illegal o broken utf-8 byte arrays instead of strings, maybe. On Tuesday, April 13, 2021 at 5:38:56 PM UTC-4 tbp1...@gmail.com wrote: > Right. > &g

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-13 Thread tbp1...@gmail.com
Right. On Tuesday, April 13, 2021 at 4:25:26 PM UTC-4 Edward K. Ream wrote: > On Tue, Apr 13, 2021 at 10:39 AM tbp1...@gmail.com > wrote: > >> This behavior makes it impossible to do any editing in Leo/pyqt6. >> > > I can imagine. > > Just now I want to mov

Re: How I manage environments

2021-04-13 Thread tbp1...@gmail.com
How are you launching python to use or not to use pyqt6? Do you actually have separate Python installations? On Tuesday, April 13, 2021 at 12:11:53 PM UTC-4 tbp1...@gmail.com wrote: > I also use a batch file to launch Python 3.8. In my case, I also have > Python 2.7 on the machine, and

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-13 Thread tbp1...@gmail.com
. But I couldn't get it to run until I fixed qt_text. How did you manage it? I don't know what qt_text does, really, but it's imported even though it's not in my enabled plugins list. On Tuesday, April 13, 2021 at 11:39:46 AM UTC-4 tbp1...@gmail.com wrote: > This behavior makes it impossi

Re: How I manage environments

2021-04-13 Thread tbp1...@gmail.com
I also use a batch file to launch Python 3.8. In my case, I also have Python 2.7 on the machine, and paths for 2.7 are in the path. So my batch file also mangles those 2.7 paths so they don't interfere with the 3.8 ones. (I still need 2.7 for work on one particular project). I'm considering

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-13 Thread tbp1...@gmail.com
OK, done. On Tuesday, April 13, 2021 at 10:14:03 AM UTC-4 Edward K. Ream wrote: > On Mon, Apr 12, 2021 at 1:59 PM tbp1...@gmail.com > wrote: > >> I got qt_text to work - at least on the surface - with these changes: >> > ... > >> If you want, I can push these

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-13 Thread tbp1...@gmail.com
021 at 3:49 PM tbp1...@gmail.com > wrote: > >> The shift and ALT keys also do the same thing - delete the selection. >> The strange characters get inserted when I press . This is using >> qt6, of course. >> > > Again, I see nothing like this. I've been using t

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-13 Thread tbp1...@gmail.com
No. My keyboard is a logitech wireless one. I don't have any other to try out. I haven't changed the Windows keyboard settings. On Tuesday, April 13, 2021 at 11:09:16 AM UTC-4 Edward K. Ream wrote: > On Mon, Apr 12, 2021 at 2:58 PM tbp1...@gmail.com > wrote: > >>

Re: VR3 Working With Both Qt6 and Qt5, But ...

2021-04-13 Thread tbp1...@gmail.com
with VR3/qt6 is going to have to wait until QWebEngine or an equivalent is available with QT6. On Monday, April 12, 2021 at 11:49:24 PM UTC-4 tbp1...@gmail.com wrote: > I was able to get VR3 working with Qt6, but I had to switch to using a > QTextBrowser instead of a QWebEngine, sin

VR3 Working With Both Qt6 and Qt5, But ...

2021-04-12 Thread tbp1...@gmail.com
I was able to get VR3 working with Qt6, but I had to switch to using a QTextBrowser instead of a QWebEngine, since Qt6 doesn't yet have a QWebEngine class. These changes work with Qt5 as well, but the result isn't satisfactory because the QTextBrowser isn't using the css stylesheet for

Re: ekr-qt branch Leo Won't Start When pyqt6 installed

2021-04-12 Thread tbp1...@gmail.com
On Apr 12, 2021, at 6:00 PM, tbp1...@gmail.com wrote: > >  > > Here is how I configured my installation to let me either use or not use > pyqt6. Obviously it's a Windows computer: > > 1. Create new directory. I used %USERPROFILE%\.python\site-packages > 2. Cut all the

<    1   2   3   4   5   6   7   8   9   >