Re: leojs alpha

2023-06-26 Thread jkn
) app instead of a Python one ... but I am also very interested in seeing the results. I will try to be a beta tester for you ;-) Regards, J^n On Monday, June 26, 2023 at 7:14:36 PM UTC+1 Félix wrote: > Hi jkn! :D > > Thanks for your interest and questions! > > I've translated

Re: leojs alpha

2023-06-26 Thread jkn
Hi Felix - something I've missed in the exciting mentions re. leojs here. Is the 'transliteration' done manually ('after coding for a few years'...) or via some (semi'?)-automated process? If the former, I'm wondering how 'upstream' work on Leo gets incorporated. If the latter, I'm curious abou

Re: About PR #3215: unbreakable unls!

2023-06-25 Thread jkn
Yes, I was a bit surprised this wasn't your approach as well. Looking forward to the results regardless... On Sunday, June 25, 2023 at 5:49:36 PM UTC+1 tbp1...@gmail.com wrote: > I would rather have created a new gnx:// type and left existing unls > alone. Will existing UNL syntax and methods

Re: An RPN Calculator For Leo

2023-05-14 Thread jkn
K. Ream wrote: On Tue, May 2, 2023 at 4:35 AM jkn wrote: s/write/right/, of course ;-o Hehe. I remember *screaming* in frustration while using some nerdy sed-like text editor while working at IBM 50+ years ago. My work on editors began with those screams. Edward -- You received thi

Re: two comma presses == no change?!

2023-05-11 Thread jkn
fantastic - my efficiency will skyrocket! On Thursday, May 11, 2023 at 3:00:48 PM UTC+1 Edward K. Ream wrote: > On Thu, May 11, 2023 at 7:52 AM Rob wrote: > >> If, for some reason I might need 2 commas in succession, my workaround is >> to type `, ,` (inserted space between commas). > > > Or t

Re: two comma presses == no change?!

2023-05-11 Thread jkn
gt; to type `, ,` (inserted space between commas). Then I simply backspace and > delete the space character. The only time I have actually done this is to > document my abbreviations. HTH > > Rob... > > On Tuesday, May 9, 2023 at 7:18:58 AM UTC-4 jkn wrote: > >&g

Re: two comma presses == no change?!

2023-05-09 Thread jkn
Ah, right, thanks - that makes sense. I think you are right that it should only happen when expanding abbreviations, but I can live with it - I was just curious... Regards J^n On Tuesday, May 9, 2023 at 12:39:12 PM UTC+1 Edward K. Ream wrote: > On Tue, May 9, 2023 at 6:19 AM

two comma presses == no change?!

2023-05-09 Thread jkn
I'm more curious than anything... If I press the comma ',' key twice in succession, the first character placed in the body text by the first press, gets deleted on the second press! I don't know of any setting, command, or abbreviation that I have that might be causing this - any thoughts? Th

Re: ENB: Won't do: pep 8 names

2023-05-06 Thread jkn
On Friday, May 5, 2023 at 11:10:59 PM UTC+1 tbp1...@gmail.com wrote: On Friday, May 5, 2023 at 6:01:33 PM UTC-4 Edward K. Ream wrote: On Fri, May 5, 2023 at 3:24 PM jkn wrote: https://peps.python.org/pep-0008/ "This document gives coding conventions for the Python code *comprisin

Re: ENB: Won't do: pep 8 names

2023-05-05 Thread jkn
I've mentioned this before, but note the wording at beginning of PEP-8: https://peps.python.org/pep-0008/ "This document gives coding conventions for the Python code *comprising the standard library* in the main Python distribution" *emphasis* mine. On Friday, May 5, 2023 at 2:36:23 PM UTC+1

Re: Pyspread - a spreadsheet where each cell can be a Python expression

2023-05-03 Thread jkn
Yea, I know Michael Foord's (at least) writing and work on Python from quite a while ago. I had forgotten the link with IronPython, thanks. On Tuesday, May 2, 2023 at 7:04:07 PM UTC+1 David Szent-Györgyi wrote: > On Tuesday, May 2, 2023 at 1:04:27 PM UTC-4 jkn wrote: > > There wa

Re: Pyspread - a spreadsheet where each cell can be a Python expression

2023-05-02 Thread jkn
There was a much older 'python in a spreadsheet' program, created by Resolver Systems. I followed it with interest, they tried to create a commercial product out of it but failed. IIRC pyspread is much less ambitious than Resolver, but it might be that it is more successful because of that. I s

