themes

2015-06-20 Thread 'Terry Brown' via leo-editor
Kind of tied up with a lot of stuff right now so I haven't been able to participate so much in discussion, but if themes are to be implemented in part by a stylesheet appended to a core universal stylesheet, I think there should be three: core, theme, and user, with user being blank and entirely

Re: ENB: Proposal re #199: handling already-open files

2015-06-20 Thread 'Terry Brown' via leo-editor
This sounds ok to me - there's something wrong in the current code that could perhaps be hunted down, but I know I already fixed one reproducible bug in this area so it's obviously a hairy area. So the below approach seems like the most robust. I'd just add that the use case I have mostly is yes

Re: Active Path filters

2015-06-12 Thread 'Terry Brown' via leo-editor
On Thu, 11 Jun 2015 03:53:00 -0700 (PDT) john lunzer lun...@gmail.com wrote: I was just looking into this yesterday because my need for the feature is increasing. I think you're right that openDir is the correct function. Hopefully I'll find some time within the next few days to do some

Re: Help! How do themes specify alternate expand/contract icons?

2015-06-15 Thread 'Terry Brown' via leo-editor
On Mon, 15 Jun 2015 09:23:26 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Monday, June 15, 2015 at 10:21:35 AM UTC-5, Edward K. Ream wrote: I'm stumped. I've looked in the QTreeWidget docs and @data qt-gui-plugin-style-sheet, and googled related topics. Ah. I actually

Re: Implementing goto-next-N-visible

2015-05-29 Thread 'Terry Brown' via leo-editor
George wrote: Why not just switch operating systems instead of making accommodations? :-) Chris On Thu, May 28, 2015 at 12:35 PM, 'Terry Brown' via leo-editor leo-e...@googlegroups.com wrote: On Thu, 28 May 2015 12:26:05 -0700 (PDT) john lunzer lun...@gmail.com wrote

Re: Best way to get window/frame for current leo file

2015-05-29 Thread 'Terry Brown' via leo-editor
c.frame or some attribute of c.frame? Or walk c.frame.parent() until None, or the better answer Edward will provide ;-) Cheers -Terry On May 29, 2015 4:10:03 PM EDT, john lunzer lun...@gmail.com wrote: So there is g.windows() which gives a list of all the windows associated with each Leo file.

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

2015-07-01 Thread 'Terry Brown' via leo-editor
On Wed, 1 Jul 2015 06:45:46 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: This completes #186 https://github.com/leo-editor/leo-editor/issues/186: Left Gutter Line numbers I noticed a couple of things: - for @auto, it seems it's displaying body relative, rather than file

Re: Cursor Lag When Scrolling Text

2015-07-06 Thread 'Terry Brown' via leo-editor
leo-editor leo-e...@googlegroups.com javascript: wrote: On Mon, 6 Jul 2015 10:32:04 -0500 'Terry Brown' via leo-editor leo-e...@googlegroups.com javascript: wrote: All plugins disabled, no styling or theming activated. Plain Jane, vanilla, Leo on Linux with well known

Re: Cursor Lag When Scrolling Text

2015-07-06 Thread 'Terry Brown' via leo-editor
On Mon, 6 Jul 2015 10:44:20 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Mon, 6 Jul 2015 10:32:04 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: All plugins disabled, no styling or theming activated. Plain Jane, vanilla, Leo on Linux

Re: opening files

2015-05-22 Thread 'Terry Brown' via leo-editor
On Fri, 22 May 2015 05:49:07 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, May 21, 2015 at 11:08 AM, sbalt...@datatoolsinc.com wrote: I've been using LEO for quite some time. I got a new computer and decided to update to LEO 5.1. The program opens to CheatSheet.leo. But I can't

Re: Cursor Lag When Scrolling Text

2015-07-06 Thread 'Terry Brown' via leo-editor
On Mon, 6 Jul 2015 07:39:46 -0700 (PDT) Chris George technat...@gmail.com wrote: Hello, Leo 5.1-final, build 20150705110342, Sun Jul 5 11:03:42 CDT 2015 Git repo info: branch = master, commit = b0cc360843e3 Python 2.7.6, PyQt version 4.8.6 linux2 All plugins disabled, no styling or

Re: Cursor Lag When Scrolling Text

2015-07-06 Thread 'Terry Brown' via leo-editor
On Mon, 6 Jul 2015 10:32:04 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: All plugins disabled, no styling or theming activated. Plain Jane, vanilla, Leo on Linux with well known, well tested python/pyqt versions, on Linux Mint 17. Create a node. Create five

Re: Difference Between Mouse Selection and Shift-Arrow Selection

