Re: Themes

2018-03-11 Thread k-hen
rd K. Ream wrote: > > > > On Sun, Mar 11, 2018 at 5:47 PM, k-hen <percepti...@gmail.com > > wrote: > >> >> Just wanted to say thanks very much for this. It happens I was looking >> at creating my own theme as a way of learning more about Leo and was rea

Re: Themes

2018-03-11 Thread k-hen
Hi Guys, Just wanted to say thanks very much for this. It happens I was looking at creating my own theme as a way of learning more about Leo and was really struggling with the stylesheets myself. FWIW, the way I was going about this was first defining my full color palette in a section within

Re: 75b9c9: New Themes menu

2018-03-12 Thread k-hen
This is great :-D A really nice simple enhancement (I think) would be if we could just apply/reload the *current* file as well rather than having to save, re-select the file, etc. Or maybe there's a scripting trick that could do this? Kevin On Monday, March 12, 2018 at 7:00:37 AM UTC-4,

Re: 75b9c9: New Themes menu

2018-03-12 Thread k-hen
Excellent - thank you! On Monday, March 12, 2018 at 10:57:25 AM UTC-4, Edward K. Ream wrote: > > > > On Monday, March 12, 2018 at 9:54:19 AM UTC-5, k-hen wrote: >> >> This is great :-D A really nice simple enhancement (I think) would be if >> we could just apply/rel

BeginnerQuestion:RefreshingSettings

2018-02-27 Thread k-hen
Hi All, I'm happy and excited to be ramping up in Leo, but like many I'm sure, am having some minor pains getting up to speed. I'm making edits to my 'myLeoSettings.leo' file and would like to know what the fast way of re-applying those settings is. I figured that the 'Reload-Settings' feature

Re: BeginnerQuestion:RefreshingSettings

2018-02-27 Thread k-hen
> > All you need to do is: > > 1) Make the change to the setting. > 2) Save the settings file. > 3) Run reload-settings or "Reload-Settings" from the "Settings" > menu. > 4) Close the file. > 5) Reopen the file to see your new settings take effect. >

question re: file clones and paths

2018-04-10 Thread k-hen
Hi Again, There's a tip that says to clone your file nodes and put the clones in a folder at the end of the outline to match your output directories. Also, there has been some notices recently regarding using @path directives, potentially recursively to simply your @file naming. Both of these

question re: forward-word / ctrl+arrow stops

2018-04-11 Thread k-hen
Hi All, Sorry for all my beginner questions, but could someone please help point be in the right direction to edit/replace the ctrl+arrow functions to also stop on operators? say I have the body text: 'test1', '', 'test2' In leo, if I start at the beginning of the line then ctrl+right-arrow,

Re: question re: forward-word / ctrl+arrow stops

2018-04-11 Thread k-hen
Nevermind, I figured this out - I was looking for the 'smart' versions of the functions. added shortcut in myLeoSettings for: forward-word-smart = Ctrl+Right back-word-smart = Ctrl+Left Kevin On Wednesday, April 11, 2018 at 1:45:07 PM UTC-4, k-hen wrote: > > Hi All, > > Sorr

Re: question re: file clones and paths

2018-04-13 Thread k-hen
:05:06 AM UTC-2:30, k-hen wrote: > > Hi All, > > I'm still having a problem with the @path directive when using using file > clones. Attaches is a simplified example. > In the attached, If I don't have file clones the path works fine, but as > soon as I add the file clon

Re: question re: file clones and paths

2018-04-13 Thread k-hen
in the output file which also doesn't work. I suppose my only option now is to include the full pathname in every file (I have hundreds) but that doesn't seem like a great solution. Any guidance would be appreciated. Thanks, Kevin On Tuesday, April 10, 2018 at 6:05:55 PM UTC-2:30, k-hen wrote

Re: question re: file clones and paths

