Re: Another YouTube video worth watching twice

2024-05-02 Thread Jacob Peck
Semi-related, James P. Carse's book "Finite and Infinite Games" is a good, if occasionally overtly-spiritual (and easily enough ignored if that kind of thing isn't for you), look at life through the lens of games. Weirdly, I find all of this to be tied together with Mark Chu-Carroll's "Good

Re: ENB: Seconds thoughts about Trilium Notes

2024-04-26 Thread Jacob Peck
Why would a floating window solve any problems here? How are you envisioning that a floating VR3 window, *which can already be done* *today without any additional coding*, would help the situation? As a counterpoint, I only have a single display available to me. I generally do my work (in Leo)

Re: A Leo relative in the wild: Trilium Notes

2024-04-25 Thread Jacob Peck
I actually implemented something similar in a private 'leoapp' (app that lives in a .leo file) I wrote for myself a few years back. Pretty simple to get done, IIRC. My general pattern was to have a controller class that contained two 'view' widgets (a QTextBrowser for rendered HTML, and a

Re: Small puzzle: where is this focus-to-body action coming from?

2024-03-21 Thread Jacob Peck
Oh wow, I completely missed the @ignore. Curious, my machine does focus-to-body (or something similar, at least) on Ctrl+Right too, but I can't find any reason for that keybinding to be in place, nor does it show up in my 'show-commands' output either. Only appears to work from the tree or log

Re: Small puzzle: where is this focus-to-body action coming from?

2024-03-21 Thread Jacob Peck
Seems to be defined in this node in the leoSettings.leo file shipped with devel: unl:gnx://leoSettings.leo#ekr.20140721165014.19188 (line 88 of that node) ``` <...snip...> enter-tree-expand-and-go-right-mode ! tree = Ctrl-RtArrow <...snip...> ``` Jake On Thu, Mar 21, 2024 at 2:02 PM jkn

Re: Discuss: Leo 6.7.8 will install only PyQt6

2024-03-17 Thread Jacob Peck
My go-to ‘what package do I need’ tool is pkgs.org.  They’re showing that the package for Fedora 38 is called xcb-until-cursor.  Linux library management leaves much to be desired, in general.https://pkgs.org/download/libxcb-cursor.so.0()(64bit)Hope this helps!JakeOn Mar 17, 2024, at 3:45 PM,

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

2023-12-09 Thread Jacob Peck
"Too deep" is definitely a bit subjective, and will vary by person. But what I found helpful is to build a few plugins. Find some pocket of your workflow that you think could be just a little bit better 'if ' and write a plugin that does . Plugins are a good way, imo, to limit your

Re: Moving beyond Leo

2023-10-01 Thread Jacob Peck
I used lilypond with LaTeX for my honors thesis in undergrad about 11 years ago.  I sincerely hope the LaTeX integration has improved since then :)JakeOn Oct 1, 2023, at 9:44 AM, Thomas Passin wrote:Agreed, Lilypond is very good.  It takes a lot of learning, though.On Sunday, October 1, 2023 at

Re: How to revert in git?

2023-09-26 Thread Jacob Peck
Hi Rob,Try ‘git checkout ’.Also, a possible fix for that devel issue for now is to install PyEnchant from pypi.  I think it’s accidentally a requirement at the moment.JakeOn Sep 26, 2023, at 4:43 PM, Rob wrote:I need to revert to an earlier version as the current one in the devel branch won't

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

2023-09-03 Thread Jacob Peck
I tend to use c.executeMinibufferCommand('name-of-command') -- doesn't need any extra parameters, and Just Works TM. Jake On Sun, Sep 3, 2023 at 8:41 PM Félix wrote: > Making script in Leo is great, with the globally defined vars g, c and p > anything is possible. > > But what is the

Re: "Unbreakable UNLs" Can Break Under A Common Scenario

2023-07-06 Thread Jacob Peck
I move nodes like this all the time. Additionally, I rarely ever use clones, despite being one of Leo's 'headline features'. Your recent prescriptivism has been a bit frustrating as someone who has been using Leo for over a decade. The joy of Leo is that the user can do things in so many ways.

Re: Heads up: The SessionManager class will go away

2023-06-29 Thread Jacob Peck
I would argue that Edward’s solution of ‘just list the files you want to open in a script’ to totally not capture the essence of the session.  The whole point of sessions to me is to keep the flow of what I was doing last.  It’s more than a set of static leo files.  It’s the set of leo files I was