2015-07-07 Thread 'Terry Brown' via leo-editor
On Tue, 7 Jul 2015 11:02:29 -0700 (PDT) Chris George technat...@gmail.com wrote: This issue has been plaguing me for some time. It may be specific to Linux, but since the two applications involved are both multi-platform, simple testing by someone with access to a Windows box would be

Re: Reducing visual clutter in Tree

2015-08-12 Thread 'Terry Brown' via leo-editor
operation--@data tree-declutter-patterns Cheers -Terry On Sat, 8 Aug 2015 08:59:35 -0500 'Terry Brown' via leo-editor leo-e...@googlegroups.com wrote: On Fri, 7 Aug 2015 14:15:01 -0700 (PDT) john lunzer lun...@gmail.com

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
On Fri, 7 Aug 2015 14:15:01 -0700 (PDT) john lunzer lun...@gmail.com wrote: between nodes. See attached image for a simple example. I've already tested it on some of my exceptionally larger .leo files and the removal of @clean plus the highlighting of class nodes is simply amazing. I am

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
On Fri, 7 Aug 2015 21:10:31 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: It also seems like sometimes the tree scrolls to a center a specific node after some conversions. Not sure about the scrolling, I think I see that, but I don't this it needs a declutter

Re: Reducing visual clutter in Tree

2015-08-08 Thread 'Terry Brown' via leo-editor
On Fri, 7 Aug 2015 14:15:01 -0700 (PDT) john lunzer lun...@gmail.com wrote: One is that the conversions do not seem to take place until a certain action occurs in the tree. I can always get the conversions to happen from expanding a node (but not contracting a node). It also seems like

Re: Reducing visual clutter in Tree

2015-08-08 Thread 'Terry Brown' via leo-editor
Also just pushed some icons for different @file types, with support for the leo_dark_0 theme. See updated rules in leo/config/leoSettings.leo#@settings--Tree operation--@data tree-declutter-patterns Cheers -Terry On Sat, 8 Aug 2015 08:59:35 -0500 'Terry Brown' via leo-editor leo-editor

Re: Reducing visual clutter in Tree

2015-08-08 Thread 'Terry Brown' via leo-editor
pushed some icons for different @file types, with support for the leo_dark_0 theme. See updated rules in leo/config/leoSettings.leo#@settings--Tree operation--@data tree-declutter-patterns Cheers -Terry On Sat, 8 Aug 2015 08:59:35 -0500 'Terry Brown' via leo-editor leo-e

Re: Reducing visual clutter in Tree

2015-08-08 Thread 'Terry Brown' via leo-editor
updated rules in leo/config/leoSettings.leo#@settings--Tree operation--@data tree-declutter-patterns Cheers -Terry On Sat, 8 Aug 2015 08:59:35 -0500 'Terry Brown' via leo-editor leo-e...@googlegroups.com wrote: On Fri, 7 Aug 2015 14:15:01 -0700 (PDT

Re: Leo's future

2015-08-18 Thread 'Terry Brown' via leo-editor
On Tue, 18 Aug 2015 10:39:45 -0700 (PDT) holgersc...@googlemail.com wrote: Hi Edward, I don't know how often this has been asked: What if options would not be set via head or body of a node but be attributes of this node? I think what you're suggesting would be, in Leo terminology,

Re: Does @clean go too far?

2015-08-21 Thread 'Terry Brown' via leo-editor
On Fri, 21 Aug 2015 10:43:49 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 20, 2015 at 6:00 AM, Geoff Evans gtevan...@nl.rogers.com wrote: It seems to me that the file produced by an @clean node is not only clean but sterile. ​There was a suggestion for @nosent files to

NEW: Edit Settings menu

2015-08-23 Thread 'Terry Brown' via leo-editor
There's now an Edit settings menu under the main Settings menu. It's not going to make everyone (anyone?) happy, you still have to edit the content of a Leo headline to change font size etc. The new functionality is that it finds the appropriate setting and copies it to the appropriate outline

Re: Increasing the instant appeal of Leo

2015-08-23 Thread 'Terry Brown' via leo-editor
On Sun, 23 Aug 2015 15:51:23 +0300 Ville M. Vainio vivai...@gmail.com wrote: Ville's still around, good to know ;-) 2. .ini or .json based configuration (instead of .leo format), again like in Sublime Text or VSCode. Current system requires too much Leo buy-in already As it happens I have

Re: Increasing the instant appeal of Leo

2015-08-23 Thread 'Terry Brown' via leo-editor
On Sun, 23 Aug 2015 13:50:14 -0700 (PDT) john lunzer lun...@gmail.com wrote: 4. see if we could replace minibuffer with ctrl+shift+p like thing from sublime/atom/vscode. Much more impressive and modern. To terry, this is how sublime works. I agree that the pop-up style is more modern but