2018-04-13 Thread k-hen
d to clone the entire @file node, I >have to ensure the @path trees match the directory trees. The @path string >is not inside my @file nodes, but in the nodes above. > > Hope that makes sense and hope that helps. Regards, > > Rob... > > On Friday, April 13,

File Templating

2018-03-29 Thread k-hen
Hi All, I'm familiar with the scripting components but was wondering if there's an existing way to do basic templating using @files. Essentially for starters I just want to be able to reference the current headline name within the body that gets written to the file. I could probably write a

Re: Leo Node Move Error

2020-09-03 Thread k-hen
to be vacuumed/cleaned up to reduce it back. https://sqlite.org/lang_vacuum.html The Leo version is 16MB which is a bit smaller but not quite as dramatic. Kevin On Thursday, September 3, 2020 at 4:54:51 PM UTC-4 k-hen wrote: > Hmm ... well at least it seems reproduceable. I did run across at least &g

Re: Back to No-Docks

2020-09-02 Thread k-hen
FWIW, I also had to turn them off. On Friday, August 28, 2020 at 5:34:25 AM UTC-4 Edward K. Ream wrote: > On Thursday, August 27, 2020 at 10:27:07 PM UTC-5, Thomas Passin wrote: > > Can anyone tell me how to get the pane layouts to be stable using docks? >> > > I use the legacy layout myself,

Leo Node Move Error

2020-09-02 Thread k-hen
I'm getting an error moving a node in Leo. It's a very large/deep node if that matters. This large node, X, is/was a root. I added a new root node, Y, then tried to move X under Y which resulted in the attached error. I'm using the sqlite DB back-end if that matters. This same behaviour has

Re: New Version of Viewrendered3 Updates Asciidoc Handling.

2020-09-02 Thread k-hen
This is really excellent - and a very big help - thank you Tom :-) Kevin On Tuesday, September 1, 2020 at 11:16:24 AM UTC-4 tbp1...@gmail.com wrote: > I've issued a PR for VR3, and otherwise it is available from my Git repo > on the vr3-asciidoc branch - > >

Region Bounds

2020-09-02 Thread k-hen
Hi all, I've still been going strong with Leo, but one thing that's been bugging me is that I use Ctrl+Shift+RtArrow a lot and it's not stopping at the next operator. Interestingly, Ctrl+Shift+LtArrow does. For example, I have thing['selectme'] = 'something'. If I put my cursor at the

Re: OT: My paintings

2020-09-12 Thread k-hen
I like those a lot. Well done :-) I was an art minor in school but haven't made my way back to it since moving on to my professional life. I really miss it. The book 'Drawing on the Right Side of the Brain' sparked a transformative changed my life - i.e. changing brain modalities. Also

Re: New Version of viewrendered3 makes adding node headline as a top-level heading optional

2020-09-04 Thread k-hen
from-node > > I have submitted a PR for this change,and it is also available from my > GitHub fork in the devel branch at > > https://github.com/tbpassin/leo-editor/tree/devel > > This change was requested by k-hen. > -- You received this message because you are subsc

Defining Attributes

2020-08-25 Thread k-hen
I keep flipping on how to sanely handle attributes. My mind is more comfortable when I label nodes in meaningful *phrases* but that's not how I want to represent them from a file output or coding perspective. I've been experimenting with jamming lots of information into the headline using

Re: Defining Attributes

2020-08-25 Thread k-hen
ll us more about what you want to do. Maybe you can concisely walk > through a typical scenario. > > On Tuesday, August 25, 2020 at 9:03:10 AM UTC-4, k-hen wrote: >> >> I keep flipping on how to sanely handle attributes. >> >> My mind is more comfortable when I label node

Re: Defining Attributes

2020-08-25 Thread k-hen
s into svg. A whole monthly report with many specialized diagrams > including this one was generated by running one batch file. > > I don't see why you couldn't keep all the source in Leo, and coordinate > the generation in a similar way. > > On Tuesday, August 25, 2020 at 2:02

Unbinding Keys