Re: Heads Up - My Workbook Is Getting Destroyed

2023-06-28 Thread Jacob Peck
I'd like to propose that *any* data corruption issue at all in Leo should be reported, regardless of whether the steps to replicate are known. The last thing an editor should ever do is destroy data. Jake On Wed, Jun 28, 2023 at 1:49 PM Thomas Passin wrote: > > On Wednesday, June 28, 2023 at

Re: GitHub seems to be buggy or down

2023-06-18 Thread Jacob Peck
Interesting.  Nothing on their status page:  https://www.githubstatus.com/On Jun 18, 2023, at 8:19 AM, Edward K. Ream wrote:I noticed last night that the diffs in PR #3393 were wrong.There was a glitch creating the PR and I assumed at the time that the glitch might have been the cause of the

Re: Improved recursive import in devel. Please update scripts

2023-06-14 Thread Jacob Peck
I absolutely depend on @path nodes.  Please do not break existing @path-in-headline behavior.JakeOn Jun 14, 2023, at 11:14 AM, Thomas Passin wrote:On Wednesday, June 14, 2023 at 11:06:01 AM UTC-4 Edward K. Ream wrote:On Wed, Jun 14, 2023 at 8:06 AM Edward K. Ream wrote:On

Is there an easy way to capture stdout/stderr for a shell command and pipe it to the log pane?

2023-05-03 Thread Jacob Peck
Hi all, I have an outline with some @button nodes that fire off external shell commands using g.execute_shell_commands. I tend to run Leo *without* a console window open, so anything those @button-triggered shell commands print to the console is lost to me. Is there an easy way/straightforward

Re: @language modes

2023-05-02 Thread Jacob Peck
Anecdotally, I had '@language python' act the same way for me once a few weeks back, but it sorted itself out somehow and I couldn't replicate it. On Tue, May 2, 2023 at 8:12 AM Rob wrote: > That's what I see as well. It's colored green until I enter a new line, > then reverts to black. Other

Re: Eye surgery tommorrow

2023-04-12 Thread Jacob Peck
Hoping it goes smoothly and you're back better than ever soon. Jake On Wed, Apr 12, 2023 at 10:13 AM jkn wrote: > 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

Re: Images In Leo Nodes?

2023-03-28 Thread Jacob Peck
Not what you’re really looking for, but Leo already supports @svg nodes.  Of course, those are just the image in a node, viewable in VR — no text around them in the same node, to my knowledge.I’ve done kinda-sorta similar things with one of my personal use ‘leo apps’.  In that use case, I had a

Re: Leo now shows an svg splash screen

2023-01-23 Thread Jacob Peck
FWIW, the current devel commit does *not* display the splash screen on my Arch Linux install using the Cinnamon desktop environment (at one point a derivative of Gnome 2, now well and truly its own thing). Anecdotally, I do remember the splash screen displaying on this Linux installation

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

2023-01-19 Thread Jacob Peck
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 UTC Edward K. Ream wrote: > >> On Thu, Jan 19, 2023 at

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

2023-01-19 Thread Jacob Peck
Most browsers support .svg files, which is another vector format. On Thu, Jan 19, 2023 at 8:58 AM Edward K. Ream wrote: > Apparently only Safari supports .tif files, so my plan to put a vectorized > Lion on Leo's home page is on hold. Boo hoo. > > The Lion will likely reappear in an hour or

Re: Please help me edit Leo's wikipedia page

2023-01-15 Thread Jacob Peck
Dreamstime subscription, or a one-time purchase. Jake On Sun, Jan 15, 2023 at 7:24 PM Jacob Peck wrote: > It appears the original is from Dreamstime: > https://www.dreamstime.com/royalty-free-stock-photos-tribal-lion-image3490018 > > They've changed their watermark in the interim --

Re: Please help me edit Leo's wikipedia page

2023-01-15 Thread Jacob Peck
It appears the original is from Dreamstime: https://www.dreamstime.com/royalty-free-stock-photos-tribal-lion-image3490018 They've changed their watermark in the interim -- the new watermark has the spiral still, but smaller. It also appears the original had red eyes, which were probably edited

Re: Please help me edit Leo's wikipedia page

2023-01-15 Thread Jacob Peck
dded link to LeoInteg! >> >> Much appreciated! >> >> Félix >> >> On Wednesday, January 11, 2023 at 11:17:10 AM UTC-5 Edward K. Ream wrote: >> >>> On Wed, Jan 11, 2023 at 9:56 AM Jacob Peck wrote: >>> >>> I cannot remove the versi