Re: NEW: Edit Settings menu

2015-08-24 Thread 'Terry Brown' via leo-editor
On Mon, 24 Aug 2015 09:21:36 -0500 Edward K. Ream edream...@gmail.com wrote: [snip] Again, wordy, but I think easy enough to understand. ​I agree. And even if the user hits cancel, they now have know what's available and where.​ Right, I think this menu based setting editing which tells

Re: NEW: Edit Settings menu

2015-08-24 Thread 'Terry Brown' via leo-editor
-settings ... [M] bodybg = yellow ... odd, in the settings pane, among the expected listings are a bunch like t tx=tbrown.201508217150.66status-border-style/t On Sun, Aug 23, 2015 at 11:50 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: There's now an Edit settings

Re: NEW: Edit Settings menu

2015-08-24 Thread 'Terry Brown' via leo-editor
On Mon, 24 Aug 2015 08:56:40 -0700 (PDT) john lunzer lun...@gmail.com wrote: On Monday, August 24, 2015 at 10:21:37 AM UTC-4, Edward K. Ream wrote: Note Reload settings isn't working as effectively as I think it should, that may need to be addressed as well. Unrelated to the new code.

Re: xkcd: Bwahahaha.

2015-08-17 Thread 'Terry Brown' via leo-editor
On Sun, 16 Aug 2015 13:18:23 -0700 (PDT) john lunzer lun...@gmail.com wrote: I understand their general purpose but not why that xkcd strip is funny. What are people using them for, why post your public key? I've encountered public/private key use for encryption a couple times, and it wasn't

Re: Traceback graphcanvas.py

2015-07-30 Thread 'Terry Brown' via leo-editor
On Thu, 30 Jul 2015 05:23:41 -0700 (PDT) lewis lewisn...@operamail.com wrote: Here is a traceback I get when I create a new node; OutlineInsert Node, type the node header text (it highlights in pink) then 'enter' graphcanvas requires that the backlinks plug-in is also enabled. I'm not sure if

Controlling Leo remotely

2015-07-29 Thread 'Terry Brown' via leo-editor
Prompted by the IRC discussion today, I've added remote code execution abilities to mod_http.py Relevant part of the doc.s pasted below. This is a plus for a couple of reasons - previously you had to use the leoremote plug-in which used sockets and was really python only, this new approach just

Re: Simple Scripting Question

2015-07-31 Thread 'Terry Brown' via leo-editor
On Fri, 31 Jul 2015 09:01:15 -0700 (PDT) Tim Fuller tfulle...@gmail.com wrote: p.moveToLastChildOf(ActionItems) p.moveToLastChildOf(g.findNodeAnywhere(c, 'ActionItems')) is probably what you want. 'ActionItems' is a str(ing) literal, whereas ActionItems is an undefined variable. Cheers

Re: navigation question

2015-07-31 Thread 'Terry Brown' via leo-editor
On Fri, 31 Jul 2015 09:09:25 -0700 (PDT) Phil phil.s@gmail.com wrote: Is it possible to suppress automatic collapsing of subtrees while I'm navigating an outline? I often cycle through several nodes in several places, and when they automatically collapse, I need to re-navigate, which

Re: Simple Scripting Question

2015-07-31 Thread 'Terry Brown' via leo-editor
On Fri, 31 Jul 2015 10:53:29 -0700 (PDT) Tim Fuller tfulle...@gmail.com wrote: Thanks everybody, I got it working. Starting to wrap my head around how all this works. I appreciate all the help. Good. Although working out how to code these things yourself is far more valuable than using

Re: navigation question

