Re: ✨LeoJS beta 0.2.0 Released!

2023-12-10 Thread Thomas Passin
\node\extensionHostProcess.js:140:6218) at async u.l (c:\Users\tom\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:140:5675) On Sunday, December 10, 2023 at 10:06:13 PM UTC-5 Thomas Passin wrote: > I'm afraid I can't get started. The b

Re: ✨LeoJS beta 0.2.0 Released!

2023-12-10 Thread Thomas Passin
I'm afraid I can't get started. The beta insists on opening a repo first, but I can't figure out how to either find my own repos or to get authenticated for Github. I'd rather start working on a .leo file that isn't in a repo at all. I'm never going to have all my outlines in a repo, but I

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread Thomas Passin
On Sunday, December 10, 2023 at 9:08:27 AM UTC-5 Thomas Passin wrote: On Sunday, December 10, 2023 at 8:23:53 AM UTC-5 Edward K. Ream wrote: To see these in action, run a test program in *another* console. ... You don't need to do this for a script that doesn't change code that Leo uses

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread Thomas Passin
On Sunday, December 10, 2023 at 9:26:06 AM UTC-5 iamap...@gmail.com wrote: On Sunday, December 10, 2023 at 8:23:53 AM UTC-5 Edward K. Ream wrote: To see these in action, run a test program in *another* console. This little tip is remarkably useful. Whether you are working on Leo code or your

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread Thomas Passin
On Sunday, December 10, 2023 at 8:23:53 AM UTC-5 Edward K. Ream wrote: To see these in action, run a test program in *another* console. This little tip is remarkably useful. Whether you are working on Leo code or your own, each time you want to test a change run a new copy of Leo and keep

Re: Fix For Ctrl-Click On UNL Not Opening Outline

2023-12-09 Thread Thomas Passin
On Saturday, December 9, 2023 at 11:57:09 PM UTC-5 lewis wrote: I set myLeoSettings file to: @string unl-status-kind = legacy I then created a *new* leo file and created a new node: Test UNLs for Thomas - legacy You are correct the new version UNLs don't have the full path to the file:

Re: Fix For Ctrl-Click On UNL Not Opening Outline

2023-12-09 Thread Thomas Passin
What version or changeset are you running? It's been broken for me in devel for a while, and also in 6.7.5. I get UNLs from nodes, and they look like this: unl:gnx://LeoPyRef.leo#ekr.20230630132340.1 (New style) unl://workbook.leo#get unl body ("Legacy" style) Neither form works for me with

Fix For Ctrl-Click On UNL Not Opening Outline

2023-12-09 Thread Thomas Passin
Ctrl-clicking on a UNL string in a node is supposed to navigate to that location, even if it's in another outline. That outline should open if it's not already. But after the recent changes to the UNL design, the functionality only works within the same outline. It won't open an outline and

Re: recommend an approach or path to learning more about Leo

2023-12-09 Thread Thomas Passin
Leo programming can definitely be a challenge. It's tempting to say "go look at plugin X", for example, but what's really needed is a way to find out how to do things, how to discover the right existing part of Leo's code base, and how to go about the work effectively. There isn't anything

Re: mod_http plugin issue

2023-11-28 Thread Thomas Passin
It uses an obsolete module. As of Python 3.12, from the Python docs for asynchat: "Deprecated since version 3.6, will be removed in version 3.12: The asynchat module is deprecated (see *PEP 594*

Re: jupyter notebook use issue

2023-11-27 Thread Thomas Passin
Python. On Monday, November 27, 2023 at 8:00:34 AM UTC-5 Thomas Passin wrote: > Very sweet, and ideally suited to work with Leo. > > On Monday, November 27, 2023 at 2:52:53 AM UTC-5 iamap...@gmail.com wrote: > >> Ok, it seems jupytext is the right choice. It can pair notebo

Re: jupyter notebook use issue

2023-11-27 Thread Thomas Passin
Very sweet, and ideally suited to work with Leo. On Monday, November 27, 2023 at 2:52:53 AM UTC-5 iamap...@gmail.com wrote: > Ok, it seems jupytext is the right choice. It can pair notebook with > python file. I just use Leo to handle the python files :-D Great! > >

Re: jupyter notebook use issue

2023-11-26 Thread Thomas Passin
There used to be some support for Jupyter notebooks, but over time it became clear that it didn't work well. You could read them but not interact or modify them effectively. Since you can read them better in a browser, the support was removed. On Sunday, November 26, 2023 at 9:54:44 PM UTC-5

Re: Leo, @auto-md, and Markdeep