2020-08-17 Thread k-hen
Hi, I do see this issue: https://github.com/leo-editor/leo-editor/issues/327 and it's marked as closed, but for some reason the keys aren't unbinding. My other shortcut assignments are working. e.g. myLeoSettings/at-settings/at-keys/at-shortcuts new = None toggle-active-pane = None Am I doing

Excluding Nodes from Leo File

2020-08-18 Thread k-hen
Given an @clean node, is it possible to mark certain node to be excluded? The reason is that I want to store notes *about* a very large document but I don't want them to be written *in* the document. I thought I might be able to use @ignore or use sections explicitly but excluding the @others

Re: Sentinel Naming Convention

2020-08-18 Thread k-hen
Those are all valid points. In fairness, I think this could be a separate _option_ without affecting existing documents but I see your point. FWIW, in the database world it's generally best not to expose primary keys, so you'd have both an internal id and a public one which would be mapped.

Re: Sentinel Naming Convention

2020-08-21 Thread k-hen
universal file handlers so I those could be leo://fileref:urls which would open leo to the appropriate node from those comments. Anyway, just thought I'd mention it, maybe someday I'll try to dive into this. On Tuesday, August 18, 2020 at 8:26:54 PM UTC-4 k-hen wrote: > Those are all va

Re: Documented Database Use Case

2020-08-21 Thread k-hen
, hope all is well. Yours Sincerely, Kevin :-) On Friday, August 14, 2020 at 11:03:25 AM UTC-4 k-hen wrote: > I'd be *very* interested in that, thank you! :-D > > > On Fri, 2020-08-14 at 06:55 -0500, Edward K. Ream wrote: > > On Thu, Aug 13, 2020 at 9:

Re: Unbinding Keys

2020-08-21 Thread k-hen
Not to pester, but some of my shortcut keys still aren't working and having them could save me a tremendous amount if time. If there's anything you could point me to, I'd really appreciate it :-) On Monday, August 17, 2020 at 5:31:33 PM UTC-4 k-hen wrote: > Hi, > I do see this issue:

Re: Leo Interrupt

2020-08-21 Thread k-hen
. On Thursday, August 20, 2020 at 7:00:05 PM UTC-4 Edward K. Ream wrote: > On Thu, Aug 20, 2020 at 1:06 PM k-hen wrote: > >> Hi, >> Just wondering - Is there perhaps a way to interrupt Leo without fully >> killing it? >> > > There isn't, and it's not likely ever to hap

Re: ViewRendered 3 Now Renders Asciidoc (with limitations)

2020-08-21 Thread k-hen
This is so awesome - thank you! :-D On Thursday, August 20, 2020 at 7:06:39 PM UTC-4 Edward K. Ream wrote: > On Thu, Aug 20, 2020 at 5:34 PM Thomas Passin wrote: > >> I have been upgrading vr3 to render asciidoc nodes, mostly because of >> Kevin's interest. The work is not finished, but at

Re: Leo Write-Only Mode

2020-08-21 Thread k-hen
because it would be transmuted before distribution and so asciidoc would exclude those comments. Kevin On Thursday, August 20, 2020 at 6:54:51 PM UTC-4 Edward K. Ream wrote: > On Thu, Aug 20, 2020 at 4:50 PM k-hen wrote: > >> I'm feeling pretty stupid right now, I think this i

Re: Leo Interrupt

2020-08-21 Thread k-hen
use case there too :-) Kevin On Friday, August 21, 2020 at 1:24:43 PM UTC-4 vitalije wrote: > > > On Friday, August 21, 2020 at 4:14:43 PM UTC+2, k-hen wrote: >> >> Yes, absolutely, I'm a huge proponent of Git and it's toolchain :-) >> That said I want my personal comm

Re: Sentinel Naming Convention

2020-08-21 Thread k-hen
Intriguing ... can't wait! On Friday, August 21, 2020 at 12:53:30 PM UTC-4 Edward K. Ream wrote: > On Fri, Aug 21, 2020 at 9:38 AM k-hen wrote: > > I know this issue has been put to bed and is extremely unlikely to happen, >> but just one more thing: >> If I had a magic wa

