Re: Rendering math in Leo

2018-06-10 Thread Thomas Passin
To contribute to this thread after many months: Actually, python-markdown does support math via mathjax, if you install mdx_math and use it as one of the extensions. mdx_math is just a python file - you can install it using pip - so it will work on any python installation. To use it in

Re: How to retire --no-cache?

2018-06-27 Thread Thomas Passin
Despite what you say, I suggest keeping this option as a do-nothing option. No "fix" need ever be issued, or at least not until it is devised and convenient. Leo could print a deprecation message to the (error) console or log pane, or a message saying that caching is no longer used. Why

Re: Import freemind files into leo

2018-06-22 Thread Thomas Passin
Good move, since ElementTree is included in the standard Python distro (there was a time when it wasn't). On Tuesday, June 19, 2018 at 6:07:54 AM UTC-4, Edward K. Ream wrote: > > > > On Tue, Jun 19, 2018 at 4:59 AM, Frederic Fichter > wrote: > > Looks like the freemind import is simply not

Re: Using Holoview in @Jupyter Nodes

2018-03-11 Thread Thomas Passin
I can think of until one of them works. Just as a reminder, this is using VR, *not* VR2. On Sunday, March 11, 2018 at 8:35:06 AM UTC-4, Edward K. Ream wrote: > > On Saturday, March 10, 2018 at 8:26:21 PM UTC-6, Thomas Passin wrote: > > > Run the code in Jupyter Notebook. Let it finish and disp

Re: ENB: Simple design principles for style sheets

2018-03-11 Thread Thomas Passin
I didn't have too much trouble finding color constants per se. I would do a web search for, say, "color #553399", and that would show me the color. There are also on-line color pickers. But colors look different depending on their surroundings, and I had to do a lot of trial and error to

Re: The design of Leo+Ipython+Jupyter+Lit-computing

2018-03-11 Thread Thomas Passin
I haven't worked on anything much in-browser since before html5 came out. So I didn't know anything about "~=", for example. Even then I tried to only work with the simpler constructs (both javascript and css), so I probably wouldn't have used that particular construct anyway. On Saturday,

Re: The design of Leo+Ipython+Jupyter+Lit-computing

2018-03-12 Thread Thomas Passin
... On Saturday, March 10, 2018 at 9:46:12 PM UTC-5, Thomas Passin wrote: > > Do you happen to know if it's feasible to use QML widgets in Leo? > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group

Re: ENB: Simple design principles for style sheets

2018-03-12 Thread Thomas Passin
or, if your app settings on Windows are working right, just os.system(r"start C:\path_to_outline\test.leo") This way, the starting console closes immediately. True, you have to edit the @command ...@key contents if you want to open some other outline (workbook.leo might be a good place for

Re: ENB: Simple design principles for style sheets

2018-03-10 Thread Thomas Passin
I just went through a really painful experience when I adopted a dark theme. The existing ones that are in leoSettings were unusable, because too many of the syntax colors were unreadable against the dark background. I've gotten it working more or less to my satisfaction (there's one color

Re: ENB: Simple design principles for style sheets

2018-03-10 Thread Thomas Passin
On Saturday, March 10, 2018 at 1:18:38 PM UTC-5, Terry Brown wrote: > > On Sat, 10 Mar 2018 06:58:42 -0800 (PST) > Thomas Passin <tbp1...@gmail.com > wrote: > > in 5.7, LeoSettings has (at least) four dark themes: "base dark", "windows ekr dark", "

Re: ENB: Simple design principles for style sheets

2018-03-10 Thread Thomas Passin
:58 AM, Thomas Passin <tbp1...@gmail.com > > wrote: > >> I just went through a really painful experience when I adopted a dark >> theme. >> > > ​I agree with Terry, this is excellent feedback. Here are some ideas. > > *Color samples directly in Leo* > &

Re: Atom might be Leo's future

2018-03-10 Thread Thomas Passin
It seems to me that many python-based systems could be run in a Leo process, which would give access to their internal APIs. The challenge would be to get their input and output into Leo cells. For non-python systems, in some cases there could be a python wrapper that handles communication

Using Holoview in @Jupyter Nodes

2018-03-10 Thread Thomas Passin
I have been playing with Holoview, which may be a good system for graphing and plotting, as a replacement fro pyplot. It uses more declarative and less procedural progamming, which is usually a good thing. It already integrates with Jupyter Notebook, and so I decided to see if the

Re: The design of Leo+Ipython+Jupyter+Lit-computing

2018-03-10 Thread Thomas Passin
If I could step in here some months later, and move to a higher level of conversation, I think that there are several levels of engagement with Jupyter that we could contemplate. For example, we could display a notebook, graphics output and all, in a separate pane. ViewRendered does that

Re: The design of Leo+Ipython+Jupyter+Lit-computing

2018-03-10 Thread Thomas Passin
-0800 (PST) > Thomas Passin <tbp1...@gmail.com > wrote: > > > If I could step in here some months later, and move to a higher level > > of conversation, I think that there are several levels of engagement > > with Jupyter that we could contemplate. > >

Re: A study outline containing eric6 docs

2018-04-01 Thread Thomas Passin
I think there is a copyright issue with publishing this information in another form besides the original pdf. The doc is marked Copyright ©2007-2017 Detlev Offenbach I didn't see that it is allowed to be freely copied. On Thursday, February 22, 2018 at 7:56:25 AM

Re: Soon! valuespace and jupyter

2018-03-31 Thread Thomas Passin
I think we can go one better ... that is, to be able to put Leo organizer nodes between Jupyter nodes. The organizer nodes could contain Markdown, Rst, @file or @clean trees, or what have you. That would give us the ability to further annotate or adapt jupyter nodes beyond what their authors

Re: Syntax colorizer change for html

2018-03-31 Thread Thomas Passin
I've also had a lot of problems adjusting colors in themes. One thing I discovered is that the presence of the node with headline "@data qt-gui-plugin-style-sheet" has font and color settings that make the desired changes when none of the other settings - the ones that are supposed to work -

Re: ENB: Prototyping themes without changing code

2018-03-31 Thread Thomas Passin
Even easier: Turn the @settings node headline into @@settings. Now there are no settings to load. You can even start a new, clean @settings tree, all without renaming the file. On Saturday, March 17, 2018 at 8:07:55 PM UTC-4, Edward K. Ream wrote: > > > > > *Part 2: Disable

Leo File Name Is Not Displayed In Title Bar

2019-11-23 Thread Thomas Passin
I just noticed that in my installation of Leo 6.1, the name of the current leo file is not displayed in the title bar of Leo's window. In previous versions (at least up to 5.9 - I skipped 6.0), it was. Is there a launch option or a setting that will get the file names displayed again? If

Math in viewrendered

2019-11-21 Thread Thomas Passin
Math doesn't show up in viewrendered for either @rst or @md nodes. There's a setting for vr-math-output = mathjax, but the mathjax isn't rendering for me. The obsolete viewrendered2 was able to show math for @rst nodes, so it must be feasible. What has to be configured to show math symbols

Re: Pyodide - Like Jython for Javascript With Jupyter-like Notebooks

2019-12-16 Thread Thomas Passin
, of course. I'm working an a QT5 version of Vewrendred2. It's about halfway there. On Monday, December 16, 2019 at 10:09:40 AM UTC-5, Edward K. Ream wrote: > > > > On Sun, Dec 15, 2019 at 5:40 PM Thomas Passin > wrote: > >> I just stumbled onto Pyodide, and it's very

Pyodide - Like Jython for Javascript With Jupyter-like Notebooks

2019-12-15 Thread Thomas Passin
I just stumbled onto Pyodide, and it's very impressive. It produces Jupyter-like notebooks in a browser. What's really amazing to me is that they have managed to get things so that python code can call javascript and javascript can call Python, all within a browser. They don't have every

Re: Thomas Passin, does rev 028f4b (in devel) fix #1444 or #1445?

2019-12-10 Thread Thomas Passin
I just found that the problem went away when I deleted the Leo database directory. I added a comment to that effect in #1444. It must have something to do with the fact that I have used both Leo 5.9/python 2.7/QT4 and Leo 61/python 3.8/QT4 alternately. Somehow some things cached in the

Re: Leo for organizing notes? [Comments Item 9]

2020-02-10 Thread Thomas Passin
On Saturday, February 8, 2020 at 11:41:38 PM UTC-5, andyjim wrote: > > Speaking for myself, with my use case, where the system is for thoughts, I > want as little clutter and distraction as possible, which is the main > reason I’ve never even used markdown. When I’m thinking and writing my >

Re: Leo for organizing notes? [Comments Item 4]

2020-02-08 Thread Thomas Passin
On Saturday, February 8, 2020 at 2:15:42 PM UTC-5, andyjim wrote: > > Seems this issue needs a lot of thought. Niklas Luhmann's zettels had > numerical ID numbers, without textual clues as to their content. And it > was a paper system. And he certainly didn't work by remembering filenames >

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-24 Thread Thomas Passin
On Monday, February 24, 2020 at 12:41:47 PM UTC-5, andyjim wrote: > > > On Monday, February 24, 2020 at 9:38:53 AM UTC-5, Thomas Passin wrote: > >> >> I decided to have the link meta-lines have optional labels, because they >> help you know which links goes w

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-24 Thread Thomas Passin
On Monday, February 24, 2020 at 2:28:05 PM UTC-5, andyjim wrote: > > > > On Saturday, February 22, 2020 at 11:05:32 PM UTC-5, Thomas Passin wrote: >> >> Granted, you can't easily get a listing of all the tags - until we have a >> zettelkasten plugin that can creat

Re: Discuss: don't use Qt docks by default?

2020-02-25 Thread Thomas Passin
On Tuesday, February 25, 2020 at 10:37:00 AM UTC-5, Edward K. Ream wrote: > > Imo, reverting to Leo's legacy operation (not using Qt docks) would > simplify life for newcomers. > > This would entail adding a new command-line arguments, say --use-docks. > Those who now *do* use Qt docks would

Re: Comments re the ZettleKasten work

2020-02-25 Thread Thomas Passin
On Tuesday, February 25, 2020 at 10:10:18 AM UTC-5, Edward K. Ream wrote: > > The following are only suggestions, based only on my examination of > zettelkasten.leo. > > *Special node names* > > At present, the only "special" nodes (nodes starting with '@') in > zettelkasten.leo are @rst and

Re: 2019 retrospective. Plans for 2020

2020-02-25 Thread Thomas Passin
On Tuesday, February 25, 2020 at 9:43:57 AM UTC-5, Edward K. Ream wrote: > > 2019 was supposedly going to be the year of playful prototypes. Instead, > it was consumed by the following ponderous projects :-) > > > There was a big surprise, however. Leo's beautify commands must needs be >

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-25 Thread Thomas Passin
On Tuesday, February 25, 2020 at 5:55:36 AM UTC-5, Marcel Franke wrote: > > > > Am Dienstag, 25. Februar 2020 02:37:13 UTC+1 schrieb Thomas Passin: > > Note: Luhmann was the inventer of the zettelkasten. >> > > Ok, just for clarification: No he was not. Zettelkasten

Re: Discuss: don't use Qt docks by default?

2020-02-25 Thread Thomas Passin
On Tuesday, February 25, 2020 at 2:44:43 PM UTC-5, Edward K. Ream wrote: > When using --no-docks, users can choose the layout using @string > initial-split-orientation = horizontal. > We have got to get a handle on documentation so that things like this surface more easily. If I install a

Re: FYI: changes to settings & command-line options

2020-02-28 Thread Thomas Passin
Thanks. On Friday, February 28, 2020 at 8:19:26 PM UTC-5, Matt Wilkie wrote: > > > > Edward, what branch is this in? > > >> On Friday, February 28, 2020 at 5:26:56 PM UTC-5, Edward K. Ream wrote: > >> Recent revs in devel have made the following changes, per #1514 >

Re: FYI: changes to settings & command-line options

2020-02-28 Thread Thomas Passin
Edward, what branch is this in? On Friday, February 28, 2020 at 5:26:56 PM UTC-5, Edward K. Ream wrote: > > Recent revs in devel have made the following changes, per #1514 > : > > The --no-dock option is deprecated, because it is the default.

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Friday, February 28, 2020 at 10:29:54 PM UTC-5, andyjim wrote: > > In Thomas Passin's prototype, which I downloaded, 1st he types a title > heading, 2nd a @rst subheading, with title (for Sphinx, which is fine), 3rd > a @path heading, with title, 4th a @rst subheading, again with title, and

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Friday, February 28, 2020 at 11:28:37 PM UTC-5, andyjim wrote: > > Also realized I don't have to title it until I'm darn good and ready. And > I don't have to ID it and time stamp it before writing either. I can do > those later as well. > That's exactly right. For myself, I don't like

Re: mindmap view of one subtree

2020-02-29 Thread Thomas Passin
I'm also interested in displaying parts of Leo outlines as mind maps. Making them be interactive with Leo would involve a lot, but making them display-only would be much easier. The layout algorithm and its details would be the biggest challenge. Display could be either in a QT5 drawing

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-29 Thread Thomas Passin
On Saturday, February 29, 2020 at 9:59:33 AM UTC-5, andyjim wrote: > > [snip] > On Saturday, February 29, 2020 at 12:28:27 AM UTC-5, Thomas Passin wrote: > I think that's the solution for my use case. If, for example, as in The > Archive, Command-N (no matter where I am at the

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-29 Thread Thomas Passin
On Saturday, February 29, 2020 at 8:01:42 PM UTC-5, andyjim wrote: > > > On Saturday, February 29, 2020 at 11:30:58 AM UTC-5, Thomas Passin wrote: >> >> >> Paste the code above into this new node. The new node has be a child of >> an @settings node in either yo

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-29 Thread Thomas Passin
On Saturday, February 29, 2020 at 11:02:07 PM UTC-5, Thomas Passin wrote: > > I don't have a mac, but I installed the commands on a linux version -- I'm > running one in a virtual machine. It doesn't work there, either. This is > a shock to me - everything in the code should wo

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-01 Thread Thomas Passin
ay, March 1, 2020 at 12:36:28 AM UTC-5, Thomas Passin wrote: >> >> >> The commands work on linux (and I was able to remove some unnecessary >> code). The problem seems to be that Linux intercepts Alt-F8 and Alt-F7 for >> its own purposes (like resizing a window). Pr

Re: best practice for test driven development leo script?

2020-03-01 Thread Thomas Passin
Maybe you overlooked it because it scrolled way off the screen, but the output of your test outline, when I ran it, contained this: File "D:\Tom\git\leo-editor\leo\core\leoNodes.py", line 1353, in copy return Position(self.v, self._childIndex, self.stack) RecursionError: maximum recursion

Re: mindmap view of one subtree

2020-02-29 Thread Thomas Passin
s://kaleguy.github.io/leovue/#/t/2 > > Chris > > On Saturday, February 29, 2020 at 10:32:21 AM UTC-8, Thomas Passin wrote: >> >> I'm also interested in displaying parts of Leo outlines as mind maps. >> Making them be interactive with Leo would involve a lot, bu

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-01 Thread Thomas Passin
On Sunday, March 1, 2020 at 7:13:31 PM UTC-5, andyjim wrote: > > On Sunday, March 1, 2020 at 11:36:00 AM UTC-5, Thomas Passin wrote: >> >> I changed the hot keys to Ctrl+F8. Ctrl+F7, Ctrl+F6. They don't seem to >> conflict with either the OS hot keys, or Leo key

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-05 Thread Thomas Passin
On Thursday, March 5, 2020 at 4:51:19 AM UTC-5, Edward K. Ream wrote: > > > Many thanks for this work. There may be some overlap between your work and > my work with Qt docks. In vr.create_pane, this line has been commented out. > > dw.leo_docks.append(dock) > > If this line exists in your

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-04 Thread Thomas Passin
On Wednesday, March 4, 2020 at 8:13:09 AM UTC-5, andyjim wrote: > > On Monday, March 2, 2020 at 3:43:08 PM UTC-5, Thomas Passin wrote: >> >> A zettel thought experiment. >> ... >> So in about five minutes we have wandered from a dinner recipe to paleo >> hist

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-04 Thread Thomas Passin
On Wednesday, March 4, 2020 at 6:12:51 AM UTC-5, Edward K. Ream wrote: > > On Tue, Mar 3, 2020 at 9:41 PM Thomas Passin > wrote: > > BTW, VR3 has its own commands, which begin with "vr3-" instead of "vr-". >> Edward, does Leo use "vr-" comman

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Sunday, March 1, 2020 at 10:54:59 PM UTC-5, andyjim wrote: > > [snip] > > Eventually I hope, at least my vision hopes, to 'run the show' from inside > the zettels. For example, I prep an external (or it can be an already > imported file) for the leokasten and turn the parser loose on it.

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 10:07:00 AM UTC-5, Thomas Passin wrote: [snip] > I used this format to index the file for a full text search engine > (Lucene). I like the format because it is easy to type, easy to read, and > easy to parse. Note that this is an actual fragment from

Re: where do marks escape?

2020-03-02 Thread Thomas Passin
I can confirm erratic mark disappearances. Usually they seem to persist through several bouts of closing and opening Leo, but I'm never sure they will be there. BTW, I have set up these hot keys for marks: F4 - go to next mark F9 - set mark on node F10 - clear all marks I used these keys

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 8:32:14 AM UTC-5, andyjim wrote: > > On Sunday, March 1, 2020 at 10:54:59 PM UTC-5, andyjim wrote: >> >> >> I think Zettelkasten people tend to say the automated UID system plus the >> tags system fulfills the purpose of this, but I don't think it does. ... >> The

Re: zombie process generated by g.execute_shell_commands

2020-03-02 Thread Thomas Passin
I believe that this happens when you accidentally cause an event in the Windows cmd terminal. I'm referring to the terminal from which Leo is launched (i.e., with python -m leo.core.runLeo). It's not only during unit testing. For me, the usual case is that I want to switch to the terminal to

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Sunday, March 1, 2020 at 10:54:59 PM UTC-5, andyjim wrote: > > I've begun to use it. > > [snip] This is quite a mind dump, and I am very hard to get along with. Oh well, > hopefully some of this is stimulating/amusing at worst and maybe a little > of it possibly useful at best. > It can

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Sunday, March 1, 2020 at 10:54:59 PM UTC-5, andyjim wrote: > > I've begun to use it. > And already I see that I could use a command to slap a UID into an already > existing zettel that doesn't yet have one. I can do it (and have done it) > by making a new zettel and copy-pasting the body of

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 9:39:07 AM UTC-5, andyjim wrote: > > On Monday, March 2, 2020 at 8:57:30 AM UTC-5, Thomas Passin wrote: >> >> >> On Sunday, March 1, 2020 at 10:54:59 PM UTC-5, andyjim wrote: >>> >>> And already I see that I could use a

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Thomas Passin
Thank you, Edward. On Tuesday, March 3, 2020 at 4:34:22 AM UTC-5, Edward K. Ream wrote: > > On Mon, Mar 2, 2020 at 10:00 PM Thomas Passin > wrote: > > > ...is considered acceptable to place a css style sheet in the plugins > directory. > > Yes. Plugins can

Re: Heads up: #1521 changes Leo's read code

2020-03-03 Thread Thomas Passin
I'm not crazy about using {{sep}} here. It's not very readable, and it's harder to type that a single character. Requiring matched double braces also promotes the chance of an unspotted typo. IMO, instead of {{sep}} Leo should accept any of the standard path separators and convert them itself

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 11:13:24 AM UTC-5, andyjim wrote: > > On Monday, March 2, 2020 at 9:07:09 AM UTC-5, Thomas Passin wrote: >> >> >> We've got that by means of the Leo outline structure. The proximity and >> nesting of the Leo nodes fills exactly the s

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Thomas Passin
I imported a 15MB text file (10,000 lines) using Read-File-Into-Node. It worked, but it took a long time. Scrolling or jumping within the file also took a very long time. Jumping from the end to the start took several seconds. A search from the start to a phrase at the end took about 5

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Thomas Passin
ward K. Ream wrote: > > On Mon, Mar 2, 2020 at 10:00 PM Thomas Passin > wrote: > > > ...is considered acceptable to place a css style sheet in the plugins > directory. > > Yes. Plugins can even create sub-directories in the plugins directory. > > Edward > --

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-03 Thread Thomas Passin
On Wednesday, March 4, 2020 at 12:08:15 AM UTC-5, gar wrote: > > Good news! > Thomas, can the then later use vr3 for say doxygen or javadocs docstings > preview? > Currently it can do anything that viewrendered can do, plus the enhancements for RsT and MD. In the future, I hope to have it

Re: Find & Navigate jump to wrong location

2020-03-03 Thread Thomas Passin
On Tuesday, March 3, 2020 at 6:52:48 PM UTC-5, Edward K. Ream wrote: > > On Tue, Mar 3, 2020 at 3:04 PM Thomas Passin > wrote: > > I imported a 15MB text file (10,000 lines) using Read-File-Into-Node. >> > > @killcolor should speed things up considerably. >

Re: How To Intercept Clicks On Links in a QT5 Browser Widget

2020-02-27 Thread Thomas Passin
On Thursday, February 27, 2020 at 7:11:27 AM UTC-5, btheado wrote: > > > > On Wed, Feb 26, 2020 at 11:05 PM Thomas Passin > wrote: > >> Thanks! Wow, that will save me lots of time. U, I don't see how to >> "paste as node". My version of Leo has no

Re: Issues that straddle releases

2020-02-27 Thread Thomas Passin
Yes, and some would say that you should open a separate new branch for every single bug. If you haven't seen it, Raymond Chen's The Old New Thing had a whole series on how to organize, merge, and commit git branches to avoid strange problems like giving the "blame" to the wrong person. Very

Re: How To Intercept Clicks On Links in a QT5 Browser Widget

2020-02-26 Thread Thomas Passin
On Wednesday, February 26, 2020 at 1:14:53 PM UTC-5, Edward K. Ream wrote: > > > > On Wed, Feb 26, 2020 at 11:45 AM Thomas Passin > wrote: > >> If I create a QT5 browser widget, and (within Leo) want to intercept and >> act on clicks on hyperlinks, is that f

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-26 Thread Thomas Passin
Very relevant here are the repeated remarks in "Taking Smart Notes" - I have my copy now - that more important then slip-case details are how you take, write, and interconnect the slips. It is that work that really makes all the difference. With that in mind, I really want to start with a

Re: How To Intercept Clicks On Links in a QT5 Browser Widget

2020-02-26 Thread Thomas Passin
c.redraw() > else: > g.es(f"Could not find node with gnx: {gnx}") > else: > g.es(f"Don't know how to handle url: {url.toString()}") > else: > g.es(f"Don't know how to handle

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Friday, February 28, 2020 at 8:49:45 AM UTC-5, Thomas Passin wrote: > On Thursday, February 27, 2020 at 10:51:42 PM UTC-5, andyjim wrote: > >> Sorry to bring it up again, but one of the key things for me is to be >> able to launch a new zettel in an instant, without requi

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Thursday, February 27, 2020 at 10:51:42 PM UTC-5, andyjim wrote: > > > Another ugly and inconvenient question: Are you contemplating a command to > automate starting a new zettel (is it ok to use that term for the time > being? I gather you plan to find a new term.)? Sorry to bring it up

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Thursday, February 27, 2020 at 10:51:42 PM UTC-5, andyjim wrote: > > . Personally, though American, I have gotten used to the European date > format: YYMMDD and have come to prefer it. I've used it in filenames as > well as internally in files for about five years now (actually I hyphenate

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Thursday, February 27, 2020 at 10:51:42 PM UTC-5, andyjim wrote: > Sorry to bring it up again, but one of the key things for me is to be > able to launch a new zettel in an instant, without required steps before I > can start writing. I am suspicious that if I have to type in three or

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-27 Thread Thomas Passin
On Thursday, February 27, 2020 at 9:32:08 AM UTC-5, Marcel Franke wrote: > Am Mittwoch, 26. Februar 2020 23:50:11 UTC+1 schrieb andyjim: > > But in general you are not wrong here. Leo Editor can be used that way, > even though it's not be the best for this. But it's not the worst either. > It

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Friday, February 28, 2020 at 5:37:53 AM UTC-5, Marcel Franke wrote: > > > Am Freitag, 28. Februar 2020 02:11:20 UTC+1 schrieb Thomas Passin: > > BTW Using "created" instead of "timestamp" would be more >>> self-documentating. >>> &g

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-28 Thread Thomas Passin
On Friday, February 28, 2020 at 10:47:05 AM UTC-5, Marcel Franke wrote: > > Something you may be interessted for this: > > new = c.insertChild() > new.b = f'{id_label}{time_string}' > > I'm not sure about about focus on the title in this case, as I removed > this. But this should

Re: The docks2 branch is ready for testing

2020-03-05 Thread Thomas Passin
Leo 6.2-b1-devel, docks2 branch, build bf16967989 2020-03-05 11:33:41 -0600 Python 3.8.0, PyQt version 5.14.0 Windows 10 AMD64 (build 10.0.18362) SP0 A 2nd editor window was persisted. But for the first restart, the 2nd editor pane was docked in the upper left corner and was very small, just

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-05 Thread Thomas Passin
On Wednesday, March 4, 2020 at 12:32:01 AM UTC-5, Thomas Passin wrote: > > On Wednesday, March 4, 2020 at 12:08:15 AM UTC-5, gar wrote: > For this first release, any @language besides RsT, MD, and Python will be > rendered as plain text (not literal text). > Now it will re

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-24 Thread Thomas Passin
Wondering what Luhmann's original zettel cards looked like? This page has a photo of one - https://emvi.com/blog/luhmanns-zettelkasten-a-productivity-tool-that-works-like-your-brain-N9Gd2G4aPv Notice that he wrote the links in a different color. The card seems to be mostly a collection of

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-23 Thread Thomas Passin
On Sunday, February 23, 2020 at 7:09:33 PM UTC-5, Thomas Passin wrote: > > With the command to add a backlink, I would say that we have a working > zettelkasten system that has essentially all the features of the original > paper system, with better searching and reorganizing abi

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-24 Thread Thomas Passin
On Monday, February 24, 2020 at 8:21:33 AM UTC-5, Edward K. Ream wrote: > > On Saturday, February 22, 2020 at 9:47:41 PM UTC-6, Thomas Passin wrote: > > Attached is the Leo file for my little zettelkasten. It includes >> @settings nodes for the commands and keyboard short

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-24 Thread Thomas Passin
On Monday, February 24, 2020 at 8:22:56 AM UTC-5, Edward K. Ream wrote: > > > Excellent. Working code (or in this case, a working outline), is worth > gazillions of words and requirements :-) Much easier to understand. > Often, yes, but a good set of requirements can help you to keep your eye

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-24 Thread Thomas Passin
Here is the code for the command that I mentioned before, to go to a node and insert a backlink in the target node. I put this code into an @setting node with the headline: @command zettel-goto-node @key=Alt+F6 The @setting node goes into the myLeoSettings.leo file. This code could use a bit

Re: Error in rendering reStructuredText

2020-03-02 Thread Thomas Passin
I believe that you need @rst in the node's headline (or in the headline of a node higher up with less indentation in the subtree). As I recall, having the @language directive in the body is not enough. For VR3 - sorry, still a few things to clear up before release - I have provided a menu to

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 10:59:57 PM UTC-5, Thomas Passin wrote: > > As I finish up the work on the Viewrendered3 plugin, I'd appreciate some > advice on a few points. > A second question is about docks. At the moment, I have not got the plugin working with the old, dockless m

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-02 Thread Thomas Passin
I should probably have started with a summary of what VR3 is all about. Here it is. VR3 is a re-implementation of my minor enhancement of viewrendered2 (to be called "VR2+"). This was needed because VR2 was written for QT4 and didn't work with QT5. Edward (@ekr) updated viewrendered to work

Re: Viewrendered3 Advice and Thoughts Sought

2020-03-02 Thread Thomas Passin
Thank you, Gar! I sure understand about wanting to stay with dockless. In fact, I delayed upgrading from V5.9 for a long time because I thought that it required docks. But I'd have to say that I've made my peace with the docks, even with their odd quirks. I guess that I'll agonize over this

Viewrendered3 Advice and Thoughts Sought

2020-03-02 Thread Thomas Passin
As I finish up the work on the Viewrendered3 plugin, I'd appreciate some advice on a few points. One thing I'd like to know is whether it is considered acceptable to place a css style sheet in the plugins directory. I know that some plugins do put a UI definition file there. Here's the

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 12:10:38 PM UTC-5, andyjim wrote: > > [snip] > And if the system extracts the title for the heading, perhaps I need to > copy the title into the 'body', below. Or it could even differ from the > heading if there is any reason to do that. Can you have multiple

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 12:10:38 PM UTC-5, andyjim wrote: > > In the example you posted, "Salmon with Whole Lemon Dressing" is the > heading, and also the title in the rendered pane. But in the body pane, > what follows the id is "Salmon Lemon Dressing", so the rendered title is > the

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
A zettel thought experiment. I ran through an imaginary scenario for using a ZK, once it's populated. I based this on how I use my bookmark manager. Note that my bookmark collection does not actually have some of these headings and bookmarks. *I have a piece of cod to cook for dinner (

Re: Zettelkasten - Notes Jim but not as we know them.

2020-03-02 Thread Thomas Passin
On Monday, March 2, 2020 at 12:10:38 PM UTC-5, andyjim wrote: > > On Monday, March 2, 2020 at 10:07:00 AM UTC-5, Thomas Passin wrote: >> >> >> The line of "=" characters marks a section break, the text in brackets >> becomes the title, and

How To Intercept Clicks On Links in a QT5 Browser Widget

2020-02-26 Thread Thomas Passin
If I create a QT5 browser widget, and (within Leo) want to intercept and act on clicks on hyperlinks, is that feasible? Would I just look up the event for a hyperlink click and connect it to my own handler? What I'm interested in specifically is the case where I have a mind map in the

Re: Zettelkasten - Notes Jim but not as we know them.

2020-02-27 Thread Thomas Passin
On Thursday, February 27, 2020 at 10:31:57 AM UTC-5, Marcel Franke wrote: > > > Am Donnerstag, 27. Februar 2020 15:46:04 UTC+1 schrieb Thomas Passin: > > But in general you are not wrong here. Leo Editor can be used that way, >>> even though it's not be the best for this

Re: Leo for organizing notes?

2020-01-25 Thread Thomas Passin
On Saturday, January 18, 2020 at 8:45:08 PM UTC-5, Chris George wrote: > > > Using clones you can create whatever organizational scheme you like. Add > in a couple of plugins, like bookmarks, tags, and backlinks, and that > ability explodes. > > One Leo feature for organization that I use a

Re: Leo for organizing notes?

2020-01-26 Thread Thomas Passin
On Thursday, January 23, 2020 at 5:18:17 PM UTC-5, Matt Wilkie wrote: > > > [later] After reading http://leoeditor.com/slides/plugins.html#unl-py I > see there is also @url for use in headlines. It's smart enough to open a > specific node, not just the file > > @url >

Re: So how do you arrange panes now?

2020-01-29 Thread Thomas Passin
On Tuesday, January 28, 2020 at 6:16:14 AM UTC-5, Edward K. Ream wrote: > > On Mon, Jan 27, 2020 at 3:00 PM 'tfer' via leo-editor < > leo-e...@googlegroups.com > wrote: > > > Used to be a "Toggle split direction" command that would let have two > columns, outline and log on the Left, body on

Re: Using Vitalije's code patterns

2020-01-29 Thread Thomas Passin
On Tuesday, January 7, 2020 at 7:58:41 AM UTC-5, Edward K. Ream wrote: > > While working on leoAst.py, I have come to understand more fully several > of Vitalije's suggested code patterns: > > *Prefer functions to classes/methods* > > Classes and methods are essential in python. They aren't

Re: Leo for organizing notes?

2020-01-29 Thread Thomas Passin
On Wednesday, January 29, 2020 at 10:45:58 PM UTC-5, andyjim wrote: > > Many thanks to all. I've only just now got back to this thread and > gratified to see tips have kept coming in. It will take me awhile to check > all these out but it looks good indeed. > > I also want to put in a plug

Re: Using Vitalije's code patterns

2020-01-29 Thread Thomas Passin
On Thursday, January 30, 2020 at 12:10:50 AM UTC-5, Thomas Passin wrote: > > > Class B: > func2(self, parms) = A.func1 > Oops, I meant to write Class B: func2 = A.func1 -- You received this message because you are subscribed to the Google Groups "leo-editor&qu

Re: Leo for organizing notes?

2020-02-04 Thread Thomas Passin
Here's another potentially useful paper - http://people.csail.mit.edu/msbernst/papers/p337-vankleek.pdf The actual software project is now defunct, but we might get some ideas from it. On Tuesday, February 4, 2020 at 9:43:17 AM UTC-5, Thomas Passin wrote: > > Here's something inter

  1   2   3   4   5   6   7   8   9   10   >