2023-11-26 Thread Thomas Passin
I tried to reply twice - innocuously - but the system deleted my posts immediately. That hasn't happened on other threads. Anyone understand why? On Saturday, November 25, 2023 at 9:49:55 PM UTC-5 Edward K. Ream wrote: > On Tuesday, November 21, 2023 at 1:19:17 PM UTC-6 UrbanUnPlanner wrote:

Re: Discuss: Always write Black-compatible sentinels

2023-11-25 Thread Thomas Passin
My main reaction is to make sure that Leo's read behavior remains backwards compatible with the pre-black sentinel format. People with much older outlines should be able to open them for the indefinite future. It's also possible that there is some user code that does something with sentinels

Re: Scripts For Using Current Directory Updated

2023-11-22 Thread Thomas Passin
just click it and the system's file manager/Windows Explorer window opens on that directory. Now you can copy those image files to the *images* subdirectory. On Wednesday, November 22, 2023 at 11:38:36 AM UTC-5 Edward K. Ream wrote: > On Wed, Nov 22, 2023 at 9:57 AM Thomas Passin wr

Re: Scripts For Using Current Directory Updated

2023-11-22 Thread Thomas Passin
On Wednesday, November 22, 2023 at 9:58:53 AM UTC-5 Edward K. Ream wrote: On Wed, Nov 22, 2023 at 8:45 AM Thomas Passin wrote: Some time ago I added a few scripts in the form of *@button* nodes that did useful things with the outline's current directory: Would you like to contribute

Scripts For Using Current Directory Updated

2023-11-22 Thread Thomas Passin
Some time ago I added a few scripts in the form of *@button* nodes that did useful things with the outline's current directory: - Open a command window/terminal at the current directory; - Open a file manager window at the current directory; - Copy the current directory to the clipboard.

Re: Autosave functionality does not appear to work

2023-11-22 Thread Thomas Passin
, November 22, 2023 at 8:36:38 AM UTC-5 Thomas Passin wrote: Without commenting on the autosave matter, don't go changing leoSettings.leo. That can change with new releases and your changes will get lost. Put your changes into myLeoSettings.leo. They will override any settings of the same name

Re: Autosave functionality does not appear to work

2023-11-22 Thread Thomas Passin
On Wednesday, November 22, 2023 at 2:22:45 AM UTC-5 terrence...@gmail.com wrote: I then navigated to *Settings -> open LeoSettings.leo* HOWEVER it actually opens a leoSettings.leo not LeoSettings.leo file in c:\code\leo-editor\leo\config I set the autosave interval to 3 seconds and then made

Re: ️ LeoJS status ️

2023-11-21 Thread Thomas Passin
Looking forward to it. On Saturday, November 18, 2023 at 4:57:19 AM UTC-5 Edward K. Ream wrote: > On Fri, Nov 17, 2023 at 9:20 PM Félix wrote: > > Just a small status update to keep the morale of the troops up! > > > Many thanks for this update. And for your attention to detail. > > The delay

Re: ️ LeoJS status ️

2023-11-17 Thread Thomas Passin
Good work, Felix! Cheer up, there will be ten times more bugs than you expect. It's just the normal way of the world. On Friday, November 17, 2023 at 10:20:19 PM UTC-5 Félix wrote: > Just a small status update to keep the morale of the troops up! > > I've finally made the dreaded leoCache.ts

Re: PR #3564 (beautify only changed files) merged into devel

2023-11-15 Thread Thomas Passin
I haven't really been aware of it. I'm always leery of forced or automatic formatting changes, so I like to be able to say when I want it to happen. On Wednesday, November 15, 2023 at 8:14:24 AM UTC-5 Edward K. Ream wrote: > PR #3654 allows

Re: [share] Cursorless - Structural voice coding at the speed of thought

2023-11-10 Thread Thomas Passin
That's really interesting. And yet I would not be able to use it. Marking each token semi-unobtrusively is cool, but I am fairly red-green color blind and can't distinguish or in some cases even recognize the colors of those dots. The areas of the token markers would have to be much larger,

Re: LLMs as Collaborators

2023-11-06 Thread Thomas Passin
Here's another installment of Jon Udell's LLM chat experiments - Let’s Talk: Conversational Software Development On Friday, September 8, 2023 at 9:46:36 PM UTC-4 iamap...@gmail.com wrote: > Learning While Coding: How LLMs

Re: Multiple views of a single leo file

2023-11-02 Thread Thomas Passin
If you want to work on a single node in a second view, the Freewin plugin will do that. You can open a Freewin window on any node, and each FW window will remain locked to its node, so you can arrange several of them along with the main Leo window. The Freewin window contains a text editor -