Re: Documented Database Use Case

2020-08-21 Thread k-hen
leo. > > These are Windows command files, but changing to, say, bash scripts would > be easy enough. > > BTW, you can use the same method to add a launcher for your favorite > (non-Leo) editor. Then you can open any Leo node (even if it's not an > external file node) i

Re: Leo Interrupt

2020-08-21 Thread k-hen
'.history'. If for example you edit workbook.leo file, leo-ver-serv will > store changes to workbook.leo.history in the same folder. > > Vitalije > > On Friday, August 21, 2020 at 8:53:29 PM UTC+2, k-hen wrote: >> >> Excellent, I'll check it out - thanks! - do you happen to k

Re: Unbinding Keys

2020-08-21 Thread k-hen
It's very boring so far, just getting started :-) The biggest helper for now are the paste-node and paste-node-as-clone which don't seem to be working for me, and Ctrl+n doesn't seem to unbind either, i.e. after setting to None. I've check-bindings and they seem like they're free. The others

Re: Unbinding Keys

2020-08-22 Thread k-hen
ther bindings are what I'm really looking for though. On Saturday, August 22, 2020 at 8:13:36 AM UTC-4 k-hen wrote: > Hmm ... I suppose that's always a possibility, but I'm pretty sure it > works in other applications. > Incidentally, it's not working on Linux or Windows. > I've chec

Re: Unbinding Keys

2020-08-22 Thread k-hen
figure it out, I'll be sure to let people know. I see the Leo --trace=events & --trace-binding options and it's helping me out. Thanks again, Kevin On Saturday, August 22, 2020 at 8:51:57 AM UTC-4 k-hen wrote: > To confirm, I just tried these (Ctrl+Shift+C & Ctrl+Shift+V) in ano

Re: Unbinding Keys

2020-08-22 Thread k-hen
ard, which is fairly new, doesn't emit , which is > very annoying. I have to use the menu to get the command. Maybe you have > a keyboard issue? > > > On Friday, August 21, 2020 at 8:42:16 PM UTC-4, k-hen wrote: >> >> It's very boring so far, just getting started :-) &g

Leo Interrupt

2020-08-20 Thread k-hen
Hi, Just wondering - Is there perhaps a way to interrupt Leo without fully killing it? I have a large outline that is writing to a file I'm working on, a few hundred nodes now but will extend into thousands - and if/when I make an error it loops through the Orphan/Parent errors for every

Leo Write-Only Mode

2020-08-20 Thread k-hen
Is it possible to configure a non-sentinel file to be write-only? The file sync is making me very nervous because (and I'm sure I did something wrong) the file didn't import correctly and blew away my changes. Fortunately I had a backup but this just isn't acceptable for me :-/ What I think is

Re: Leo Write-Only Mode

2020-08-20 Thread k-hen
sure if there are particular reasons *why* they're not recommended but I'll go ahead and give them a shot. Humbly yours, Kevin On Thursday, August 20, 2020 at 4:54:25 PM UTC-4 k-hen wrote: > My sincerest apologies if I came off too alarmist with this message, > this is an awesome communi

Re: Defining Attributes

2020-08-27 Thread k-hen
- just need to figure out how :-) Kevin On Thursday, August 27, 2020 at 6:09:42 AM UTC-4 Edward K. Ream wrote: > On Tue, Aug 25, 2020 at 5:53 PM k-hen wrote: > >> Yes, I think that workflow is extremely compelling! >> I think a full graph database integration i

Re: Leo Write-Only Mode

2020-08-24 Thread k-hen
at 1:00:03 PM UTC-4 Edward K. Ream wrote: > On Fri, Aug 21, 2020 at 9:08 AM k-hen wrote: > > I feel like maybe I'm missing something with @nosent though, why is it >> much harder to use? >> > > Clones are fragile in @auto trees, even when @persistence is enabled. >