Re: Please help me edit Leo's wikipedia page

2023-01-11 Thread Jacob Peck
I've added the LeoJS link, but because it's not mentioned in the article, I don't foresee it staying long. I cannot remove the version tag, it's a requirement of the software infoblock. Unfortunately WikiMedia are unlikely to budge on this. I don't have any real interest in being a Wikipedia

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Jacob Peck
Agreed, but this might be an issue in the PyEnchant library. I suppose it can be coded around, though. On Wed, Jan 11, 2023 at 9:35 AM Thomas Passin wrote: > Thanks for the tip. I'll see if it works out. Still, I think Leo should > not fail to load if the spell checker is not functional, and

Re: Cannot Start Leo When Enchant Speller Is Missing Libraries

2023-01-11 Thread Jacob Peck
Some packagers of PyEnchant do not include any dictionary files. The PyEnchant documentation explains how to find one and install them: https://pyenchant.github.io/pyenchant/install.html#installing-a-dictionary Try installing the package 'hunspell-en_US' (or the language of your choice). That

Re: Please help me edit Leo's wikipedia page

2023-01-11 Thread Jacob Peck
Changed. Good luck negotiating with the WikiMedia folks, they have a fairly hardline stance on things. Jake On Wed, Jan 11, 2023 at 4:33 AM Edward K. Ream wrote: > Can someone please update the link to Leo's official web site on Leo's > Wikipedia page

Re: Tabbed Apps In Leo

2022-10-31 Thread Jacob Peck
I generally make a node with a unique headline somewhere, like '@common code-xyz' that has the function definition: @common code-xyz --- def hello(): g.es('hello') --- Then in my @button: @button run-hello --- # load the common code 'library' pos = g.findNodeAnywhere(c, '@common code-xyz')

Re: Excessive Typing Lags

2022-07-15 Thread Jacob Peck
I have noticed similar behavior on Windows 10, but only under extremely specific circumstances that I have been able to figure out. I have a ‘storage spaces’ disk pool on my system — essentially a RAID 1 pool in everything but name. This is backed by 2x 6TB 7200 RPM a mechanical hard drives.

Re: Outline-local Menus?

2022-05-13 Thread Jacob Peck
@button nodes can have @rclick child nodes, which add a context menu to the button they create. Just in case you didn't know :) I don't know of a way to make outline-local menus, however. On Thu, May 12, 2022 at 11:20 PM tbp1...@gmail.com wrote: > Is there a way to have a custom menu that

Re: F5 Key Opens New Leo Session?

2022-05-01 Thread Jacob Peck
I cannot replicate this on Win 10, latest devel commit. F5 happily does nothing on my machine. On Sun, May 1, 2022 at 4:01 AM jkn wrote: > doesn't happen for me on Linux FWIW (although the action is something I > have wondered about, whether it would be useful...) > > > On Saturday, April 30,

Re: What's next after Leo?

2022-04-22 Thread Jacob Peck
ConTeXt is my TeX flavor of choice. Somewhere I have a makefile & Leo based ConTeXt workflow — once upon a time I was writing a couple books. > On Apr 22, 2022, at 3:11 PM, jkn wrote: > >  > Hi Edward > FYI, there is also ConTeXt, to learn of/about: https://www.pragma-ade.com/ > > >

Re: How did I came across Leo?

2022-03-23 Thread Jacob Peck
On Wed, Mar 23, 2022 at 3:29 PM jkn wrote: > >> > Bl**dy hell, I remember now, there used to be forward and back arrows on > the toolbar, didn't there? Why do I no longer see them?? > > I think they're part of the nav_qt.py (or similarly named) plugin. Might not have it in @enabled-plugins :)

Re: How did I came across Leo?

2022-03-23 Thread Jacob Peck
On Wed, Mar 23, 2022 at 11:04 AM tbp1...@gmail.com wrote: > On the subject of CTRL-clicking, Leo has a feature that is fantastic when > you are cruising around in its source code trying to learn how something > works. If you CTRL-click on a method invocation, you will get transported > to its

Re: Could Leo Have Canvas-type Nodes?

2022-03-22 Thread Jacob Peck
I wrote the nodetags.py plugin, and a few others that use new log-pane tabs (nodewatch, the terribly broken interactive python terminal plugin, etc.) :) Tabs are great. I've long wished that the body pane was tabbed -- would've made one of my personal "Leo Apps" much easier to implement. On