Re: An RPN Calculator For Leo

2023-05-02 Thread jkn
s/write/right/, of course ;-o On Tuesday, May 2, 2023 at 9:50:53 AM UTC+1 jkn wrote: > FWIW I sometime use the underscore character in a 'down' sense. So R_ , > perhaps. > > I used to write a fair bit in (La)TeX, and that uses caret ^ for > superscript, and undersco

Re: An RPN Calculator For Leo

2023-05-02 Thread jkn
s the same command as > if you had clicked on its button. > > On Monday, May 1, 2023 at 2:22:05 PM UTC-4 jkn wrote: > >> Shurely that should be called >CLIP ? ;-) >> >> On Monday, May 1, 2023 at 5:46:45 PM UTC+1 tbp1...@gmail.com wrote: >> >>> D

Re: An RPN Calculator For Leo

2023-05-01 Thread jkn
was about 25% (I'm sure my implementation could have been >> improved, it was pretty brute-force). But the ease of writing the >> calculation and debugging it - the RPN library won hands down. >> >> On Monday, May 1, 2023 at 9:02:49 AM UTC-4 jkn wrote: >> >

Re: An RPN Calculator For Leo

2023-05-01 Thread jkn
ionality works and the thing > is usable as it stands. I'll post an updated outline soon, and after some > more work it should be ready to appear in the Leo repo. > > On Sunday, April 30, 2023 at 11:55:06 AM UTC-4 jkn wrote: > > I have wondered about suggesting something like

Re: An RPN Calculator For Leo

2023-04-30 Thread jkn
I have wondered about suggesting something like this for a while, so thank you Thomas. My 'main' editor has a simple HP calculator built into it and it was an easy step to consider one for Leo. I didn't know about RPNCalc (I have some Android RPN apps on my phone, as well as a real HP-35s), but

Re: Dropping a file vs importing it: @edit vs @auto

2023-04-19 Thread jkn
I have been meaning to check this for ages - what happens if you try to drag and drop a .leo file into a running leo? looks like you have to drop it into the tree pane, and it then becomes one of the open .leo files - cool and if you try to drag and drop a non-leo file (into the tree pane) it g

Re: VR3 can now be opened in a tab

2023-04-18 Thread jkn
Tab names? >> On Sunday, April 9, 2023 at 12:28:45 AM UTC+10 tbp1...@gmail.com wrote: >> >>> Yes, as long as you know its name, which you do from its label: >>> >>> log.deleteTab(TABNAME) >>> >>> On Saturday, April 8, 2023 at 10:26:30 A

Re: Eye surgery tommorrow

2023-04-12 Thread jkn
Best Wishes from me also Jon N On Wednesday, April 12, 2023 at 11:50:24 AM UTC+1 lewis wrote: > Best wishes, hope it goes well. > > -- 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: Discuss: what should path expressions contain?

2023-04-08 Thread jkn
- shurely '~' is not always needed (if that is what you are saying): I can use {{sep}}home{{sep}}myusername{{sep}}tmp{{sep}}filename.txt , for example - I really hope you don't choose '*' for such a feature. might something like '~~' work? On Saturday, April 8, 2023 at 3:38:04 PM UTC+1 Edward

Re: VR3 can now be opened in a tab

2023-04-08 Thread jkn
do from its label: > > log.deleteTab(TABNAME) > > On Saturday, April 8, 2023 at 10:26:30 AM UTC-4 jkn wrote: > >> This look interesting, thanks. >> >> One thing I have never really needed, but occasionally wondered about; it >> is possible to *delete* a

Re: VR3 can now be opened in a tab

2023-04-08 Thread jkn
This look interesting, thanks. One thing I have never really needed, but occasionally wondered about; it is possible to *delete* a tab in the log pane? (perhaps it should be called the 'tab pane'?...) J^n On Friday, April 7, 2023 at 3:04:48 PM UTC+1 tbp1...@gmail.com wrote: > The VR3 plug

Re: Discuss: remove support for Leo's path expressions

2023-04-08 Thread jkn
I haven't looked at c.expand_path_expression, at least recently - it may be too capable for its own good. But I would definitely want a way to navigate to a given file under different environments, similar to Tom's example. I could live with the headline having to be changed to accommodate a new

Re: Command To Run External File

2023-02-21 Thread jkn
The updated scripts seems to be working for me as well. It uses 'uxterm', which I never even knew I had installed! I agree that an optional setting for the terminal would be a good idea. J^n On Tuesday, February 21, 2023 at 12:30:14 AM UTC tbp1...@gmail.com wrote: > That's a good idea! I think

Re: Command To Run External File

2023-02-20 Thread jkn
I am seeing something similar to SegundoBob. I also tried it with a trivial python script. To spell out the details: (I run Kubuntu Linux) Leo Log Window Leo 6.7.2-devel, devel branch, build 4e9b1569de 2023-01-25 08:35:46 -0600 Python 3.10.6, PyQt version 5.15.3 linux 1) I make a node @cl