Re: Leo Write-Only Mode

2020-08-24 Thread k-hen
8:35 PM UTC+2, k-hen wrote: >> >> Thank you for the import script and the responses. >> >> I feel like maybe I'm missing something with @nosent though, why is it >> much harder to use? >> >> Let's say I have a directory of files that are each

Contract Node and Descendants

2020-08-24 Thread k-hen
Is there an option or function for Leo to contract all descendants of the selected node? e.g. if use this option on B, then D would collapse as well, but not G. Collapse other nodes isn't quite what I want since that would do everything. A .. B C D .. E .. F .. G H

Re: Leo Write-Only Mode

2020-08-24 Thread k-hen
Ok, makes sense, thanks. On Monday, August 24, 2020 at 10:36:54 AM UTC-4 vitalije wrote: > > > On Monday, August 24, 2020 at 3:15:50 PM UTC+2, k-hen wrote: >> >> >> Pardon the beginner question, but are you defining @coffee, @pug, etc >> yourself?

Re: Contract Node and Descendants

2020-08-24 Thread k-hen
That doesn't seem to be exactly what I'm looking for, when you expand it again, its children are still expanded :-/ On Monday, August 24, 2020 at 11:57:18 AM UTC-4 tbp1...@gmail.com wrote: > Outline/"Expand/Contract"/"Contract Node". > > > On Monday, August 24,

Re: Leo Write-Only Mode

2020-08-24 Thread k-hen
vitalije wrote: >> >> >> >> On Monday, August 24, 2020 at 3:15:50 PM UTC+2, k-hen wrote: >>> >>> >>> Pardon the beginner question, but are you defining @coffee, @pug, etc >>> yourself? >>> Why not @md then instead of md: on

Leo development/mentorship/consulting

2020-08-14 Thread k-hen
If anyone is interested, I'd be willing to pay for some Leo development/tutorials to help me learn & get everything I need configured faster. Please message me privately if you or someone you know might be interested :-) -- You received this message because you are subscribed to the Google

@clean orphan node error

2020-08-14 Thread k-hen
Hi guys, I'm trying to change and @auto node to an @clean node, but I'm getting and error writing the file. When I use the @auto then the file writes fine so it's not the path or anything. I'm sorry to keep bothering you, but I really want this to work. errors writing: test.txt Orphan node:

Re: @clean orphan node error

2020-08-14 Thread k-hen
gust 14, 2020 at 12:48:58 PM UTC-4, k-hen wrote: >> >> Hi guys, >> I'm trying to change and @auto node to an @clean node, but I'm getting >> and error writing the file. When I use the @auto then the file writes fine >> so it's not the path or anything. >&

Sentinel Naming Convention

2020-08-17 Thread k-hen
Hi All, This is low priority, just thought I'd ask if perhaps there's a way to configure the sentinel naming system. I'll probably keep using @clean, but I'd be much more likely to use @file & sentinels if they were a *hash* or custom specified instead of my name/date. Thanks, Kevin --

Re: ENB: the biggest picture

2020-09-22 Thread k-hen
That's fantastic news, really looking forward to it :-) On Friday, September 18, 2020 at 4:16:15 PM UTC-4 Edward K. Ream wrote: > On Fri, Sep 18, 2020 at 2:10 PM Rob wrote: > >> I can't wait to see that post from Speed! > > > I've sent the first draft to Speed for his comments and corrections.

SQL Syntax / Custom Syntaxes

2020-09-22 Thread k-hen
OK, I've looked around, but can't seem to find anything on the docs on defining custom syntaxes. i.e. I can't seem to find and @language sql Can I do this myself (realistically)? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe

Re: Leopard: using Leo as a DB and website

2020-09-22 Thread k-hen
Cool! On Monday, September 21, 2020 at 5:15:00 AM UTC-4 Edward K. Ream wrote: > On Mon, Sep 21, 2020 at 3:05 AM jkn wrote: > > Interesting stuff, thanks for this. I shall have to read more about the >> 'Associative Model of Data'. >> > > That might be fun. I took a quick look years ago. > >