Re: Could Leo Have Canvas-type Nodes?

2022-03-21 Thread Jacob Peck
While I anticipate pushback on this idea, I am wholeheartedly for it. I have long wanted such a feature, but couldn't figure out just how to word it. On Mon, Mar 21, 2022 at 10:42 AM tbp1...@gmail.com wrote: > Leo's nodes are basically text-only nodes. The text is available from the > node's

Re: To Plugin or Not?

2022-02-24 Thread Jacob Peck
I have similar 'apps' that live inside Leo outlines, as scripts but not plugins. At least one of them is well over 3000 lines of code :) I think the main question to ask is whether the 'app' makes any sense outside the context of the outline it lives in. In my case, the ones I've built really

Re: Leo Read-the-docs API module Seems Way Out Of Date

2021-09-27 Thread Jacob Peck
Agreed — IMO they should be removed. I set this up way back when, and then entirely forgot about them in the intervening years. The script I used to update it must have been lost about 3 server migrations ago. I apologize for any confusion these may have caused. As always, the definitive Leo

Re: #1880 merged into devel

2021-04-22 Thread Jacob Peck
Thanks a ton! -Jake > On Apr 22, 2021, at 7:01 AM, Edward K. Ream wrote: > >  > #1880 reports a problem loading plugins and suggests a fix. Here I'll > summarize what I did and how to load plugins > > What I did > > I made the fix suggested in the initial bug report. In some sense this is

Is there any (easy) way for an @rclick script to know its own headline?

2021-04-14 Thread Jacob Peck
Hi all, I've been toying around with a few things lately, and I've hit a situation where I want several @rclick nodes to do something very similar -- something that can be keyed off of their headlines. That way I could just copy and paste the nodes and change the headlines and everything would

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

2021-04-12 Thread Jacob Peck
Sounds like a situation that virtualenv would solve. > On Apr 12, 2021, at 6:00 PM, tbp1...@gmail.com wrote: > >  > Here is how I configured my installation to let me either use or not use > pyqt6. Obviously it's a Windows computer: > > 1. Create new directory. I used

Re: Permanent sabbatical?

2021-04-06 Thread Jacob Peck
Some folks call it 'self care' -- it's very important. Keep doing the awesome work, but most importantly, keep doing what nourishes you intellectually, emotionally, and personally. That's the key to productivity -- enjoying all the things /around/ the work. On Tue, Apr 6, 2021 at 11:13 AM

Re: Can't find the path!

2021-04-06 Thread Jacob Peck
I believe '.' is interpreted in the context of the OS -- which on both Linux and Windows evaluates to the same as the current working directory. I am unsure how or why the 'run(cmd)' portion is executed in the context of the current node's path, but if it is, '.' should expand at the OS level to

Re: Clones - How To Return To "Original" Node?

2020-12-21 Thread Jacob Peck
“clone-find-parents” will show you all the parent nodes of that clone, which might be enough context? “find-next-clone” seems to move to the next clone in the outline, but not necessarily the same clone you’re looking at. “goto-next-clone” will cycle through all the clones of the selected node

Re: Multiple myLeoSettings.leo files?

2020-12-19 Thread Jacob Peck
The search order is documented here: https://leoeditor.com/customizing.html#search-order-for-settings-files It states that the ones later in the list override settings in the earlier files. So I imagine it’ll do that! (This page was useful when I was trying to figure out how to make themes

Re: Fix for #1749 has been merged into devel

2020-11-22 Thread Jacob Peck
Thanks for the quick fix! The test case I reported appears to be fixed. I will report back if I find it in any other situations. Thanks, -->Jake On Sun, Nov 22, 2020 at 6:23 PM Edward K. Ream wrote: > #1749 can easily > result in data

Re: Completion madness

2019-06-21 Thread Jacob Peck
That's genius.  Thanks for sharing this tool! On 6/21/2019 2:54 PM, Terry Brown wrote: On Fri, Jun 21, 2019 at 12:34 PM Edward K. Ream > wrote: Still it's /crucial/ to make haste slowly by creating issues for /everything/ that needs attention.  Some mornings

Re: Rev b937f02 in devel cures python_terminal segfaults