Re: Command To Run External File

2023-02-19 Thread jkn
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 package it up as a new > Leo command. > > On Monday, February 6, 2023 a

Re: GUI For Using Git

2023-02-10 Thread jkn
o I'll try it out for a while longer. So > far it's only on two of my Linux virtual machines. > > On Friday, February 10, 2023 at 5:36:36 AM UTC-5 jkn wrote: > >> Yeah, I mostly use git from the command line. "gitk --all" is useful to >> get a picture of

Re: Aha! A better way to study code

2023-02-10 Thread jkn
Heh - I was half-expecting that answer! No worries, I will do that. (who else looks at code sometimes and thinks ... did *I* write that?!) On Friday, February 10, 2023 at 2:35:57 PM UTC Edward K. Ream wrote: > On Fri, Feb 10, 2023 at 4:34 AM jkn wrote: > >> A slight follow-up to th

Re: GUI For Using Git

2023-02-10 Thread jkn
Yeah, I mostly use git from the command line. "gitk --all" is useful to get a picture of the branches On Friday, February 10, 2023 at 9:51:49 AM UTC Edward K. Ream wrote: > On Fri, Feb 10, 2023 at 2:01 AM jkn wrote: > >> There's too much 'signing up' invo

Re: Aha! A better way to study code

2023-02-10 Thread jkn
ng is some sort of reference to the location of the icon file on disk?? puzzled... J^n On Saturday, February 4, 2023 at 5:43:40 PM UTC jkn wrote: > PS: I agree that to my ear, 'insert/remove' would pair better than > 'insert/delete' > > On Saturday, F

Re: GUI For Using Git

2023-02-10 Thread jkn
There's too much 'signing up' involved in gitkraken for me, I gave it a pass. On Thursday, February 9, 2023 at 8:52:21 PM UTC tbp1...@gmail.com wrote: > 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

Re: Why nits matter

2023-02-06 Thread jkn
Seem fair enough, thanks. I can live with it now I know about the behaviour. I take on board the "It's harder than you might think..." Regards, J^n On Monday, February 6, 2023 at 6:14:57 AM UTC Edward K. Ream wrote: > On Sun, Feb 5, 2023 at 3:01 PM jkn wrote: > >>

Re: Command To Run External File

2023-02-06 Thread jkn
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 wrote: > 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

Re: Why nits matter

2023-02-05 Thread jkn
Can I raise this nit again? I just hit the (surprising, to me) behaviour, and tracked it to #721, which is currently marked as 'won't do'. I'm unclear from the conversation above whether this is for 5.7, or for all time ... ;-) Thanks, jon N On Wednesday, February 14, 2018 at 11:13:38 AM UTC Edw

Re: Aha! A better way to study code

2023-02-04 Thread jkn
PS: I agree that to my ear, 'insert/remove' would pair better than 'insert/delete' On Saturday, February 4, 2023 at 5:42:24 PM UTC jkn wrote: > *delete-last-icon * > > there is also *delete-first-icon*, and *delete-node-icons* > > On Saturday, Febr

Re: Aha! A better way to study code

2023-02-04 Thread jkn
e: > >> 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 ;-) >>> >> >> Hehe. I did not remember that. >&g

Re: Aha! A better way to study code

2023-02-04 Thread jkn
2023 at 3:15:38 PM UTC Edward K. Ream wrote: > On Fri, Feb 3, 2023 at 6:36 AM jkn wrote: > > > is it possible to mark headlines with icons of different kinds? > > Yes. At first I remembered only that it involves adding some key to p.v.u, > the user attributes dict. I'

Re: Aha! A better way to study code