New Python Linter/Formatter Written In Rust

2023-10-25 Thread Thomas Passin
Possibly of interest for Leo to replace pylint, etc - The Ruff Formatter -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this

Use python -m pip instead of plain pip

2023-10-23 Thread Thomas Passin
In many places, I (and others) keep saying you should invoke *pip* using python -m pip instead of plain pip Here is a page that goes into it in more detail. It also turns out that *python -m pip* is needed to update pip itself, which I didn't know. Why you should use python -m pip

Re: Leo 6.7.5 Status report

2023-10-17 Thread Thomas Passin
Using cached leo-6.6.2-2.tar.gz (13.9 MB) Installing build dependencies ... canceled ERROR: Operation cancelled by user On Tuesday, October 17, 2023 at 7:39:27 AM UTC-4 Thomas Passin wrote: > I'll try it out. > > On Tuesday, October 17, 2023 at 4:57:41 AM UTC-4 Edward K. Ream wrote: > &

Re: Leo 6.7.5 Status report

2023-10-17 Thread Thomas Passin
I'll try it out. On Tuesday, October 17, 2023 at 4:57:41 AM UTC-4 Edward K. Ream wrote: > On Mon, Oct 16, 2023 at 5:29 PM Thomas Passin wrote: > > Do you have an approach to let Leo pip-install under Python 3.12? It >> would be good to have that accomplished by 6.7.6, if not so

Re: Leo 6.7.5 Status report

2023-10-16 Thread Thomas Passin
Do you have an approach to let Leo pip-install under Python 3.12? It would be good to have that accomplished by 6.7.6, if not sooner. On Monday, October 16, 2023 at 5:27:02 PM UTC-4 Edward K. Ream wrote: > On Saturday, October 7, 2023 at 7:11:44 AM UTC-5 Edward K. Ream wrote: > > > I'm going

Re: Quick steps on how I got Leo working on Windows 11