2019-06-19 Thread Jacob Peck
Hi all, I've been out of Leo development for a while now.  But I'm sorry this little plugin toy of mine is causing such huge issues.  I'm surprised to hear of segfaults in python, though. FWIW, I never intended the plugin to be enabled by default -- it was just a quick proof of concept on

Re: LeoWapp Getting Started

2018-12-08 Thread Jacob Peck
> On Dec 8, 2018, at 9:03 AM, Edward K. Ream wrote: > > What's a POC? It generally means Proof Of Concept. -- 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 email to

Re: Why does my clone of the Leo-Editor repository NOT contain the .leo file for all the PyQt specific code?

2017-05-16 Thread Jacob Peck
IIRC, none of those are referenced by the plugin outlines. I think they're referenced by LeoPy.leo itself -- the GUI might be a 'plugin' but it's code is kept organized in LeoPy.leo. I could be off, I haven't hacked on Leo in a good long while... -->Jake On 5/16/2017 3:27 PM, SegundoBob

Re: using @first and not getting expected results

2017-02-07 Thread Jacob Peck
I'm not sure if it's documented anywhere, but when I need to use @first, I always need to put it as the very first line in the body node of the @file/clean/yadayada, so: @first #! /usr/bin/python3 @language python @and-so-on Hope this helps, -->Jake On 2/7/2017 9:13 AM, Eric S. Johansson

Re: OT: What's a raspberry pi good for?

2017-01-20 Thread Jacob Peck
I have several laying about my apartment, they're quite capable little devices :) - My personal webserver is a first generation RasPi 1 Model B (with the 256MB chip, before they changed). It's been working just fine for 2-3 years now, no issues at all! - I have one hooked up to my TV running

Re: Notes on Leo learning

2016-12-19 Thread Jacob Peck
It's also worth noting that there's an incredibly dormant mini blog thing maintained by a handful of us devs on github: http://leo-editor.github.io/ I forget if this is mentioned anywhere officially, but there are a few neat things up there. -->Jake On 12/19/2016 11:22 AM, Jacob Peck wr

Re: Notes on Leo learning

2016-12-19 Thread Jacob Peck
Hi Edward, Satish, Satish, Glad you find the (limited) articles useful! Leo is a really fun tool to explore when you first stumble upon it. I'm still finding new things all these years later. I suspect I always will be. Edward, you must have known about my blog at one point, because you

Re: I Love Leo :)

2016-12-14 Thread Jacob Peck
Welcome to the fold! :) -->Jake On 12/14/2016 4:12 AM, Satish Goda wrote: Hello Folks. I came across Leo recently and I am hooked to it. Thank you to Edward and the community for creating/maintaining/improving such a wonderful piece of software tool. I have been promoting Leo on Twitter

Re: Devs: please delete your git hooks

2016-10-18 Thread Jacob Peck
On 10/18/2016 11:57 AM, Edward K. Ream wrote: The hook can add to sys.path as needed--it's running from a known place, namely leo-editor/.git. Not if it can't run in the first place, because python.exe isn't already in the path! -- You received this message because you are subscribed to the

Re: Fw: Proposal: remove commit_timestamp.json

2016-10-17 Thread Jacob Peck
I'm with Terry on this -- the commit_timestamp.json file has been immensely helpful in debugging user issues in the past. Relegating the commit hash to some funky filename is not an acceptable option. Git hooks are painless. Why is this suddenly an issue? -->Jake On 10/17/2016 12:50 PM,

Re: Aha: Use tags to create clones

2016-09-21 Thread Jacob Peck
Glad to see this plugin is helping people! :) Thanks for your recent work, Edward. I definitely should have added proper names to the nodetags widgets... -->Jake On 9/21/2016 7:44 AM, Edward K. Ream wrote: On Tue, Sep 20, 2016 at 6:28 PM, Chris George

Re: running viewrendered hard crashes leo

2016-07-19 Thread Jacob Peck
From your git repo directory, you can do: git checkout 9d28e6c That will revert your files to the state at commit 9d28e6c. To switch back to master (current), do: git checkout master -->Jake On 7/19/2016 10:35 AM, lewis wrote: Downloaded the zip file of 9d28e6c zip file, unzipped and

Re: A hands-on intro to quantum computing with a real(!) computum computer

2016-06-07 Thread Jacob Peck
This is so cool! There goes my (classical) productivity for the afternoon... or perhaps the next several. "Quantum Laws in Black, White, and Blackandwhite" I appreciate IBM's sense of humor sometimes. When I was working with them on the LIME (Liquid Metal) project, it leaked through in