Leo Sql Challenge

2020-09-22 Thread k-hen
Hi All, Looking for ideas for best practice - for another unusual situation. As mentioned previously, I'm using the Alembic library to do SQL schema migrations. So ... 1: I have an @clean my_migration.py file directive. 2: I have python functions that return 3: sql/ddl strings to

Documented Database Use Case

2020-08-13 Thread k-hen
If you don't mind, I'd like to present the community with the use-case I'm trying to achieve to fish for some ideas about how I might handle things. Essentially I have a large scale system of several databases and related ETL that I'm building and would like to take the literate route to build

view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
Hi All, I was wondering if it's possible to get mermaid.js [https://mermaid-js.github.io/] working via the view-rendered plugin. It's also possible that I'm just missing something. I'm aware that it works through LeoVue (which is awesome) but I'd really like to see it in the native editor.

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
, Edward K. Ream wrote: > > On Thu, Aug 13, 2020 at 8:21 AM k-hen > > wrote: > > I was wondering if it's possible to get mermaid.js [ >> https://mermaid-js.github.io/] working via the view-rendered plugin. >> > > Thanks for the link to mermaid! > > Leo doesn

Re: Losing Clones after restart

2020-08-13 Thread k-hen
l branch, build 6a92120f1a > 2020-06-23 09:38:53 -0500 > Python 3.8.2, PyQt version 5.14.2 > Windows 10 AMD64 (build 10.0.18362) SP0 > > Maybe Edward could shed some light here. > > On Thursday, August 13, 2020 at 1:24:19 PM UTC-4, k-hen wrote: >> >> Hi, >> I'm not

Re: vs code chronicles: code folding and Leo's importers

2020-08-13 Thread k-hen
Not sure if it's relevant, but it might be worth looking at Tree-Sitter which I've always found interesting. It was being developed for Atom prior to the Microsoft GitHub acquisition. More recently, CodeMirror (an alternative to Monaco) has followed suite and implemented something similar,

Losing Clones after restart

2020-08-13 Thread k-hen
Hi, I'm not sure if this is a bug or if I'm doing something wrong. I've created some cloned nodes, and the icon is correct and they work as I expect, but as soon as I close & reopen leo they become non-cloned (copied) nodes. I first tried using an in-place clone (ctrl+`) then dragging the

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
rame - see > > https://groups.google.com/forum/#!topic/leo-editor/hweJvjeYiEM. > > The development might take some time, and just viewing the output images > in VR3 might be all you really need. > > On Thursday, August 13, 2020 at 9:44:38 AM UTC-4, Edward K. Ream wrote: > &g

Re: Documented Database Use Case

2020-08-13 Thread k-hen
work than developing it > in the first place. I would say that it would be worth the effort in the > end. > > > On Thursday, August 13, 2020 at 10:37:06 AM UTC-4, k-hen wrote: >> >> >> If you don't mind, I'd like to present the community with the use-case >> I

Re: Losing Clones after restart

2020-08-13 Thread k-hen
I saw another post from today about cloning, so I've checked out the current devel branch - and unfortunately it's happening there for me also :-( The post says something about 'clones' branch, but I don't see one of those. On Thursday, August 13, 2020 at 1:46:13 PM UTC-4 k-hen wrote: >

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
That would be incredible. I'm definitely willing to take it further (but I still have to lots to learn!). mermaid is based on graphviz's dot syntax which is a bit more powerful (although not 100% compatible). Graphviz/Dot also has some python libraries for dot available which is nice too. If

Re: Losing Clones after restart

2020-08-13 Thread k-hen
> > Do you have the bug in a completely new file with only two simple nodes > (clones), saving the file, closing the file, then re-opening it? > > Or do you have this bug only in a particular Leo file ? > -- > FĂ©lix > > > On Thursday, August 13, 2020 at 1:59:51 PM UTC-4,