2023-02-03 Thread jkn
It's always interesting to see other people's work... Two trivial things I noted in rope.leo, neither rope-related 1) you use a checkbox style for 'things to do' which I quite like - [x] a done item - [ ] a 'to be done' item, I presume (haven't seen one yet...) I tend to use the following

Re: Keystroke recorder playback feature?

2023-01-31 Thread jkn
OK, thanks. I'll stop looking then... On Tuesday, January 31, 2023 at 11:27:17 AM UTC Edward K. Ream wrote: > On Tue, Jan 31, 2023 at 4:51 AM jkn wrote: > >> Hi all >> a simple Q: does Leo have any facility to record and playback >> sequences of keystrokes?

Keystroke recorder playback feature?

2023-01-31 Thread jkn
Hi all a simple Q: does Leo have any facility to record and playback sequences of keystrokes? I've looked but unless I've got the terminology wring, I can't find anything. This is so that I could (for instance) record a series of deletes, inserts, cursor movements etc, and play them back a

Re: Leo now shows an svg splash screen

2023-01-23 Thread jkn
I'm afraid I don't see a splash screen under Linux: Leo 6.7.2-devel, devel branch, build c7b093c0ee 2023-01-23 11:16:06 -0600 Python 3.9.5, PyQt version 5.15.2 Will you be wanting me to upgrade to PyQt v6? I seem to remember I had pain in that direction... Regards, J^n On Monday, January 23,

Re: Status report: Leo's new website

2023-01-21 Thread jkn
sorry - I appreciate that a PR would have been nicer for you, but with my current non-leo workload it would be unlikely to happen for quite a while... J^n On Saturday, January 21, 2023 at 12:05:35 AM UTC Edward K. Ream wrote: > On Fri, Jan 20, 2023 at 5:03 PM jkn wrote: > >>

Re: Status report: Leo's new website

2023-01-20 Thread jkn
assuming you meant an issue (!), I have done so: https://github.com/leo-editor/leo-editor/issues/3077 Regards, J^n On Friday, January 20, 2023 at 10:30:21 PM UTC Edward K. Ream wrote: > On Fri, Jan 20, 2023 at 10:25 AM jkn wrote: > >> do you have some weird DNS cache,

Re: Status report: Leo's new website

2023-01-20 Thread jkn
do you have some weird DNS cache, or something? leoeditor.com takes me to https://leo-editor.github.io/leo-editor/ (Edward) BTW, I would suggest you have a link to the github *rep* more prominently on the homepage. It takes a bit of looking to find == (Title - Installing Git with Leo) == git cl

Re: I'm changing Leo's mascot on Leo's web pages

2023-01-20 Thread jkn
On Friday, January 20, 2023 at 8:26:36 AM UTC-6 jkn wrote: > Hi Edward > what you may be missing is that Inkscape can edit and convert the .AI > file, generating an SVG. That is what I (thought I) had suggested when I > asked for the AI file... > > Thanks for the clarification. &

Re: I'm changing Leo's mascot on Leo's web pages

2023-01-20 Thread jkn
Hi Edward what you may be missing is that Inkscape can edit and convert the .AI file, generating an SVG. That is what I (thought I) had suggested when I asked for the AI file... Regards, Jon On Friday, January 20, 2023 at 2:24:55 PM UTC Edward K. Ream wrote: > On Fri, Jan 20, 2023 at 7:52

Re: I'm changing Leo's mascot on Leo's web pages

2023-01-20 Thread jkn
09:47 PM UTC-6 Edward K. Ream wrote: > On Thu, Jan 19, 2023 at 10:32 AM jkn wrote: > I volunteer to use Inkscape to improve the red eye removal, if you like. > Edward's recent effort is ... laudable ... > > Thanks! Please do this, and put the result in devel. > > I cha

Re: I'm changing Leo's mascot on Leo's web pages

2023-01-19 Thread jkn
UTC gates...@gmail.com wrote: > Seconding Inkscape, it's my go-to for this kind of task. > > On Thu, Jan 19, 2023 at 11:15 AM jkn wrote: > >> Inkscape (https://inkscape.org) is good for editing .svg files, BTW. >> >> On Thursday, January 19, 2023 at 3:31:18 PM UT

Re: I'm changing Leo's mascot on Leo's web pages

2023-01-19 Thread jkn
Inkscape (https://inkscape.org) is good for editing .svg files, BTW. On Thursday, January 19, 2023 at 3:31:18 PM UTC Edward K. Ream wrote: > On Thu, Jan 19, 2023 at 8:01 AM Jacob Peck wrote: > Most browsers support .svg files, which is another vector format. > > Thanks! I'll try converting the

Re: Please help me edit Leo's wikipedia page

2023-01-18 Thread jkn
:20:48 PM UTC Edward K. Ream wrote: > On Monday, January 16, 2023 at 4:22:59 PM UTC-6 jkn wrote: > """ > Thank you for contacting us. Please reply to this email string and provide > the ID number of the image in question, as well as a detailed description > of exactl

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

2023-01-17 Thread jkn
As mentioned elsewhere, I was irritated to have to 'prove I am not a bot' when attempting to register for ChatGPT! Shurely someone has asking it "what is the Leo Editor"? On Tuesday, January 17, 2023 at 4:05:24 PM UTC tbp1...@gmail.com wrote: > I haven't been able to open the chatGPT page in

Re: Please help me edit Leo's wikipedia page

2023-01-17 Thread jkn
You can get a vector version (Adobe Illustrator, it looks like) On Tuesday, January 17, 2023 at 2:44:45 AM UTC Edward K. Ream wrote: > On Mon, Jan 16, 2023 at 6:23 PM Thomas Passin wrote: > >> If you had [rotated the image], it would have been pixelated to hell and >> gone. >> > > :-) > > Edwa

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread jkn
""" Thank you for contacting us. Please reply to this email string and provide the ID number of the image in question, as well as a detailed description of exactly how the image is used within the app. """ Do you want me to carry on ... ? On Monday, January 16, 202

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread jkn
leonine image seems a whisker off-vertical to me: looking at the Lion's face it is turned a few degrees anti-(counter-)clockwise. Is this deliberate, I wonder? Regards, Jon N On Monday, January 16, 2023 at 8:32:53 PM UTC Edward K. Ream wrote: > On Mon, Jan 16, 2023 at 2:08 PM jkn

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread jkn
Yeah, I wondered about this approach. If only you could remove copyright that way... On Monday, January 16, 2023 at 3:14:49 PM UTC Edward K. Ream wrote: > On Monday, January 16, 2023 at 9:11:26 AM UTC-6 Edward K. Ream wrote: > > I've just spent about 40 minutes cleaning up SplashScreen.ico usin

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread jkn
: > On Mon, Jan 16, 2023 at 2:46 AM jkn wrote: > > I think that on the one hand putting out more publicity for Leo, eg. via >> the Wikipedia page, and on the other suggesting that such possible >> violation of copyright is 'not worth worrying about', is ... misg

Re: Please help me edit Leo's wikipedia page

2023-01-16 Thread jkn
gt; IIRC this image used to cost money -- I don't know what the 'Free > Download' entitles one to legally, but this image is clearly under some > sort of license that it's probably wise to look into in some way :) > > Jake > > > On Sun, Jan 15, 2023 at 7:12

Re: Please help me edit Leo's wikipedia page

2023-01-15 Thread jkn
FWIW, it has always seemed slightly shady to me that the Leo 'splashscreen.xxx" graphic, both on Leo's startup itself and now on the Wikipedia page, has some sort of watermark on it. I always thought it was a light grey '(c)' mark, but having looked harder I now think it is a coarse spiral. Does

Re: Abbreviations For Greek Letters

2023-01-12 Thread jkn
I am also liking: tick;;=✔ cross;;=✖ exists;;=∃ On Monday, January 9, 2023 at 10:57:58 PM UTC tbp1...@gmail.com wrote: > 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

Re: Please use Leo's website and change your bookmarks

2023-01-10 Thread jkn
FYI, the home page for this Google Groups group has some boiler plate at the top: {{{ Welcome to Leo's Google Group. Leo is an IDE, data manager, scripting platform and much more. Please conform to the Jupyter project's code of conduct

Re: Abbreviations For Greek Letters

2023-01-10 Thread jkn
Hi Edward On Tuesday, January 10, 2023 at 4:36:23 PM UTC Edward K. Ream wrote: On Tuesday, January 10, 2023 at 10:31:02 AM UTC-6 jkn wrote: I *do* use Unicode, of course ... just not extensively within my Leo notes, for instance. :-) I am not planning to use non-ASCII glyphs within my Python

Re: Abbreviations For Greek Letters

2023-01-10 Thread jkn
I *do* use Unicode, of course ... just not extensively within my Leo notes, for instance. I am not planning to use non-ASCII glyphs within my Python *code*, either. On Tuesday, January 10, 2023 at 4:09:51 PM UTC Edward K. Ream wrote: > On Tue, Jan 10, 2023 at 2:33 AM jkn wrote: > >

Re: Abbreviations For Greek Letters

2023-01-10 Thread jkn
Heh - I was about to say the opposite ... I have always liked the use of a shorthand for the inverted triangle 'because' in my notes (I did a maths degree), but have never found a good equivalent in the ASCII character set. Perhaps now is the time to bite the bullet and use Unicode... On Monda

Re: A curious observation, #2

2023-01-05 Thread jkn
ed into the gutter area. > > On Thursday, January 5, 2023 at 3:42:56 AM UTC-5 jkn wrote: > >> A gutter-y-adjust value of 2 or 3 seems to work well for my current >> theme/font settings, thanks! >> >> >> On Thursday, January 5, 2023 at 7:52:03 AM UTC jkn wrote

Re: A curious observation, #2

2023-01-05 Thread jkn
A gutter-y-adjust value of 2 or 3 seems to work well for my current theme/font settings, thanks! On Thursday, January 5, 2023 at 7:52:03 AM UTC jkn wrote: > Ah brilliant, thanks. I didn't know about the gutter-y-adjust setting. I > do appreciate that getting it right programatical

Re: A curious observation, #2

2023-01-04 Thread jkn
tting to adjust for the misalignment. @int > gutter-y-adjust = 7 works for my current theme. I've been known to have > to go up to 12. I forget how I learned about this setting, it's been too > long. > > On Wednesday, January 4, 2023 at 3:18:12 PM UTC-5 jkn wrote: > &

A curious observation, #2

2023-01-04 Thread jkn
This is a pretty tiny scratch, but: does anyone else notice that the line numbers in the body pane border are slightly misaligned with the actual lines in the body? For me, numbers in the border are a little lower than the lines in the body. I am sure this depends on the fonts set and their met

A curious observation, #1

2023-01-04 Thread jkn
A curious (to me) observation: A little while ago, and in Leo, I saved a copy of my ~/.leo/myLeoSettings.py to a local network-available location. I wanted to make this centrally available for instances of Leo running on other computers. Today, I wanted to make a change to the ~/.leo/myLeoSetti

Re: Command To Convert Selection Or Body To Title Case

2023-01-04 Thread jkn
It is/was my starting-off place re. scripting; especially when I forget about scripts.leo ... On Wednesday, January 4, 2023 at 9:06:31 AM UTC Edward K. Ream wrote: > On Wed, Jan 4, 2023 at 2:56 AM jkn wrote: > >> This is the other candidate place, of course: >> >>

Re: Command To Convert Selection Or Body To Title Case

2023-01-04 Thread jkn
This is the other candidate place, of course: https://leoeditor.com/scripting-miscellany.html On Tuesday, January 3, 2023 at 9:28:42 PM UTC Edward K. Ream wrote: > On Tue, Jan 3, 2023 at 2:58 PM jkn wrote: > >> Well, maybe we should have a push to improve the &#x

Re: Command To Convert Selection Or Body To Title Case

2023-01-03 Thread jkn
x27;s supposed to represent. Would calling it 'example_scripts.leo', and having a preamble in the file, help any? On Tuesday, January 3, 2023 at 3:20:59 PM UTC Edward K. Ream wrote: > On Tue, Jan 3, 2023 at 4:23 AM jkn wrote: > >> >> Yes ... 'many' of the sc

Re: Command To Convert Selection Or Body To Title Case

2023-01-03 Thread jkn
specialized that it's hard to even know > what they do. > > I do agree that a collection of small utility scripts would be great for > people trying to learn how to program for Leo - IF they are well > documented, and clear and simple. > > On Monday, January 2, 2023 at

Re: Command To Convert Selection Or Body To Title Case

2023-01-02 Thread jkn
It would be good to have a miscellany of little script examples like this easily available, to give people assistance with learning Leo scripting. I know a few have been published as Github gists in the past, and there are some clues in the Leoeditor.com documentation, but a few dozen snippets on

Re: Viewrendered3 Can Now Render PlantUml diagrams

2023-01-02 Thread jkn
> > On Monday, January 2, 2023 at 9:15:49 AM UTC-5 jkn wrote: > >> That sounds handy, thanks. Does this need a link to the PlantUML server, >> or a local one, or...? >> >> Thanks, J^n >> >> >> On Sunday, January 1, 2023 at 1:44:22 PM UTC tbp1...@

Re: Viewrendered3 Can Now Render PlantUml diagrams

2023-01-02 Thread jkn
That sounds handy, thanks. Does this need a link to the PlantUML server, or a local one, or...? Thanks, J^n On Sunday, January 1, 2023 at 1:44:22 PM UTC tbp1...@gmail.com wrote: > If you use asciidoc and the external asciidoctor processor, the > viewrendered3 plugin can now render PlantUml di

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

2022-12-28 Thread jkn
I'm not very clear about the motivation - what does 'make leoeditor.com more available...' mean? If it's an idea towards (for instance) allowing more, interested, parties contributing to Leo's documentation, then I think that is a good idea. It's not clear to me whether that is where the sugges

Re: possible to move to nodes without changing docus from body?

2022-11-25 Thread jkn
Hi Edward No, I haven't, and it looks like it does exactly what I want. Thank you! Regards, Jon N On Friday, November 25, 2022 at 12:10:24 PM UTC Edward K. Ream wrote: > On Thu, Nov 24, 2022 at 7:43 AM jkn wrote: > > Is it possible to keep focus in the body pane, whilst

Re: possible to move to nodes without changing docus from body?

2022-11-24 Thread jkn
ee. Maybe @edward thinks it's a feature instead? >> >> TAB moves the focus back from the tree to the body pane. I find that >> pretty easy and natural. >> >> On Thursday, November 24, 2022 at 8:43:11 AM UTC-5 jkn wrote: >> >>> Hi all >>>

possible to move to nodes without changing docus from body?

2022-11-24 Thread jkn
Hi all a simple navigation/key-binding question here: Is it possible to keep focus in the body pane, whilst navigating the headline tree, and changing the actual node whose body is under the cursor? I would quite often like to to do this instead of: - type in body pane - use cursor to move

Re: Tabbed Apps In Leo

2022-10-31 Thread jkn
Script(c, pos)) > > # call the code > hello() > --- > > Hope this helps! > Jake > > > On Mon, Oct 31, 2022 at 11:12 AM jkn wrote: > >> Thanks, this looks very interesting... >> >> I have one question - something I have wondered about before. I

Re: Tabbed Apps In Leo

2022-10-31 Thread jkn
Thanks, this looks very interesting... I have one question - something I have wondered about before. If I have your example code as a button command, say ... then where/how can I put the def toggle_app_tab(log, tabname, top_widget): # ... code, in order for it to accessible by multiple suc

Re: QtPy - Handles Qt5/Qt6 Automatically

2022-10-27 Thread jkn
Yes, I don't disagree. I might enjoy taking a look for other projects though... On Thursday, October 27, 2022 at 10:01:17 AM UTC+1 Edward K. Ream wrote: > On Wednesday, October 26, 2022 at 11:40:01 PM UTC-5 tbp1...@gmail.com > wrote: > > I just found QtPy, which perhaps would have been (or stil

Re: QtPy - Handles Qt5/Qt6 Automatically

2022-10-27 Thread jkn
missing link? https://pypi.org/project/QtPy/ https://github.com/spyder-ide/qtpy On Thursday, October 27, 2022 at 5:40:01 AM UTC+1 tbp1...@gmail.com wrote: > I just found QtPy, which perhaps would have been (or still may be) useful > for Leo and Leo projects. From its Github page: > > "*QtPy* i

Re: Devel now disables plain key outline searches

2022-10-18 Thread jkn
ou thought it > was still in the body - the usual case for me - when you started typing the > outline would start jumping around apparently without rhyme or reason. > > On Tuesday, October 18, 2022 at 1:01:10 PM UTC-4 jkn wrote: > >> Can you explain what this actually affe

Re: Devel now disables plain key outline searches

2022-10-18 Thread jkn
Can you explain what this actually affects, please? The current description: True: plain keys in the outline pane search for headlines. False: Ignore plain keys in the outline pane. doesn't make much sense to me... Thanks, J^n On Tuesday, October 18, 2022 at 11:44:29 AM UTC+1 Edward K.

Re: Interesting Blog Post On Parsers

2022-10-11 Thread jkn
Thanks, that looks like a good read J^n On Monday, October 10, 2022 at 11:00:41 PM UTC+1 tbp1...@gmail.com wrote: > It's possible to imagine doing more with the text of Leo nodes, such as > supporting syntax checking during typing for a range of languages. Here > is an interesting post (inte

Re: modifier keys and abbreviations?

2022-10-05 Thread jkn
ber 5, 2022 at 7:30:38 AM UTC-5 jkn wrote: > > I would like to have eg. CTRL+ALT+o (followed by ;;) expand to something. >> My initial experiment didn't work and I wondered if this was known/intended. >> > > I wouldn't say it was intended. But why not just bin

modifier keys and abbreviations?

2022-10-05 Thread jkn
Hi all a simple question - is it possible to use CTRL, ALT etc modifiers within abbreviation definitions? I would like to have eg. CTRL+ALT+o (followed by ;;) expand to something. My initial experiment didn't work and I wondered if this was known/intended. Thanks a lot, Jon N -- You rece

Re: Approximate String Searching

2022-10-03 Thread jkn
Thanks for this - as it happens I was slightly musing on the current search capabilities with Leo just recently... J^n On Monday, October 3, 2022 at 5:57:29 AM UTC+1 tbp1...@gmail.com wrote: > Here is a fairly easy way to search in a body of text for a string when > there might be single-chara

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-10-02 Thread jkn
Yeah - just to be clear, I am not complaining about "Leo/LeoInteg can't open empty files". I just happened to come across this... J^n On Sunday, October 2, 2022 at 11:12:48 AM UTC+1 Edward K. Ream wrote: > On Sat, Oct 1, 2022 at 10:14 AM jkn wrote: > >> Hmm -

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-10-01 Thread jkn
Hmm - with branch ekr-server-erro-message (and opening a file of zero bytes), I now get: Launching server with command: python3 /home/jkn/leo-editor/leo/core/leoserver.py --port 32125 Starting LeoBridge Server 1.0.4 (Launch with -h for help) can not import leo.plugins.importers.occam can not

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-10-01 Thread jkn
On Saturday, October 1, 2022 at 2:07:33 PM UTC+1 Edward K. Ream wrote: > On Sat, Oct 1, 2022 at 4:33 AM jkn wrote: > >> OK, a slight non-definitive update: >> >> Without changing any SW, it looks like I may have (accidentally) been >> loading a totally empty o

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-10-01 Thread jkn
OK, a slight non-definitive update: Without changing any SW, it looks like I may have (accidentally) been loading a totally empty old .leo file, ie of 0 bytes length. I just picked this as an 'old, no-longer needed' test file, without looking at the contents. Leo itself doesn't seem to have an

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-09-30 Thread jkn
re trouble. I am already running python 3.10. After starting/connecting to server etc, when loading a .leo file I get the following (extracted from VSCodium output window): Thanks & Regards, Jon N Launching server with command: python3 /home/jkn/leo-editor/leo/core/leoserver.py --por

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-09-28 Thread jkn
e you've just > downloaded > > Hope this helps for installing on VScodium! Please share a screenshot when > using it under this editor if it works! I'd be amazed to see it!! > > Thanks again for trying out LeoInteg and giving feedback!!! > > Félix > > O

Re: LeoInteg 1.0.8 released! Major bug fixes and features update!

2022-09-28 Thread jkn
Hi Felix do you know if there are any issues in installing LeoInteg with VScodium (https://github.com/VSCodium/vscodium,build of VSCode without tracking etc. )? I am very much a novice with VSCode/Vscodium; I tried CTRL+P and "ext install boltex.leointeg", but get an error "Server returned 50

Re: OT-ish: convert script from camelCase to snake_case

2022-09-15 Thread jkn
d data format of > my own, I usually allow a ";" as well as a "#" to comment out a line. > > On Thursday, September 15, 2022 at 9:29:13 AM UTC-4 jkn wrote: > >> Yeah, I've seen those kind of studies - and ones with different findings, >> as you

Re: OT-ish: convert script from camelCase to snake_case

2022-09-15 Thread jkn
tracking equipment, indicates: "While results indicate no difference in > accuracy between the two styles, subjects recognize identifiers in the > underscore style more quickly." ' > > On Thursday, September 15, 2022 at 7:05:23 AM UTC-4 jkn wrote: > >> ... >&

Re: OT-ish: convert script from camelCase to snake_case

2022-09-15 Thread jkn
refer camelCase though, too many extra keystrokes and hand movements, for little to no extra readability IMO. Oh well... Thanks, J^n On Thursday, September 15, 2022 at 8:02:50 AM UTC+1 jkn wrote: > Hi Thomas > that was pretty much the approach I was thinking of adopting myself, > thanks

<    1   2   3   4   5   6   7   >