Re: I'm back: 2 days of moving to a new machine

2016-05-10 Thread Jacob Peck
On 5/10/2016 9:31 AM, Edward K. Ream wrote: 1. Windows 10 has an excellent "reset" function, that will restore the machine to its original condition, with or without user data. That, plus a post run of cipher /W:c should ensure that not even the NSA could recover any previous data. Neat.

Re: Help: I'm not pushing to github

2016-04-13 Thread Jacob Peck
What's the output of 'git remote -v'? On 4/13/2016 11:59 AM, Edward K. Ream wrote: I recently did a git clone of leo-editor, and now I can't seem to push to the remote. gitk shows my MASTER several commits ahead of remotes/origin/master. In particular, the scrolling fix isn't on github.

Re: can leo editor prompt file changed

2016-04-08 Thread Jacob Peck
On 4/8/2016 10:13 AM, 'Terry Brown' via leo-editor wrote: Why can't I find the setting? I tried check_for_changed_external_files check-for-changed-external-files checkforcha r:config.*external Maybe it's just too early in the morning. Cheers -Terry Try this:

Re: Proposal: remove/improve all chapter commands

2016-04-05 Thread Jacob Peck
As a newbie a few years back, this was one of my big stumbling blocks. I feel like the mouse interface doesn't receive much love given that Edward is rodent-averse (with good reason -- but there are plenty of us who still use the mouse). IIRC though, so much of Leo's internals rely on there

Re: Proposal: remove/improve all chapter commands

2016-04-04 Thread Jacob Peck
On 4/4/2016 3:03 PM, john lunzer wrote: * Cut "cloned nodes" * Past cloned nodes where I want it to be. * Clones are no longer clones. Why aren't my clones clones anymore? Not a bug -- paste creates copies by default. You want 'paste-retaining-clones'. -->Jake -- You received this

Re: Proposal: remove/improve all chapter commands

2016-04-03 Thread Jacob Peck
I have not been at a computer the past few days (thankfully) but I'll definitely be pulling it tonight/tomorrow. -->Jake > On Apr 3, 2016, at 9:44 AM, Edward K. Ream <edream...@gmail.com> wrote: > >> On Sun, Apr 3, 2016 at 6:45 AM, Jacob Peck <gatesph...@gmail.com&g

Re: Proposal: remove/improve all chapter commands

2016-04-03 Thread Jacob Peck
As a daily user of chapters, these changes are long overdue. Fire away! FWIW, the various chapter-* commands have always been an absolute pain, and as you mentioned, brain dead. I always found myself needing a reload of my outline after serious restructuring. Dynamic is the way to go.

Re: MD or RST?

2016-03-25 Thread Jacob Peck
Hi Rob, I use markdown (and also coded up the initial markdown support in Leo!) because I'm used to it. It's a much simpler (IMO) language to work with than RST for my needs. Plus, it's basically muscle memory for me. As for the comments thing -- markdown doesn't actually have comment

Re: Leo 5.2-b1 released

2016-03-15 Thread Jacob Peck
On 3/15/2016 10:41 AM, Edward K. Ream wrote: March 15, 2016 Beware the Ides of Leo :) Congratulations! Great news. -->Jake -- 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 reimagined: a tree/dag/view for every attribute!!!

2016-02-12 Thread Jacob Peck
Hi Edward, Fascinating stuff. I'm unclear on one thing though -- what you mean by 'attribute'. Is this just some arbitrary, user-definable key that would act as a name for a particular view/colored-thread? UI would be of paramount importance in this scheme -- there's lots of places

Re: Leo reimagined: a tree/dag/view for every attribute!!!

2016-02-12 Thread Jacob Peck
Probably overstepping here, but my input is mixed in below: On 2/12/2016 1:38 PM, john lunzer wrote: Well, I'm certainly happy to have been part of the conversation. On Thursday, February 11, 2016 at 6:12:20 PM UTC-5, Edward K. Ream wrote: I see these three statements as fundamental to the

Re: how to share @command functionality between nodes?