2015-07-31 Thread 'Terry Brown' via leo-editor
On Fri, 31 Jul 2015 10:42:22 -0700 (PDT) john lunzer lun...@gmail.com wrote: I think that collapse_nodes_after_move should be False by default. That is not expected behavior (performing an additional action that I didn't ask for) and if it is desired by the user then the user should have to

Re: navigation question

2015-07-31 Thread 'Terry Brown' via leo-editor
On Fri, 31 Jul 2015 16:04:04 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Jul 31, 2015 at 11:09 AM, Phil phil.s@gmail.com wrote: Is it possible to suppress automatic collapsing of subtrees while I'm navigating an outline? I often cycle through several nodes in several

Re: Long line bug

2015-08-05 Thread 'Terry Brown' via leo-editor
On Wed, 5 Aug 2015 07:41:17 -0700 (PDT) john lunzer lun...@gmail.com wrote: This one is very interesting. When I create a very long line of text in the body things begin to slow down dramatically when inputting additional text. I notice things starting after about 300 characters but at 600

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
On Thu, 6 Aug 2015 17:28:13 -0700 (PDT) john lunzer lun...@gmail.com wrote: This would be glorious. I also thought there might be a relatively simple way of simply changing the appearance and I also thought that using icons might be part of the answer! I'm super interested to see what you

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
On Fri, 7 Aug 2015 08:38:37 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Ok, funny, I have proof of concept in my working version of Leo, so trying to do some other work my tree looks like the attached, the 12 is just an illusion, it's not there when you edit

Re: Reducing visual clutter in Tree

2015-08-06 Thread 'Terry Brown' via leo-editor
On Thu, 6 Aug 2015 12:25:40 -0700 (PDT) john lunzer lun...@gmail.com wrote: Directives in node headers cause a great deal of visual clutter, making it more difficult to navigate expansive trees filled primarily with @clean/@file/@edit nodes. I agree completely, rather than seeing: @clean

Re: Official Plugins

2015-08-04 Thread 'Terry Brown' via leo-editor
On Tue, 4 Aug 2015 11:59:55 -0700 (PDT) john lunzer lun...@gmail.com 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

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
p.s. here's a real life example of with and without the change (attached images). So in this case it's the show end of path part that's contributing more than the make @clean into an icon part, although in an active_path directory tree where you only have directory names and file names and not

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
On Thu, 6 Aug 2015 12:25:40 -0700 (PDT) john lunzer lun...@gmail.com wrote: Directives in node headers cause a great deal of visual clutter, making it more difficult to navigate expansive trees filled primarily with @clean/@file/@edit nodes. Ok, I've pushed what I've got. I checked the unit

Re: Reducing visual clutter in Tree

2015-08-07 Thread 'Terry Brown' via leo-editor
On Fri, 7 Aug 2015 14:43:52 -0500 Edward K. Ream edream...@gmail.com wrote: ​Thanks for this.  When I ran the unit tests I got the following (unrelated) complaint about the recently-changed valuespace plugin: Thanks for the reminder, fixed and pushed. Cheers -Terry -- You received this

icons and paths (related to declutter)

2015-08-10 Thread 'Terry Brown' via leo-editor
Icon paths are handled specially by Leo to accommodate themes. So, rather than ICON Tango/16x16/places/folder_inv.png you would just say ICON Tango/16x16/places/folder.png and Leo will check first .../leo/themes/theme_name/Icons/Tango/16x16/places/folder.png (and some other places

Re: Reducing visual clutter in Tree

2015-08-10 Thread 'Terry Brown' via leo-editor
theme. See updated rules in leo/config/leoSettings.leo#@settings--Tree operation--@data tree-declutter-patterns Cheers -Terry On Sat, 8 Aug 2015 08:59:35 -0500 'Terry Brown' via leo-editor leo-e...@googlegroups.com wrote: On Fri, 7

Re: Status bar now resets but no longer uses themed colors

2015-07-24 Thread 'Terry Brown' via leo-editor
On Fri, 24 Jul 2015 08:45:08 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: I'll try and convert the status bar handling to CSS class style styling Done in e56fee5, as far as I can tell, the behavior *for the default theme* is the same. If you're using a theme other

Re: quickMove plugin fails w/ Qt5

2015-07-24 Thread 'Terry Brown' via leo-editor
On Fri, 24 Jul 2015 08:27:56 -0700 (PDT) resi147 sca...@yebu.de wrote: I think the QtGui.QAction is the problem as to work both qt4 and qt5 it should be something else (QWidget.QAction??.. not being a plugin developer I don't know the details) Does it mean I cannot use the plugin under

Re: Simple interactive scripts

2015-07-16 Thread 'Terry Brown' via leo-editor
On Thu, 16 Jul 2015 11:28:03 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Thursday, July 16, 2015 at 2:44:32 AM UTC-5, Israel Hands wrote: Hi, I'm writing a very simple script and need to get interactive input from the user. I have read the information in the docs and it seems

Re: Status bar now resets but no longer uses themed colors

2015-07-24 Thread 'Terry Brown' via leo-editor
| On Fri, 24 Jul 2015 05:02:46 -0700 (PDT) | john lunzer lun...@gmail.com wrote: | Using build d906c378fe8d | | I'm happy to see that the red/blue colors now reset when the status | bar updates but now my status bar is just grey/white and doesn't use | my dark theme anymore. | Edward and

Re: Importing files and folders with Leo

2015-07-20 Thread 'Terry Brown' via leo-editor
The active_path plugin lets you browse directories and import files, once activated you can just call a node: @path /path/to/somewhere and double click on that to expand / import. There are also context menu commands to recursively import whole folders. `@path .` works if you want to start

Re: Saving to @settings nodes programmatically

2015-07-20 Thread 'Terry Brown' via leo-editor
On Mon, 20 Jul 2015 05:39:31 -0700 (PDT) john lunzer lun...@gmail.com wrote: Perhaps you can guide me through a design decision then. I'm still hard at work on my quick-replace plugin. It's coming along swimmingly and I use it everyday, getting more useful as I continue to add features.

Re: Importing files and folders with Leo

2015-07-20 Thread 'Terry Brown' via leo-editor
On Mon, 20 Jul 2015 15:32:01 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: But, and very much OT now, it doesn't really matter when it started (it's obviously a perennial question), I'm just wondering why I sometimes only see responses to emails, not the original email

Re: Importing files and folders with Leo

2015-07-20 Thread 'Terry Brown' via leo-editor
On Mon, 20 Jul 2015 13:13:02 -0500 Edward K. Ream edream...@gmail.com wrote: On Mon, Jul 20, 2015 at 9:47 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: The active_path plugin lets you browse directories and import files, once activated you can just call a node

Re: Apply Leo's main stylesheet to plugin window

2015-08-25 Thread 'Terry Brown' via leo-editor
On Tue, 25 Aug 2015 10:14:17 -0700 (PDT) john lunzer lun...@gmail.com wrote: I'm at the point where I'm trying to convert my quick-replace @command to a plugin and I looked around in the current plugins but I couldn't find an example of how I apply Leo's main stylesheet to floating QtWidgets.

Re: Running a Qt application with Ctrl-B

2015-08-25 Thread 'Terry Brown' via leo-editor
On Tue, 25 Aug 2015 03:26:58 -0700 (PDT) reinhard.engel...@googlemail.com wrote: May be this is a stupid question: I'm trying to import a large Qt application into Leo. For testing, I created a script in a single node with the headline '@clean QtTest.pyw)' and the following body:

Re: quicksearch - Nav tab hard crashes Leo

2015-10-28 Thread 'Terry Brown' via leo-editor
On Wed, 28 Oct 2015 06:54:18 -0700 (PDT) john lunzer wrote: > Okay, this was caused by moving QApplication from QtGui in PyQt4 to > QtWidgets in PyQt5. Newest commit should fix it, though I can't test > it myself. Please let me know if this clears things up! Ha, decided to

Re: Added "Show Parents" option to quicksearch

2015-10-27 Thread 'Terry Brown' via leo-editor
On Tue, 27 Oct 2015 12:17:04 -0700 (PDT) john lunzer wrote: > This adds a further level of indentation to the quicksearch results > and groups all results by their parent node. nice - I was already finding the node level grouping useful. I added some code so Ctrl-click

Re: Added "Show Parents" option to quicksearch

2015-10-27 Thread 'Terry Brown' via leo-editor
On Tue, 27 Oct 2015 16:45:13 -0700 (PDT) john lunzer wrote: > Thanks for that Terry, I was going to implement something similar and > may still for the delete key. Good idea. You can refactor the code to reuse my snippet - no need for two of us to find out that hiding the

Re: Abbreviations

2015-11-13 Thread 'Terry Brown' via leo-editor
On Fri, 13 Nov 2015 08:21:47 -0600 Kent Tenney wrote: > I have the following abbrev def: > > svg;;=http://www.w3.org/2000/svg; > \:xmlns:xlink="http://www.w3.org/1999/xlink; > \:width="<|width|>" height="<|height|>" viewBox="<|viewbox|>" >

Re: Abbreviations

2015-11-13 Thread 'Terry Brown' via leo-editor
tions` node? > >> > >> Of course not, I'm an idiot. > >> Much better now, having followed directions. > >> > >> Other editors make a big deal of snippet capability not nearly > >> as nice as this. Is there a reason it's not available by default? > &g

Re: Introspection for Leo

2015-11-16 Thread 'Terry Brown' via leo-editor
On Mon, 16 Nov 2015 04:46:28 -0800 (PST) john lunzer wrote: > I think one way to make Leo more powerful and easier to learn is to > further expose Leo to itself. > > I recently was messing around with Terry's introspection script which > lays outs the guts of an opject in a

Re: Import JSON file as tree

2015-11-15 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 18:41:24 -0600 "'Terry Brown' via leo-editor" <leo-editor@googlegroups.com> wrote: > TL;DR: c == c.p should return False, not raise AttributeError, fixed > on trunk now. Although that said, my code should probably use "c is c.p", that would

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

2015-11-05 Thread 'Terry Brown' via leo-editor
On Thu, 5 Nov 2015 09:50:32 -0800 Don Dwiggins wrote: > Well, I wouldn't go as far as Marcel, but there is a tension here > between brevity and general comprehensibility. Ed, you've lived and > breathed Leo for years, so those particular single letter names are >

Re: Possible pylint/goto-global-line bug and lost in Leo's internals

2015-11-05 Thread 'Terry Brown' via leo-editor
On Thu, 5 Nov 2015 10:01:15 -0800 (PST) john lunzer wrote: > Well I figured part of it out, gotoCommands.py is missing from > LeoPyRef.leo in core classes --> command classes. > > I would make the change to this myself but after I make the changes > to LeoPyRef.leo my nodes

Re: Session doesn't recognize mapped network locations on restore

2015-11-05 Thread 'Terry Brown' via leo-editor
On Thu, 5 Nov 2015 17:38:10 -0800 (PST) Largo84 wrote: > Haven't seen any replies so I'm wondering if I should post this as a > bug? > > Rob.. I think it would make sense to add it to the bug tracker. I vaguely remember a discussion about this long ago. Wonder if

Re: How to position body at beginning of text

2015-10-30 Thread 'Terry Brown' via leo-editor
On Fri, 30 Oct 2015 13:51:03 -0500 Kent Tenney wrote: > My script pastes into the node body: > p.b = some_text > > at which point, the body displays the end of 'some_text', > I want to be looking at the beginning of the text c.frame.body.wrapper.setInsertPoint(0)

Re: Recent small changes to quicksearch plugin

2015-10-07 Thread 'Terry Brown' via leo-editor
On Wed, 7 Oct 2015 10:18:06 -0700 (PDT) john lunzer wrote: > I implemented a filter which removes duplicate headline matches and I > added a 4-space indent to body matches which makes a huge difference > visually especially when there are multiple body matches. Great idea,

Re: Recent small changes to quicksearch plugin

2015-10-07 Thread 'Terry Brown' via leo-editor
On Wed, 7 Oct 2015 16:25:03 -0700 (PDT) john lunzer wrote: > I don't think you're misinterpreting. It is a hierarchical listing. > My thought comes from my own use case where I'm working with many > subclasses which implement empty base class functions and when I get > the

Made with Leo

2015-10-20 Thread 'Terry Brown' via leo-editor
This is sort of in response to the Last Lecture thread and why Leo is noteworthy. The attached is "made with Leo", although, to be fair, Blender also contributed :-) I was working on an org. chart, a chart of the structure of an organization (so shoot me now, I guess ;-). Two simple @buttons

Re: Making Leo easier to install

2015-10-14 Thread 'Terry Brown' via leo-editor
On Wed, 14 Oct 2015 12:09:23 -0500 Kent Tenney wrote: > VirtualBox is an app you download and install, > then you download the VM. > > VirtualBox runs the VM, offering a desktop which acts like a real > computer, so it's still 2 step, but easy to do and a fairly common way >

Re: c global var getting locked to a window?

2015-07-11 Thread 'Terry Brown' via leo-editor
On Sat, 11 Jul 2015 08:25:35 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Jul 9, 2015 at 4:11 PM, john lunzer lun...@gmail.com wrote: Edward/Terry, can you help explain what is happening and what is a more Leonic way of dealing with this issue. ​The term is Leonine :-) It

Re: Import JSON file as tree

2015-11-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 08:20:51 -0800 (PST) john lunzer wrote: > I tried to search the forums but the google groups search is the > worst. > > Has there been any work done to import JSON files as a Leo tree? > > My idea is that each node would have a headline and an empty body

Re: Abbreviations

2015-11-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 07:48:31 -0600 Kent Tenney wrote: > declaring > @string next-placeholder-abbrev = ,, > > with scripting turned off didn't work for me Could be a temporal sequencing error, i.e. using features before they're implemented doesn't always work :-) I've just

Re: Import JSON file as tree

2015-11-14 Thread 'Terry Brown' via leo-editor
On Sat, 14 Nov 2015 11:34:52 -0800 (PST) john lunzer wrote: > I wouldn't mind at least taking a glance at your unused code. I > really would like a fully collapsible tree and again, Leo seems like > a natural fit. This wouldn't be much trouble to write myself, however > if

Re: Recent commit adds subtree only and node capability to quicksearch plugin

2015-08-26 Thread 'Terry Brown' via leo-editor
On Wed, 26 Aug 2015 08:50:13 -0700 (PDT) john lunzer lun...@gmail.com wrote: As C.S Lewis put it, “if you do one good deed your reward usually is to be set to do another and harder and better one.” I can certainly attempt to extend that dropdown to add in below current node or something a

Re: Recent commit adds subtree only and node capability to quicksearch plugin

2015-08-27 Thread 'Terry Brown' via leo-editor
On Thu, 27 Aug 2015 09:42:22 -0500 Edward K. Ream edream...@gmail.com wrote: On Wed, Aug 26, 2015 at 9:53 AM, john lunzer lun...@gmail.com wrote: I've done limited testing. This is my first commit that is likely to affect many other people's daily flow. Please let me know if I've broken

Re: Apply Leo's main stylesheet to plugin window

2015-08-27 Thread 'Terry Brown' via leo-editor
On Thu, 27 Aug 2015 13:05:57 -0700 (PDT) john lunzer lun...@gmail.com wrote: I sort of checked this out, enough to think that it might be overkill for my plugin. For one under no circumstances would I expect my plugin to be put into a pane, it's window is too small for that. I don't think

Re: Apply Leo's main stylesheet to plugin window

2015-08-27 Thread 'Terry Brown' via leo-editor
On Thu, 27 Aug 2015 15:38:22 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: c.styleSheetManager.get_master_widget(c.frame.top).styleSheet() Just for completeness, c.config.getData('qt-gui-plugin-style-sheet') wasn't a bad idea, but it would be something like

Re: Apply Leo's main stylesheet to plugin window

2015-08-27 Thread 'Terry Brown' via leo-editor
wrote: On Thu, 27 Aug 2015 15:38:22 -0500 'Terry Brown' via leo-editor leo-e...@googlegroups.com javascript: wrote: c.styleSheetManager.get_master_widget(c.frame.top).styleSheet() Just for completeness, c.config.getData('qt-gui-plugin-style-sheet') wasn't a bad idea, but it would

Re: Continued abbreviation woes for new users

2015-08-29 Thread 'Terry Brown' via leo-editor
On Sat, 29 Aug 2015 11:43:24 -0700 (PDT) john lunzer lun...@gmail.com wrote: The title of this post plays off past titles by new users. I've just had an email exchange with a new user who was thoroughly confused with abbreviations. Basically he just wanted to use the hl;; abbreviation for

Re: NEW: Edit Settings menu

2015-08-25 Thread 'Terry Brown' via leo-editor
On Tue, 25 Aug 2015 10:18:47 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Tuesday, August 25, 2015 at 9:53:01 AM UTC-5, Edward K. Ream wrote: ...it's time to declare that configuration setting should never be cached. Instead code should always call c.config.getX. We shouldn't

Re: versions, re-install, etc.

2015-08-26 Thread 'Terry Brown' via leo-editor
On Wed, 26 Aug 2015 06:17:19 -0700 (PDT) Todd Mars tamn...@gmail.com wrote: I have some trouble because I had to downgrade py to 2.7 to use npm, so: (now I have py33 and py27 on the 'puter) 1) Is it necessary to uninstall old version of Leo to install new version? 2) To run Leo I use cmd and

Re: Recent commit adds subtree only and node capability to quicksearch plugin

2015-08-26 Thread 'Terry Brown' via leo-editor
On Wed, 26 Aug 2015 07:53:09 -0700 (PDT) john lunzer lun...@gmail.com wrote: I've done limited testing. This is my first commit that is likely to affect many other people's daily flow. Please let me know if I've broken anything. Also comments are welcome on my changes. I had to copy out

Re: Reducing visual clutter in Tree

2015-08-31 Thread 'Terry Brown' via leo-editor
*) > > > >> > >>> > >> REPLACE \1 > > > >> > >>> > >> ICON cleo/xblk.png > > > >> > >>> > >> > > > >> > >>> > >> `cleo` was the name of the plugin that

Re: Learning from IPython

2015-09-15 Thread 'Terry Brown' via leo-editor
On Tue, 15 Sep 2015 07:53:57 -0700 (PDT) "Edward K. Ream" wrote: > More interestingly Leo could use IPython's scheme of basing code > completion of live objects, provided users are willing to execute the > code in an outline.  Yes, this could be dangerous, and people must be

Hip replacement

2015-09-30 Thread 'Terry Brown' via leo-editor
I got a text from Edward: "Surgery went very well" So hopefully the recovery will too. Cheers -Terry -- 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: Hip will be replaced on Sept 29

2015-09-27 Thread 'Terry Brown' via leo-editor
On Sun, 27 Sep 2015 13:19:35 -0700 (PDT) "Edward K. Ream" wrote: > I've been focusing on the upcoming surgery lately. It will probably > be about two weeks before I'll be able to answer email. > > Edward > Best wishes for the op. and a speedy recovery. Cheers -Terry --

Re: Off Topic: productivity software you can't live without

2015-09-23 Thread 'Terry Brown' via leo-editor
It has a learning curve but I'm finding the tiling window manager `i3` https://i3wm.org/ makes having to think about window placement seem quaint. Unlike another tiling window manager, ratpoison, which was too absolute in it's "don't use the mouse" world view, i3 has more sensible "use the mouse

Re: A note to new users

2015-09-22 Thread 'Terry Brown' via leo-editor
On Tue, 22 Sep 2015 07:30:21 -0700 (PDT) Marcel Franke wrote: > > I find Leo's features to be an invaluable tool in my profession that > > I've struggled to find elsewhere. > > Which one, besides the outline? For me, one example, editing XML, a simple DB

Re: [again] Leo 5.0-final in MAC lost font control?

2015-09-21 Thread 'Terry Brown' via leo-editor
On Tue, 22 Sep 2015 01:30:18 +0800 "Zoom.Quiet" wrote: > the log is : > Leo Log Window > Leo 5.0-final, build 20141124101406, Mon Nov 24 10:14:06 CST 2014 Hi - I think font / settings / theme stuff has changed since Leo 5.0-final - is it possible for you to upgrade to the

Re: A note to new users

2015-09-21 Thread 'Terry Brown' via leo-editor
On Mon, 21 Sep 2015 14:13:18 -0500 "Edward K. Ream" wrote: > On Mon, Sep 21, 2015 at 2:11 AM, Marcel Franke < > kugelfischtemp...@googlemail.com> wrote: > > > > > john lunzer wrote: > > > > The lack of outlining feels like a handicap at best and trying to > > program > >>

Re: Push/pop hoist?

2015-12-02 Thread 'Terry Brown' via leo-editor
On Wed, 2 Dec 2015 11:52:20 -0800 (PST) Phil wrote: > > 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

Re: whatever

2015-12-03 Thread 'Terry Brown' via leo-editor
On Thu, 3 Dec 2015 13:17:12 -0800 (PST) Todd Mars wrote: > hi, > finally upgraded to 5.1, now @clean node works and can output a > simple text file that reflects the outlline. > So to make a small font in the body and headlines, I edit personal > settings file and put in what

Re: Push/pop hoist?

2015-12-01 Thread 'Terry Brown' via leo-editor
On Tue, 1 Dec 2015 14:16:03 -0800 (PST) Phil wrote: > Is there a command that can push the current (hoisted) root node onto > a stack, which can later be popped back to the hoisted root position? > If not, can someone provide some guidance for how I would implement > this

Re: Copy rich text, paste markdown

2015-12-31 Thread 'Terry Brown' via leo-editor
On Thu, 31 Dec 2015 08:15:01 -0800 (PST) Chris George wrote: > Hi Edward, > > I don't think so. I use Linux Mint 17.2 KDE. > > Leo 5.1-final, build 20151207062203, Mon Dec 7 06:22:03 CST 2015 > Git repo info: branch = master, commit = 0d2b4de265f0 > Python 2.7.6, PyQt

Re: Configuration Screipt Pattern

2015-12-21 Thread 'Terry Brown' via leo-editor
On Mon, 21 Dec 2015 12:47:54 -0500 Jacob Peck wrote: > 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

Re: Leo.exe: a christmas present for newbies

2015-12-26 Thread 'Terry Brown' via leo-editor
On Sat, 26 Dec 2015 03:37:40 -0800 (PST) "Edward K. Ream" wrote: > On Friday, December 25, 2015 at 7:49:26 PM UTC-5, Edward K. Ream > wrote: > > > I'll be working on the Linux and MacOS versions when I return home > > in a few weeks. > > I'll upload Leo.exe (windows)

Re: Copy rich text, paste markdown

2015-12-28 Thread 'Terry Brown' via leo-editor
On Sun, 27 Dec 2015 19:33:24 -0800 (PST) Chris George wrote: > Hello All, > > Some time ago I asked Terry about being able to copy rich text from a > browser window and paste rst. I was pointed to a solution that uses > xclip and pandoc and have been using it since by

Re: Configuration Screipt Pattern

2015-12-21 Thread 'Terry Brown' via leo-editor
On Mon, 21 Dec 2015 07:17:53 -0800 (PST) Rafi Bin-Nun wrote: > What's the pattern for creating Python configuration files in Leo? > Should Leo create a file which the script then reads or should the > script try to key off of Leo nodes directly? You might need to

<    1   2   3   4   5   6   7   8   >