2023-10-16 Thread Thomas Passin
On Monday, October 16, 2023 at 12:33:24 AM UTC-4 map...@gmail.com wrote: Installing Leo from Pypi on Py v3.12 will not work until next Leo release (see https://github.com/leo-editor/leo-editor/pull/3612 and https://github.com/leo-editor/leo-editor/issues/3615) That's because of the

Re: Leo Install Failure On Windows/Python 3.12

2023-10-16 Thread Thomas Passin
to work normally. (I normally run Leo from my clone directory, not the PyPi verson). Of course, you have to manually install any dependencies that didn't get installed when the pip install failed. On Friday, October 13, 2023 at 2:09:46 PM UTC-4 Thomas Passin wrote: > Note that after I manua

Re: Quick steps on how I got Leo working on Windows 11

2023-10-15 Thread Thomas Passin
sudo setx /M PIPX_BIN_DIR C:\bin Where did we get *sudo* from? Does it come with *winget*? Did this work for Leo with Python 3.12? Because something seems to be mis-configured with what's on PyPi right now, and it doesn't work. On Monday, October 16, 2023 at 12:17:14 AM UTC-4

Re: Quick steps on how I got Leo working on Windows 11

2023-10-14 Thread Thomas Passin
I'd say this is how to get it installed using Anaconda, which apparently is not the same as using Python from python.org. For one thing, using python.org you don't have to install build tools to build pyqt5 (and note that Leo will also work with pyqt6) - pip installs a pre-built package. On

Re: Problem running Leo after installing Python 3.12

2023-10-14 Thread Thomas Passin
My system is running Python 3.12 with PyQt 6.5.2: C:\Users\tom>py -m pip list |find /i "pyqt6" PyQt6 6.5.2 PyQt6-Qt6 6.5.2 PyQt6-sip 13.5.2 PyQt6-WebEngine 6.5.0 PyQt6-WebEngine-Qt6 6.5.2 I had to install it by hand, and the pip install of Leo failed, but

Re: Leo Install Failure On Windows/Python 3.12

2023-10-13 Thread Thomas Passin
Note that after I manually installed pyqt6 and PyQt6-WebEngine, then I was able to run Leo from my Git clone. I don't know yet what functionality might not work. But there was no install by pip into site-packages . On Friday, October 13, 2023 at 2:00:20 PM UTC-4 Thomas Passin wrote: > Hav

Leo Install Failure On Windows/Python 3.12

2023-10-13 Thread Thomas Passin
Having just installed Python3.12 on Windows, I went to install Leo using pip. I got a bog fail with a very long error message, below (I haven't done any diagnosis yet): C:\Tom\git\gf4-project>py -m pip install --user leo Collecting leo Obtaining dependency information for leo from

Re: Problem running Leo after installing Python 3.12

2023-10-12 Thread Thomas Passin
I've not been in a hurry to move to Python 3.12. It's only been out a short while, I don't know how many of the dependencies work yet with 3.12, and so why shouldn't I wait for a while and let everything mature longer? On Thursday, October 12, 2023 at 12:38:01 PM UTC-4 jkn wrote: > > Yes,

Re: Are the 'eval' commands working? or is it just me?

2023-10-09 Thread Thomas Passin
The *valuespace* plugin does something like this, but I found it confusing to use. On Monday, October 9, 2023 at 9:11:37 AM UTC-4 Edward K. Ream wrote: > > > On Mon, Oct 9, 2023 at 7:34 AM Thomas Passin wrote: > > I was not aware of [Leo's eval commands] before Felix pos

Re: Are the 'eval' commands working? or is it just me?

2023-10-09 Thread Thomas Passin
On Monday, October 9, 2023 at 7:26:13 AM UTC-4 Edward K. Ream wrote: ... execute-script will suffice for any conceivable purpose. Your troubles indicate that nobody is using the eval commands. I was not aware of them before Felix posted this thread, for what that's worth. I wrote a script

Re: Moving beyond Leo

2023-10-01 Thread Thomas Passin
Agreed, Lilypond is very good. It takes a lot of learning, though. On Sunday, October 1, 2023 at 8:57:25 AM UTC-4 Edward K. Ream wrote: > On Sun, Oct 1, 2023 at 7:44 AM Thomas Passin wrote: > >> >> On Sunday, October 1, 2023 at 8:07:05 AM UTC-4 Edward K. Ream wrote: >>

Re: Moving beyond Leo

2023-10-01 Thread Thomas Passin
On Sunday, October 1, 2023 at 8:07:05 AM UTC-4 Edward K. Ream wrote: Last week, I started playing with LaTeX for what is known as music engraving . Music engraving ... if you want a challenge, well, all right

Re: Discuss: remove ctext importer and writer?

2023-09-13 Thread Thomas Passin
Whatever it is, it could be apparently replaced by Markdown, which also uses ## signs to denote header levels. On Wednesday, September 13, 2023 at 2:11:26 PM UTC-4 Edward K. Ream wrote: > On Wed, Sep 13, 2023 at 12:09 PM Thomas Passin wrote: > > > There's a "ctext" relat

Re: Discuss: remove ctext importer and writer?

2023-09-13 Thread Thomas Passin
There's a "ctext" related to the Chinese Text Project, but it's nothing to do with this one. On Wednesday, September 13, 2023 at 12:38:13 PM UTC-4 Edward K. Ream wrote: > On Wed, Sep 13, 2023 at 11:29 AM jkn wrote: > >> I think I only know about it through reading through the importer for >>

Re: Creating LEO outline from python program outside of LEO

2023-09-10 Thread Thomas Passin
import leoBridge bridge = leoBridge.controller(gui='nullGui',verbose=False) if bridge.isOpen(): g = bridge.globals() c = bridge.openLeoFile(path) On Sunday, September 10, 2023 at 12:53:58 PM UTC-4 Thomas Passin wrote: > You should be able to instantiate Leo with a null

Re: Creating LEO outline from python program outside of LEO

2023-09-10 Thread Thomas Passin
You should be able to instantiate Leo with a null gui, and use its variables, like g. That's what the LeoBridge does. This would construct all the data structures that Leo needs to create outlines and import files. (Disclaimer - I've not done this myself). On Sunday, September 10, 2023 at

LLMs as Collaborators

2023-09-07 Thread Thomas Passin
Another in Jon Udell's series of LLM.Chat experiements - Learning While Coding: How LLMs Teach You Implicitly -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Re: Creating LEO outline from python program outside of LEO

2023-09-07 Thread Thomas Passin
If your notes are not too complicated, here's something you could do. 1. Open a Leo file with at least one of your note subtrees. Select the top node of a note. 2. Copy the node to the clipboard (*Outline/Copy Node*). 3. Open an ordinary text editor and paste the clipboard into it. If you save

Re: Creating LEO outline from python program outside of LEO

2023-09-07 Thread Thomas Passin
Could you say more about what you want to accomplish? Maybe there is another way to go about it. Do you really need to open Leo programmatically from another program? For example, you could write some (non-Leo) file with your program, launch Leo (from your program) with that file on the

Re: Quick Survey: When running script in leojs, where should the 'vscode' object be accessible?

2023-09-03 Thread Thomas Passin
That's very nice! What is the scope of variable defined in a script like this? For example, you wrote const userInput = await vscode where I would have expected let userInput = If the script were to be run again, then *userInput* might want to take on a different value which would

Re: When scripting with Leo, how to call a command by name?

2023-09-03 Thread Thomas Passin
I've never encountered or used that method. But it's another case where I would resist changing the signature of an existing command. If it's only a matter of making and argument optional, that would be more palatable. The "events" in question here are not Python things but Leo objects.

Re: When scripting with Leo, how to call a command by name?

2023-09-03 Thread Thomas Passin
There's also c.k.simulateCommand('name-of-command'). I'm not sure why there are both, since they seem to do the same thing. With either one, you don't need to supply a fake event. The method takes care of that. I use whichever one I remember first. On Sunday, September 3, 2023 at 9:08:31 PM

Re: Quick Survey: When running script in leojs, where should the 'vscode' object be accessible?

2023-09-02 Thread Thomas Passin
Leo's g, c, and p objects all belong to Leo, not Python or PyQt. if the vscode object belongs to the codebase outside of leojs, I think that g.app.vscode would be more appropriate and easier to use as a reminder of who vscode belongs to. On Saturday, September 2, 2023 at 9:49:43 PM UTC-4

Re: Leointeg - A beginner fumbles!

2023-08-30 Thread Thomas Passin
On Wednesday, August 30, 2023 at 10:13:56 AM UTC-4 Israel Hands wrote: I've been trying to get my sons on board for ever but one is a hard core C guy Have you seen Speed Ream's writeup about how his company uses Leo and gets ~30% productivity improvement (C, C++, and assembler)? It's over

Re: Leointeg - A beginner fumbles!

2023-08-30 Thread Thomas Passin
On Wednesday, August 30, 2023 at 7:36:12 AM UTC-4 Israel Hands wrote: Thomas I'm reading your note about modules and paths - I feel I need to understand this better to make headway. The expression to use with the *-m* flag is the same one you would use to import a module. In the

Re: @auto-md: multiple vnodes with gnx

2023-08-29 Thread Thomas Passin
ok into updating VR3 to give indents relative to the root node instead of all having them the same. Should be easy to do. On Monday, August 28, 2023 at 3:58:26 PM UTC-4 Thomas Passin wrote: > On Monday, August 28, 2023 at 4:56:12 AM UTC-4 p.os...@datec.at wrote: > > Yes, that's the

Re: @auto-md: multiple vnodes with gnx

2023-08-28 Thread Thomas Passin
On Monday, August 28, 2023 at 4:56:12 AM UTC-4 p.os...@datec.at wrote: Yes, that's the point. It simply should work as the RST-plugin does. I wrote a small script that does what I think you want, although only for a single @md file at a time. The top-level node must have a headline that

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread Thomas Passin
Oh, you mean that the headline indent level should translate into the right number of "###" characters? You are right that an @clean file wouldn't do that. What would be just right is the rst3 command, except adapted for MD instead of RsT. I've been thinking there ought to be such a command.

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread Thomas Passin
One possibility is to import an MD file as an @auto-md. This way you will get the sections set up as you expect. Then change it to be an @clean file, then save the outline. After this, the external file will always track what is in your outline (and if you edit the external file with some

Re: Leointeg - A beginner fumbles!

2023-08-23 Thread Thomas Passin
On Wednesday, August 23, 2023 at 9:01:46 PM UTC-4 Félix wrote: Also, i don't know what "-m" does after "py", but since it worked, then perhaps the python command you should put in is "py -m" . This is something that everyone should learn. The -m flag means to run the parameter as a module.

Re: Leointeg - A beginner fumbles!

2023-08-23 Thread Thomas Passin
On Wednesday, August 23, 2023 at 12:32:47 PM UTC-4 Israel Hands wrote: Hi tbp1 - thanks a lot for stopping by with help! Having restarted my machine, I ran the command you suggested and despite throwing up all the errors I listed above the server ran and I can connect from VSCode - hey hey!!

Re: Leointeg - A beginner fumbles!

2023-08-23 Thread Thomas Passin
I tried running leoserver directly and it worked. That is, LeoInteg in VSC was able to connect. I have Leo 6.7.4 installed. Here is the command I used (on Windows): py -m leo.core.leoserver What command did you use to start leoserver.py? On Tuesday, August 22, 2023 at 10:38:28 AM UTC-4

Re: LeoInteg Log Pane Apps

2023-08-22 Thread Thomas Passin
On Tuesday, August 22, 2023 at 3:43:18 AM UTC-4 iamap...@gmail.com wrote: RPCalc Very interesting, Thomas. I'll try it later :D Btw, I found your gf4-project is also an interesting topic, but I haven't had time to play with

Re: LeoInteg Log Pane Apps

2023-08-21 Thread Thomas Passin
Here's the original announcement: RPCalc <https://groups.google.com/g/leo-editor/c/nXPgvH05ZvM/m/l7XBHl0vAQAJ> On Monday, August 21, 2023 at 10:13:37 PM UTC-4 Thomas Passin wrote: > It's a fairly new plugin I wrote, a reverse polish notation (RPN) > calculator - the type that HP

Re: LeoInteg Log Pane Apps

2023-08-21 Thread Thomas Passin
It's a fairly new plugin I wrote, a reverse polish notation (RPN) calculator - the type that HP made famous. It displays in the log pane. I adapted an existing stand-alone calculator. I add a button to all outlines to launch it. See that attached image. On Monday, August 21, 2023 at 9:00:53 

LeoInteg Log Pane Apps

2023-08-21 Thread Thomas Passin
I have posted here about several apps I've written that display in the log pane, including my browser bookmarks manager, the current version of the Viewrended3 plugin (which can optionally display in the log pane), and the RPCalc plugin. Most of them interact with with Leo's tree. They are

Re: LeoInteg 1.0.14 released

2023-08-21 Thread Thomas Passin
I had the same situation. I found I had to update vsc, then restart vsc. I had automatic updates for extensions enabled, and after the restart, Leointeg's version had been updated to 1.0.14. Félix should probably put a note about this into the install docs. On Monday, August 21, 2023 at

Re: Leo 6.7.4 released

2023-08-17 Thread Thomas Passin
17, 2023 at 5:11 PM Thomas Passin wrote: > > I upgraded my Windows 6.7.3 installation to 6.7.4 using pip: >> >> py -m pip install --user --upgrade leo >> >> It installed correctly but I got this deprecation warning: >> >> C:\Users\tom>py -m pip install

Re: Leo 6.7.4 released

2023-08-17 Thread Thomas Passin
I upgraded my Windows 6.7.3 installation to 6.7.4 using pip: py -m pip install --user --upgrade leo It installed correctly but I got this deprecation warning: C:\Users\tom>py -m pip install --upgrade --user leo DEPRECATION: Loading egg at

Re: Discuss: Remove read-outline-only command?

2023-08-15 Thread Thomas Passin
I suppose this command exists in case something goes wrong with an external file such that Leo can't open the outline. I don't know if that is possible or not. Suppose it's possible. I would open a new outline, and try to import that external file in the hopes that I could figure out the

Re: ENB: Ahas re paste-retaining-clones

2023-08-13 Thread Thomas Passin
Best wishes on your birthday from this quarter, too! On Sunday, August 13, 2023 at 1:13:18 PM UTC-4 Edward K. Ream wrote: On Sunday, August 13, 2023 at 12:00:43 PM UTC-5 David Szent-Györgyi wrote: > Thank you for working on your birthday and giving a gift to us all. -- You received this

Re: Press ⌘ then click node

2023-07-27 Thread Thomas Passin
It also works with two slashes: file://. On Thursday, July 27, 2023 at 6:12:27 AM UTC-4 jkn wrote: > Yes, three slashes works for me as well, and is 'correct' as a URI. > > I am not quite sure why I thought it was four slashes. I think I worked > with some app at one point which needed the

Re: Press ⌘ then click node

2023-07-26 Thread Thomas Passin
Not just the first line - any line with a recognizable URL should show that URL to be highlighted, and a CTRL-Click (or the Apple equivalent) on the highlighted URL will navigate you to it in the browser. CTRL-Clicking can navigate you to: - A URL, as above; - a node within a Leo outline (by

Interesting Post on The Old New Thing - Do Nothing At First

2023-07-25 Thread Thomas Passin
Before you try to do something, make sure you can do nothing -- 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: Leo 6.7.4: status report

2023-07-24 Thread Thomas Passin
On Monday, July 24, 2023 at 2:08:34 PM UTC-4 Edward K. Ream wrote: The PR will complete #3452 , a paste-based undo scheme. I'll write a new unit test for the new code. *Note*: the two new unit tests perform three cycles of undo/redo, so

Re: Search for node by GNX with g.findGnx

2023-07-20 Thread Thomas Passin
> >> I didn't word that right. I meant that the string returned by the dialog >> isn't a gnx string that can be found. In my test case, the gnx in the >> clipboard started with "*gnx:*" When I manually removed the "*gnx:*" >> prefix, @Lewis's script r

More on LLM-Assisted Programming

2023-07-19 Thread Thomas Passin
Elevating the Conversation with LLM Assistants -- 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: Search for node by GNX with g.findGnx

2023-07-18 Thread Thomas Passin
I think that findGnx() should work whether or not the string starts with the "gnx:" prefix. On Tuesday, July 18, 2023 at 4:16:31 PM UTC-4 Edward K. Ream wrote: > On Tue, Jul 18, 2023 at 3:07 PM Thomas Passin wrote: > >> I didn't word that right. I meant that the string

Re: Search for node by GNX with g.findGnx

2023-07-18 Thread Thomas Passin
, 2023 at 3:58:56 PM UTC-4 Thomas Passin wrote: > The problem here is not with findGnx() or es_clickable_link(). The > problem is that g.app.gui.runAskOkCancelStringDialog(c,'SEARCH Node by > GNX',"Enter search GNX: ") is failing to find an existing gnx*.* &g

Re: Search for node by GNX with g.findGnx

2023-07-18 Thread Thomas Passin
The problem here is not with findGnx() or es_clickable_link(). The problem is that g.app.gui.runAskOkCancelStringDialog(c,'SEARCH Node by GNX',"Enter search GNX: ") is failing to find an existing gnx*.* Checking to see if it has returned None or not will prevent a exception, but the failure

Re: Discuss: load-leo.html should refer visitors to vscode.dev

2023-07-16 Thread Thomas Passin
As we have discussed in the PR conversation, I think *leoad-leo.html* needs to go away, one way or another. It's way too feeble even if we got it working again. It wouldn't either give visitors a feel for what Leo can do or even a feel that it is well designed. OTOH, who knows when

Re: ENB: About immutable positions

2023-07-15 Thread Thomas Passin
On Saturday, July 15, 2023 at 5:49:29 PM UTC-4 Edward K. Ream wrote: My initial post in this thread showed how Leo could support Imps (Immutable Positions) without changing Leo's Position or VNode classes. I concluded that Imps were not a good idea :-) Vitalije not-so-subtly implies that

Re: Leo 6.7.4 is code complete. Please test

2023-07-15 Thread Thomas Passin
Are these changes merged into the 6.7.4 branch yet? IOW, should we be trying out devel or 6.7.4 On Saturday, July 15, 2023 at 5:12:14 PM UTC-4 Edward K. Ream wrote: > On Saturday, July 15, 2023 at 7:22:47 AM UTC-5 Edward K. Ream wrote: > > > 6.7.4 is code complete. Please test the devel

Re: About undoing commands, especially tree operations

2023-07-15 Thread Thomas Passin
On Saturday, July 15, 2023 at 8:13:11 AM UTC-4 Edward K. Ream wrote: On Sat, Jul 15, 2023 at 7:02 AM Thomas Passin wrote: >> A new data module must be completely compatible will all existing scripts, plugins and Leo's core. I don't believe such a compatible data model is possible. &g

Re: About undoing commands, especially tree operations

2023-07-15 Thread Thomas Passin
On Saturday, July 15, 2023 at 6:11:59 AM UTC-4 Edward K. Ream wrote: A new data module must be completely compatible will all existing scripts, plugins and Leo's core. I don't believe such a compatible data model is possible. I think this is the key here. Using a completely new data model

Re: About undoing commands, especially tree operations

2023-07-14 Thread Thomas Passin
On Friday, July 14, 2023 at 12:14:03 PM UTC-4 Edward K. Ream wrote: I *understated *the performance advantages of VNodes. Leo forms clones in constant time. In comparison, MORE took O(N**2) time to make clones. MORE could be much worse than 100x slower than Leo. Also, MORE made clones by

Re: Leo 6.7.4 on schedule for Friday, July 14

2023-07-14 Thread Thomas Passin
On Friday, July 14, 2023 at 11:52:58 AM UTC-4 Edward K. Ream wrote: Thanks for your testing :-) Have you had to make any changes to your zettelkasten plugin? I actually have two, the one I use all the time and the one I prepared as a stand-alone outline for other people to use. Same for

Re: Leo 6.7.4 on schedule for Friday, July 14

2023-07-14 Thread Thomas Passin
I've been using the 6.7.4 branch for several days and have not hit any problems so far. Leo 6.7.4-devel, 6.7.4 branch, build a20d3abd77 2023-07-11 09:48:21 -0500 Python 3.11.4, PyQt version 6.4.3 Windows 10 AMD64 (build 10.0.19045) SP0 On Tuesday, July 11, 2023 at 10:12:45 AM UTC-4 Edward K.

Re: About undoing commands, especially tree operations

2023-07-14 Thread Thomas Passin
On Friday, July 14, 2023 at 9:23:50 AM UTC-4 Edward K. Ream wrote: Leo's VNode class is the heart of Leo. It has a long history. It handles clones two orders of magnitude faster than the MORE outliner. All of its complications exist for a purpose. Of course they do. The situation is

Re: About undoing commands, especially tree operations

2023-07-14 Thread Thomas Passin
On Friday, July 14, 2023 at 8:24:17 AM UTC-4 Edward K. Ream wrote: On Fri, Jul 14 vitalije wrote: > I just wished to illustrate how dangerous and tricky things can get when we have mutable state buried so deep down in the foundations of Leo's code. I agree. That's what PR #3438

Re: About undoing commands, especially tree operations

2023-07-14 Thread Thomas Passin
After reading this, I looked at the VNode class definition for the first time. Ouch! I think this must be an example of serious technical debt. No doubt it seemed reasonable or even necessary but as I look at it without knowing the history or even much about how it's used, it's not how I try

Re: Aha: no need for a new paste command

2023-07-08 Thread Thomas Passin
, at least to me. I better write some clarifying text about these commands in the new user guide I'm slowly working on, I suppose. On Saturday, July 8, 2023 at 8:50:14 AM UTC-4 Edward K. Ream wrote: > On Sat, Jul 8, 2023 at 6:53 AM Thomas Passin wrote: > >> No, I haven't tried it

Re: Discuss: remove support (later) for old unls in g.findUnl?

2023-07-08 Thread Thomas Passin
On Saturday, July 8, 2023 at 8:28:09 AM UTC-4 Edward K. Ream wrote: On Sat, Jul 8, 2023 at 6:47 AM Thomas Passin wrote: Using the ekr-tweak-unls branch breaks both the bookmarks and zettel tabbed apps. I will look into what isn't working, but in the zettel browser, I see it's looking

Re: Aha: no need for a new paste command

2023-07-08 Thread Thomas Passin
No, I haven't tried it. I'm not even sure I would want to. Think about how the Windows file explorer works. If you copy a file and paste it, it gives the pasted file a name that includes "copy" if there is another file with that name in the same directory. If there isn't another file in

Re: Discuss: remove support (later) for old unls in g.findUnl?

2023-07-08 Thread Thomas Passin
wrote: > On Fri, Jul 7, 2023 at 9:09 PM Thomas Passin wrote: > >> I've never used g.findUnl() with patterns at all. So as long as the >> newer one picks up legacy-style unls I'd be OK with it. >> > > Hmm. Your plugins might be using g.findUnl indirectly. > >

Re: Discuss: remove support (later) for old unls in g.findUnl?

2023-07-07 Thread Thomas Passin
I've never used g.findUnl() with patterns at all. So as long as the newer one picks up legacy-style unls I'd be OK with it. On Friday, July 7, 2023 at 7:36:26 PM UTC-4 Edward K. Ream wrote: > g.findUnl is the handler for path-based unls. It contains two regex > patterns: > > #

Re: Aha: no need for a new paste command

2023-07-07 Thread Thomas Passin
I got some more clarity about this, and I commented the following on the proposed PR: I can now see that the concept of operation is simple. Within an outline, for a parent-and-subtree: - Ask for a move, get a move; gnxs do not change; - Cut-paste is the same as a move; - Ask for a

Re: Why gnx-based unls are important

2023-07-06 Thread Thomas Passin
I asked about the duplicate somewhere else (can't find it just now). Edward said the extra node wasn't harmful and would be a reminder for him which he would remove later. On Thursday, July 6, 2023 at 8:37:03 PM UTC-4 iamap...@gmail.com wrote: > I noticed myLeoSettings.leo file has node

Re: Heh. I changed a gnx in the big PR by mistake

2023-07-06 Thread Thomas Passin
: ) On Thursday, July 6, 2023 at 1:44:36 PM UTC-4 Edward K. Ream wrote: > On Thu, Jul 6, 2023 at 11:58 AM Thomas Passin wrote: > > Say you (Edward, I imagine) move a subtree that contains Terry's nodes to >> the Attic. If you forget and just do a cut-and-paste, suddenly they

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