2016-02-05 Thread Jacob Peck
At the top of your @command node, you can do something like: eval(g.findTestScript(c,'@common code')) Where '@common code' is the name of a node somewhere in your outline. (Thanks to Edward for that one, 3 years ago now! Wow, hard to believe I've been using Leo that long...)

Re: Looking to engage a Leo expert in a paid project

2016-01-22 Thread Jacob Peck
I know it's not quite exactly the same, but for a while I was using a home-brewed system I called LTD (Leo Things Done), that leveraged the power of Leo and a few custom plugins (now part of the codebase) to organize my life. I fell out of the habit, but it was quite effective for me for a

Re: Configuration Screipt Pattern

2015-12-21 Thread Jacob Peck
The convention tends to be using @settings trees and the appropriate c.config.getX() methods, but obviously that only works for scripts run within Leo. If you're writing a script for use both within and outside of Leo, you might want to go the other way. My personal Leo scripts tend to hold

Re: Push/pop hoist?

2015-12-02 Thread Jacob Peck
Hmm... Chapters provide a similar function. I use them all the time for this functionality. Hope this helps! -->Jake On 12/2/2015 9:44 AM, Phil wrote: Not 100% clear on your goal - basically cut / yank / push a subtree, which you're identifying by hoisting, to a stack, rather than

Re: Push/pop hoist?

2015-12-02 Thread Jacob Peck
The 'problem' with chapters, if you can call it that, is that they 'feel' more permanent -- you're making a change to the tree structure (with @chapter nodes) to accommodate it -- of course, they're disposable if you wish, just not transparently so. -->Jake On 12/2/2015 10:36 AM, Phil wrote:

Re: My last lecture. Part 1: Why Leo is noteworthy

2015-10-27 Thread Jacob Peck
On 10/27/2015 11:34 AM, Edward K. Ream wrote: Imo, nobody could grok these advantages by reading documentation or reviews. I just had to immerse myself in the new language. Probably the same is true about Leo programming. I just have to say that this is perhaps the single most salient line in

Re: Monthly updates as advertising

2015-10-14 Thread Jacob Peck
Worked wonders for Firefox and Chrome, but both of those already had a significant userbase. On the other hand, the approach they take obsoletes minor versions -- nearly every release is a new major version, often without any super-important or super-visible new features. It feels like

Re: Hip will be replaced on Sept 29

2015-09-28 Thread Jacob Peck
Don't worry about email! Focus on rest and healing. Who knows, perhaps the time away from the code will give you the big Aha! you're looking for right now :) Wishing you a speedy recovery, -->Jake On 9/27/2015 4:19 PM, Edward K. Ream wrote: I've been focusing on the upcoming surgery lately.

Re: Seeking juicy new problems: Leo as serious PIM for GTD?

2015-09-08 Thread Jacob Peck
Hi Don, I don't know if it helps any, but I was using Leo in a GTD-style way for a while. I used a suite of scripts, along with a few plugins I wrote, to automate most tasks. It worked for me for over a year, and I might just have to get back into it soon. I lapsed because, ironically,

Re: Official Plugins

2015-08-04 Thread Jacob Peck
On 8/4/2015 2:59 PM, john lunzer wrote: I think it would be nice if there was a process in place to differentiate essential plugins in a community sanctioned, official, and at least partially objective way. They could be called official plugins and it would provide a much smaller subset of

Re: Simple Scripting Question

2015-07-31 Thread Jacob Peck
Try this: p = c.p.clone() dest = g.findNodeAnywhere(c,'ActionItems') p.moveToLastChildOf(dest) c.redraw() --- moveToLastChildOf is expecting a position, not a name. :) Hope this helps, --Jake On 7/31/2015 12:01 PM, Tim Fuller wrote: Thank you very much for the quick reply. I'm feeling

Re: @clean cr/lf problem

2015-07-15 Thread Jacob Peck
That is most certainly a python 3 bug. Once that's fixed, @lineendings crlf should work for you. Edward? --Jake On 7/15/2015 2:15 PM, _spt_ wrote: ok, here we go again! two screen shots, spt_leo_ss1 shows one node a forth word, spt_leo_ss2 shows the @lang,@lineending crlf and @others.

Re: @clean cr/lf problem

2015-07-15 Thread Jacob Peck
Replied in IRC, but I'll post it here for clarity and 'the recordbooks': '@lineending crlf' is a directive, not a @setting -- directives go into node bodies. In your clean-strings.leo example, you had @lineending crlf in an @settings tree within your @clean file. That is not going to work.

Re: @clean cr/lf problem

2015-07-15 Thread Jacob Peck
According to the screenshot, he's running a7e2e86. In IRC, he reported his python version as 3.4.3. --Jake On 7/15/2015 3:35 PM, Edward K. Ream wrote: On Wed, Jul 15, 2015 at 1:19 PM, Jacob Peck gatesph...@gmail.com mailto:gatesph...@gmail.com wrote: That is most certainly a python 3

Re: @clean cr/lf problem

2015-07-14 Thread Jacob Peck
Hi _spt_, The proper setting is: @lineending crlf Not @lineending cr / lf I just tested this with @clean and have a file that has CRLF line endings: $ file forth-test.txt forth-test.txt: ASCII text, with CRLF line terminators Hope this helps, --Jake -- You received this message because

Re: 5a78f7c: Leo shows line number in gutter by default

2015-07-01 Thread Jacob Peck
Nice work! Looks snazzy. The font-related settings don't work on my machine, for a few reasons in NumberBar.__init__: - gutter_font_slant is not gutter_font_style - gutter_font_size is completely ignored by LeoQtGui.getFontFromParams, because strings with 'px' or 'pt' don't cast to an int,

Re: plugin expfolder failing to install

2015-06-30 Thread Jacob Peck
The file leo/plugins/expfolder.ini no longer appears to be in the repo, so the plugin is bailing when trying to read it's init file. This is a good sign that the plugin hasn't been workable for ages. I don't see any author info in the plugin's docstring. I suppose someone could patch this up

OT: Org-mode + IPython interoperability

2015-06-09 Thread Jacob Peck
https://github.com/gregsexton/ob-ipython Perhaps someone will be interested in this? -- 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 email to

Re: To do: enabling/disabling plugins separately from loading plugins

2015-05-05 Thread Jacob Peck
On 5/5/2015 9:17 AM, 'Terry Brown' via leo-editor wrote: Seems to me replacing the whole plugins list loses the current capability of saying in this outline I want my regular list of plugins plus this one - after the change you'd have to copy your regular list of plugins, which would then not

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-05-01 Thread Jacob Peck
On 5/1/2015 9:29 AM, Edward K. Ream wrote: On Tuesday, April 28, 2015 at 2:06:56 PM UTC-5, Jacob Peck wrote: Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. This is very cool. A few comments: 1. The code is based

Off-topic: jiphy

2015-05-01 Thread Jacob Peck
A neat looking project: https://github.com/timothycrosley/jiphy --Jake -- 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 email to leo-editor+unsubscr...@googlegroups.com. To

Re: adding node with headline string

2015-04-28 Thread Jacob Peck
In a script or @button: # p is the position you'd like to insert after pos = p.insertAfter() pos.h = 'my string' c.redraw_now() Hope this helps! --Jake On 4/28/2015 6:14 AM, jkn wrote: Hi All how can I programatically insert a node and set its headline to a given string please? I'm sure

New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-28 Thread Jacob Peck
Hi all, Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. Here's the docstring: Leo.plugins.python_terminal Provides an interactive python terminal in the log pane. By Jacob M. Peck Usage Enabling this plugin will add

Re: Traceback leo.plugins.printing

2015-04-24 Thread Jacob Peck
Hi Lewis, The printing.py plugin was recently removed from the repo because it was integrated into core. Apparently, it was still in leoSettings.leo... I've fixed that as of rev 59a5eb225a8f. Pull latest and this should be fixed. Additionally, you should remove it from your

Re: Help: Conflicts in commit_timestamp.json after doing a clean git clone

2015-04-14 Thread Jacob Peck
On 4/14/2015 9:29 AM, Edward K. Ream wrote: ​ Hmm. What I want is for commits to always update the .json file, but for pulls to overwrite it silently. Surely this should be possible. Edward Somehow I doubt that's possible -- git has a strong policy of no unannounced data loss (whether or

Re: Leo 5.2 will be about porcelain, not plumbing

2015-04-13 Thread Jacob Peck
The wiki could easily be on github -- that keeps code and notes in one place :) https://github.com/leo-editor/leo-editor/wiki The old zwiki (I think) could be revived too, but much of what's out there is outdated. --Jake On 4/13/2015 10:28 AM, Edward K. Ream wrote: Git's distinction

Re: Travails of a newbie

2015-03-16 Thread Jacob Peck
On 3/15/2015 7:57 PM, Ross Burnett wrote: I'm an old dog trying to learn new tricks. I have been learning Python and using PyCharm IDE when I discovered Leo. I use Win 7 on a fast PC I assembled myself. I have been a Cobol developer since the early 70's but now more of a systems consultant

  1   2   3   4   5   6   >