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 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 some code > out

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 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 little sho

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" wrote: > On Wed, Aug 26, 2015 at 9:53 AM, john lunzer 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. > > > > ​I don'

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 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 there's a lower

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" wrote: > c.styleSheetManager.get_master_widget(c.frame.top).styleSheet() Just for completeness, c.config.getData('qt-gui-plugin-style-sheet') wasn't a ba

Re: Apply Leo's main stylesheet to plugin window

2015-08-27 Thread 'Terry Brown' via leo-editor
41 PM UTC-4, Terry Brown wrote: > > > > On Thu, 27 Aug 2015 15:38:22 -0500 > > "'Terry Brown' via leo-editor" > > wrote: > > > > > c.styleSheetManager.get_master_widget(c.frame.top).styleSheet() > > > > Just for completeness, &g

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 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 inserting the he

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 preceeded > > > >> >

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 > aware of the danger

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 most recent version: ht

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 > >> nearly blind at worst.

Re: A note to new users

2015-09-22 Thread &#x27;Terry Brown&#x27; 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 definition. Editing the XML using Leo's

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

2015-09-23 Thread &#x27;Terry Brown&#x27; 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 i

Re: Hip will be replaced on Sept 29

2015-09-27 Thread &#x27;Terry Brown&#x27; 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 -- You received this me

Hip replacement

2015-09-30 Thread &#x27;Terry Brown&#x27; 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 leo-edit

Re: Recent small changes to quicksearch plugin

2015-10-07 Thread &#x27;Terry Brown&#x27; 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, looks good. > I plan

Re: Recent small changes to quicksearch plugin

2015-10-07 Thread &#x27;Terry Brown&#x27; 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 results I can't tell wh

Re: Making Leo easier to install

2015-10-14 Thread &#x27;Terry Brown&#x27; 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 > to offer configurati

Made with Leo

2015-10-20 Thread &#x27;Terry Brown&#x27; 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 plu

Re: Added "Show Parents" option to quicksearch

2015-10-27 Thread &#x27;Terry Brown&#x27; 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 deletes an item and its

Re: Added "Show Parents" option to quicksearch

2015-10-27 Thread &#x27;Terry Brown&#x27; 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 selected item in the

Re: quicksearch - Nav tab hard crashes Leo

2015-10-28 Thread &#x27;Terry Brown&#x27; 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 run py3 / qt5 just to

Re: How to position body at beginning of text

2015-10-30 Thread &#x27;Terry Brown&#x27; 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) c.frame.body.wrapper.seeInsertP

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

2015-11-05 Thread &#x27;Terry Brown&#x27; 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 > probably etched in your neura

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

2015-11-05 Thread &#x27;Terry Brown&#x27; 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 Python 3's path handling

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

2015-11-05 Thread &#x27;Terry Brown&#x27; 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 are starting to look

Re: ECCO refugees?

2015-11-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 6 Nov 2015 05:17:03 -0800 (PST) john lunzer wrote: > I've never used ECCO or heard of it before using Leo so I'm in the > dark regarding its features. > > That said, I think it would be appropriate to lay out the > functionality you're for in a "calendar view". I do a couple of calend

Re: Abbreviations

2015-11-13 Thread &#x27;Terry Brown&#x27; 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|>" > \:xml:lang="en"> >

Re: Abbreviations

2015-11-13 Thread &#x27;Terry Brown&#x27; via leo-editor
code here }|} expansion. Maybe file an enhancement bug? Cheers -Terry > Thanks, > Kent > > On Fri, Nov 13, 2015 at 9:55 AM, 'Terry Brown' via leo-editor > wrote: > > On Fri, 13 Nov 2015 08:21:47 -0600 > > Kent Tenney wrote: > > > >> I hav

Re: Abbreviations

2015-11-13 Thread &#x27;Terry Brown&#x27; via leo-editor
; >> > >> 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? > >

Re: Import JSON file as tree

2015-11-14 Thread &#x27;Terry Brown&#x27; 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 > until the JSON s

Re: Abbreviations

2015-11-14 Thread &#x27;Terry Brown&#x27; 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 pushed with abbreviat

Re: Import JSON file as tree

2015-11-14 Thread &#x27;Terry Brown&#x27; 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 there is some code floa

Re: Import JSON file as tree

2015-11-15 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 14 Nov 2015 18:41:24 -0600 "'Terry Brown' via leo-editor" 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 have avoided the problem

Re: Introspection for Leo

2015-11-16 Thread &#x27;Terry Brown&#x27; 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 tree format. I did an

context aware insert-file-name

2015-11-18 Thread &#x27;Terry Brown&#x27; via leo-editor
Hi all, Made some moderately extensive changes to insert-file-name: Prompt for a file name, then insert it at the cursor position. This operation is undoable if done in the body pane. The initial path is made by concatenating path_for_p() and the selected text, if there is any, o

Re: Data set on unsupported clipboard mode. QMimeData object will be deleted.

2015-11-24 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 24 Nov 2015 07:12:17 -0800 (PST) Largo84 wrote: > I don't recall seeing this message in the startup log (terminal > window) before today. I just updated to the most current version on > GitHub. Hmm, this must be https://github.com/leo-editor/leo-editor/commit/0c89affbb86adf2ad5b828bb8eb

Re: Data set on unsupported clipboard mode. QMimeData object will be deleted.

2015-11-24 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 24 Nov 2015 10:47:08 -0800 (PST) Largo84 wrote: > Hmm, sorry I don't really understand what any of that means, but I'm > not sure I need to. As a practical matter, should I be concerned > about losing data or is this simply a change in the way Leo 'behaves'? No need to be concerned about

Re: Can't run on Mac as different user

2015-11-25 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 25 Nov 2015 06:57:54 -0800 (PST) Largo84 wrote: > That would be a good idea, but Leo won't start enough to get that > information, it fails before any of that information is displayed in > the terminal log. Can you execute this in a console: python3 -c 'import sys; from PyQt5 import

Re: Cursor Position on Paste

2015-11-25 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 25 Nov 2015 08:22:00 -0800 (PST) Chris George wrote: > Hi John, > > Thanks for all the work. My Python/Qt/OS is the same as your test > environment. For me the cursor still *always *goes to the end of the > string on paste, no matter how I select the string. > > So it must be something

Re: Push/pop hoist?

2015-12-01 Thread &#x27;Terry Brown&#x27; 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 functionality myself in

Re: Push/pop hoist?

2015-12-02 Thread &#x27;Terry Brown&#x27; 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 disposable if you wish, just n

Re: whatever

2015-12-03 Thread &#x27;Terry Brown&#x27; 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 node? > thanks > it

Re: Configuration Screipt Pattern

2015-12-21 Thread &#x27;Terry Brown&#x27; 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 explain the goal a little more.

Re: Configuration Screipt Pattern

2015-12-21 Thread &#x27;Terry Brown&#x27; 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 of Leo, you might want

Re: Leo.exe: a christmas present for newbies

2015-12-26 Thread &#x27;Terry Brown&#x27; 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) today. > > As of re df4313

Re: Copy rich text, paste markdown

2015-12-28 Thread &#x27;Terry Brown&#x27; 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 running it in a > command

Re: Body pane to be 14pt or 16pt?

2015-12-30 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 30 Dec 2015 02:10:15 -0800 (PST) Satheesh Vattekkat wrote: > Sorry, this looks like a stupid question -- but I've been struggling > for 2 days to get this working. Did you try this menu item: Settings -> Edit Settings -> Fonts -> Body fonts -> Size I'm not sure how it would interact wi

Re: Copy rich text, paste markdown

2015-12-31 Thread &#x27;Terry Brown&#x27; 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 version 4.8.6 > linux2 >

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

2016-01-15 Thread &#x27;Terry Brown&#x27; via leo-editor
For organizer use, there's the todo.py plugin as well, but perhaps that's not the direction you mean? I have some unreleased kind of messy code which makes a calendar interface to the todo items, with cross file editing etc., although it never really seemed to help the deluge that much - have no

Re: Leo personal organizer project (continuation of earlier thread)

2016-01-27 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 26 Jan 2016 17:06:17 -0800 (PST) Richard Andersen wrote: > It looks like a conference call on Thursday, 1/28 at 12 noon Pacific > will work best for those that I've heard from. > > Any and all are welcome and encouraged to join, just let me know. > I'll send out the logistical details vi

Re: Code academy: icons

2016-01-29 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Edward K. Ream To: leo-editor Sent: Friday, January 29, 2016 9:08 AM Subject: Code academy: icons During our conference call, someone asked whether nodes may have more than one icon.  Indeed they can. For example, running this script will insert three icons. Running the script

Re: Code Academy: real Leo programmers use git

2016-01-29 Thread &#x27;Terry Brown&#x27; via leo-editor
Git *users* can create gists, like https://gist.github.com/tbnorth/6165576 But https://github.com/leo-editor is a GitHub organization, not user, so it doesn't have gists, instead I made a separate repo. all members of leo-editor can push to: https://github.com/leo-editor/snippetsI'd vote for that

Re: Leo's code academy: how to do cool things easily

2016-01-29 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 28 Jan 2016 18:41:09 -0800 (PST) "Edward K. Ream" wrote: > We discussed the so-called Easter-Egg interface to create new panes > this from the gui, but a summary of how to do this programmatically > is needed. I've given a couple of examples of how to do this, let's see... https://githu

Re: Code academy: icons

2016-01-30 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 30 Jan 2016 13:23:20 -0600 "Edward K. Ream" wrote: > On Sat, Jan 30, 2016 at 11:33 AM, Richard Andersen > wrote: > > > Sorry if this is a really basic question. > > > > I'm running the Leo 5.1 release.How do I take advantage of > > changes such as this one described here, where very

Re: output body and headlines (newbie)

2016-01-30 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 30 Jan 2016 10:01:59 -0800 (PST) Richard Andersen wrote: > Hi Terry (and others), > > I see the script is from a while back, so perhaps something has > changed in the core which is causing an error for me. > > When I run it, I get this error... > > exception executing script > Attr

Re: Code academy: icons

2016-01-31 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 30 Jan 2016 18:18:17 -0600 "Edward K. Ream" wrote: > On Sat, Jan 30, 2016 at 5:57 PM, Largo84 wrote: > > I struggled w/ Git at first too, but found that Sourcetree > > made it a > > lot easier for me. GitHub has recently (< 6 mo

Re: output body and headlines (newbie)

2016-01-31 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 31 Jan 2016 12:46:32 -0800 (PST) Richard Andersen wrote: > Thank you, Terry. > > I am trying the code with the Jan 29 build.Still seeing some > errors... Sorry, my bad, you need to enable the leoscreen plugin. But that's perhaps a bit klunky. The way the script works, it displays

Re: Great to see the new Nav panel showing "parent tags"

2016-02-01 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Richard Andersen To: leo-editor Sent: Sunday, January 31, 2016 2:37 PM Subject: Re: Great to see the new Nav panel showing "parent tags" Edward mentioned that the change was probably made by Terry Brown, so -- in that case -- thank you Terry for this really nice enhancement to

How to write the unwriteable file?

2016-02-01 Thread &#x27;Terry Brown&#x27; via leo-editor
Hmm, unfortunately I want to write files which contain content like this:     this part is LaTeX etc. etc.     <>=    this part is R code    @     more LaTeX here https://github.com/yihui/knitr/blob/master/inst/examples/knitr-minimal.Rnw is an example, and http://yihui.name/knitr/demo/minimal/, com

Re: Reducing visual clutter in Tree

2016-02-02 Thread &#x27;Terry Brown&#x27; via leo-editor
cess the icons currently with > > > > > >> > >>> > >> > declutter? > > > > > >> > >>> > >> > > > > > >> > >>> > >> Sure, so the rules would be: > > > > > >

Re: Code academy: icons

2016-02-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 6 Feb 2016 11:00:38 -0800 (PST) Richard Andersen wrote: [snip] > ''' create a listing of all nodes which have icons ''' > > aList = [p.copy() for p in c.all_unique_positions() if 'lineYOffset' > in p.u] #print('\n'.join([p.h for p in aList])) > g.es_print('\n'.join([p.h for p in aList])

Re: Code academy: icons

2016-02-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 6 Feb 2016 14:36:29 -0600 "'Terry Brown' via leo-editor" wrote: > If you'd tested > 'icons' instead of 'lineYOffset', you'd have seen no problem. I see you were following an example that tested 'lineYOffset'. Also, I see

Re: how to share @command functionality between nodes?

2016-02-08 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 8 Feb 2016 06:07:33 -0800 (PST) john lunzer wrote: > I'm a little confused by your request and perhaps Jacob answered it > but I feel like I heard a much simpler question. > > You can use the @others directive in the body of you @command node. > This is the same as what you would do in a

Re: strange diff on LeoPyRef.leo

2016-02-10 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Zoltan Benedek To: leo-editor Sent: Wednesday, February 10, 2016 3:01 PM Subject: strange diff on LeoPyRef.leo Hi, Can someone explain to me, how could happen this?I only opened LeoPyRef.leo in Leo and saved it (Ctrl + S). No changes at all, but got a surprising diff: No

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

2016-02-11 Thread &#x27;Terry Brown&#x27; via leo-editor
Sounds very interesting. Might be worth a look at the backlinks plug-in, which provides a mechanism and gui for superimposing a general graph on the tree. Graphcanvas plug-in is just another gui for the same mechanism. Bit entirely sure I follow the 'attribute' part vs nodes, and of course som

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

2016-02-11 Thread &#x27;Terry Brown&#x27; via leo-editor
On February 11, 2016 6:20:52 PM CST, 'Terry Brown' via leo-editor wrote: >Bit entirely sure I follow the 'attribute' part vs nodes, and of course *Not* entirely, phone email autocomplete :-/ -- You received this message because you are subscribed to the Google Gro

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

2016-02-12 Thread &#x27;Terry Brown&#x27; via leo-editor
mes indeed. -->Jake On 2/12/2016 6:49 AM, Edward K. Ream wrote: ​​On Thu, Feb 11, 2016 at 6:20 PM, 'Terry Brown' via leo-editor wrote: Might be worth a look at the backlinks plug-in, which provides a mechanism and gui for superimposing a general graph on the tree. G

Re: How do I add a child node to comment parrent in @clean?

2016-02-12 Thread &#x27;Terry Brown&#x27; via leo-editor
Probably only because it just came up in another thread, it occurs to me that you could use the backlinks plugin for this.  I.e. the answer to your question is no, there isn't really a way to do that directly, but backlinks would allow links from nodes in you @clean code tree to nodes somewhere

Re: Use case for clones/views/attributes

2016-02-16 Thread &#x27;Terry Brown&#x27; via leo-editor
One approach would be to use the backlinks plugin machinery - wouldn't be that hard to parse an outline to automatically create links from subclass to parent class, and inherited / overwritten methods. Cheers -Terry From: john lunzer To: leo-editor Sent: Tuesday, February 16, 2016 9:

Re: Use case for clones/views/attributes

2016-02-16 Thread &#x27;Terry Brown&#x27; via leo-editor
, but those nodes don't have links    back to the pasted node.  This gets fixed by clicking backlink's rescan button or a   save / load cycle.  Could be handled with a hook if it was a major problem. Cheers -Terry From: 'Terry Brown' via leo-editor To: "le

Re: Attributes vs. Relationships

2016-02-16 Thread &#x27;Terry Brown&#x27; via leo-editor
Something I think you run into here is nodes vs. edges (connections) carrying information.  So two nodes are related:     A -> B now you want to describe the relationship, "implements" (the "source order" view) or "documents" or "todo_item" (issue / ticket), whatever. Ok, so somehow you store tho

Re: Attributes vs. Relationships

2016-02-16 Thread &#x27;Terry Brown&#x27; via leo-editor
Hmm, well, at risk of sounding like a broken record, you could use the backlinks plugin, the attached image shows A and B in their "native" or "outline" relationship (or lack thereof) in the tree, then in backlinks (middle pane) with a link via a node "blocking_dependency" which is a rich relati

Re: Attributes vs. Relationships

2016-02-16 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 16 Feb 2016 20:32:03 -0800 (PST) Largo84 wrote: > Maybe a stupid question, but where do I find the plugin? It doesn't > load from the standard GitHub repo. They're in the standard repo. - let me check the names... backlink.py graphcanvas.py from my settings @enabled-plugins, supersedin

Re: Attributes vs. Relationships

2016-02-17 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Edward K. Ream To: leo-editor Sent: Wednesday, February 17, 2016 8:31 AM Subject: Re: Attributes vs. Relationships ​​[snip] I would like to see a general user interface that would associate icons with attributes/predicate/relation. That way the user can see all the nodes with a

Re: New direction: attributes and views

2016-02-19 Thread &#x27;Terry Brown&#x27; via leo-editor
> > From: Edward K. Ream >To: leo-editor >Sent: Friday, February 19, 2016 8:16 AM >Subject: New direction: attributes and views > >Point 3 of the overview thread was: > >> There is a close relationship between views and attributes. Indeed, >> attributes create v

Re: Coffeescript: another new direction for Leo

2016-02-24 Thread &#x27;Terry Brown&#x27; via leo-editor
From: Edward K. Ream To: leo-editor Sent: Wednesday, February 24, 2016 9:57 AM Subject: Re: Coffeescript: another new direction for Leo On Sunday, February 21, 2016 at 11:46:26 AM UTC-6, Edward K. Ream wrote: Just as c2py.py marked the beginning of my python experience, python_

Proper copy / paste for Windows

2016-02-24 Thread &#x27;Terry Brown&#x27; via leo-editor
Hi all - I've been needing to work in Windows quite a bit recently, and the lack of X11's select to copy, middle button to paste has been driving me nuts. Particularly seeing I switch back just often enough to be reminded how it should work. https://github.com/leo-editor/snippets/blob/master/uti

Re: Code Academy: find by predicate or attribute

2016-02-26 Thread &#x27;Terry Brown&#x27; via leo-editor
> > From: Edward K. Ream >To: leo-editor >Sent: Friday, February 26, 2016 8:47 AM >Subject: Re: Code Academy: find by predicate or attribute > >On Friday, February 26, 2016 at 6:42:34 AM UTC-6, Edward K. Ream wrote: > >> On Thu, Feb 25, 2016 at 6:42 PM, Richard

Re: Proper copy / paste for Windows

2016-03-02 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 2 Mar 2016 09:28:16 -0600 "Edward K. Ream" wrote: > On Wed, Feb 24, 2016 at 2:05 PM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > ​...​ > > the lack of X11's select to copy, middle button to paste

Re: Bug: move lines up/down triggers body redraw/rehighlight

2016-03-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 6 Mar 2016 13:46:02 -0800 (PST) john lunzer wrote: > Yes, see OP, based on my memory this is brand new behavior. I can > check out a previous rev if necessary. > > It may require a body that is longer than the length of the screen. Not sure if this is related, but I think I'm seeing a n

Re: Bug: move lines up/down triggers body redraw/rehighlight

2016-03-08 Thread &#x27;Terry Brown&#x27; via leo-editor
So far I haven't worked out how to reproduce it for debugging, will report more if I do. Cheers -Terry On March 8, 2016 3:53:57 AM CST, "Edward K. Ream" wrote: >On Tue, Mar 8, 2016 at 3:52 AM, Edward K. Ream >wrote: > >> >> ​Please do a git bisect and >rep

Re: ANN: Import/export to Jupyter (IPython) notebooks

2016-03-24 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 24 Mar 2016 13:02:21 -0500 "Edward K. Ream" wrote: > On Thu, Mar 24, 2016 at 8:30 AM, john lunzer wrote: > > > I may have missed it but are there any plans to integrate have a > > QtWebKit frame inside Leo itself which could render the > > ipython/jupyter notebook? That way you'd never

Re: MD or RST?

2016-03-25 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 25 Mar 2016 15:34:01 -0500 "Edward K. Ream" wrote: > I'm working on the viewrendered (vr) plugin as we speak. The > viewrendered pane now handles url links properly. That is, you can > single-click links. This has been broken basically forever. > > Also, vr now handles @language reason

Re: Terry, please vet new, unused, convenience method

2016-03-26 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 26 Mar 2016 04:58:42 -0700 (PDT) "Edward K. Ream" wrote: > That's enough for now. I'll await comments. :-) First thoughts, without having had a chance to look at the code yet, this viewrendered refactoring would probably be a good thing to do in a branch, and the design was for nested_s

Re: Gathering scripts: another alternative to fancy data structures

2016-03-26 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sat, 26 Mar 2016 06:15:22 -0700 (PDT) "Edward K. Ream" wrote: > For example, a documentation script might "scrape" one or more .leo > files for data, and then create nodes that reference the scraped data. The valuespace.py plugin has two separate functionalities (my fault, although with reaso

Re: Gathering scripts: another alternative to fancy data structures

2016-03-27 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 27 Mar 2016 05:39:44 -0500 "Edward K. Ream" wrote: > I'm starting to get the feeling that might be possible to do > auto-completion​ ​using live Python objects. So in what seems to be a completely coincidental way, that also relates to valuespace - some time ago I tweaked the autocomplet

Re: Gathering scripts: another alternative to fancy data structures

2016-03-27 Thread &#x27;Terry Brown&#x27; via leo-editor
On Sun, 27 Mar 2016 08:30:58 -0700 (PDT) john lunzer wrote: > This is not a complete auto-complete solution (unavoidable pun). It > doesn't do two things, it isn't automatic (and so will likely be > overlooked) and it doesn't handle local variables or local objects. Right - it's not module speci

Re: MD or RST?

2016-03-28 Thread &#x27;Terry Brown&#x27; via leo-editor
be > able to successfully submit a pull request as Edward suggested in the > earlier discussion ;-) > > Peter > > On Saturday, 26 March 2016 10:53:24 UTC+10, Edward K. Ream wrote: > > > > On Fri, Mar 25, 2016 at 7:47 PM, gatesphere > > wrote: > > >

Re: Encoded stickynote bug?

2016-03-30 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 29 Mar 2016 03:02:43 -0700 (PDT) Peter Mills wrote: > txt = unicode(txt) > NameError: name 'unicode' is not defined Should be fixed, should have been g.toUnicode(txt), seeing unicode() doesn't exist in Python 3. If you can try the latest commit and confirm, that would be good. Cheers

Re: Stickynote editor behaviour

2016-03-30 Thread &#x27;Terry Brown&#x27; via leo-editor
On Tue, 29 Mar 2016 04:02:55 -0700 (PDT) lewis wrote: > I have been trying out the Stickynote plugin. > In the documentation (Plugins>stickynotes>About) its says "Adds > simple "sticky notes" feature (popout editors) for Qt gui." > This suggests it should behave as an editor. > > When I edit a

Re: Encoded stickynote bug?

2016-03-30 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 30 Mar 2016 09:59:02 -0500 "Edward K. Ream" wrote: > On Tue, Mar 29, 2016 at 5:02 AM, Peter Mills > wrote: > > ​> ​ > Works fine: > [Latest version] > > > Fails with exception: [​​Previous versions] > > I don't understand the point of reporting bugs that have already been > fixed. >

Re: An important new Leonine pattern for docstrings

2016-03-31 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 31 Mar 2016 14:19:42 -0700 (PDT) "Edward K. Ream" wrote: > The only drawback is that the actual external file contains sentinel > lines separating the parts of the docstring. In practice, it's no > big deal, especially if each child starts with a blank line. Might break things when you

Re: ENB: Allowing (really) multiple viewrendered panes

2016-03-31 Thread &#x27;Terry Brown&#x27; via leo-editor
On Thu, 31 Mar 2016 14:06:55 -0700 (PDT) "Edward K. Ream" wrote: > Another Engineering Notebook post. Feel free to ignore unless you > are Terry or > Peter Mills. > > While merging VR and VR2, it has become clear that the present > approach to having multiple VR panes has *no chance* of workin

Re: Proposal: remove/improve all chapter commands

2016-04-04 Thread &#x27;Terry Brown&#x27; via leo-editor
On Mon, 4 Apr 2016 10:08:57 -0700 (PDT) john lunzer wrote: > I fully agree. With one caveat, after the removal of : > > chapter-clone-node-to > chapter-copy-node-to > chapter-move-node-to > > There is still a need for these generalized commands that work > anywhere: > > clone-m

Re: Labels for git issues

2016-04-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 6 Apr 2016 09:11:19 -0700 (PDT) "Edward K. Ream" wrote: > The recent fracas about labels has got me thinking about streamlining > all issues, both bugs to enhancement requests. > > Imo, it's important to keep open only those issues that *we actually > intend to do something about soon*.

Re: Labels for git issues

2016-04-06 Thread &#x27;Terry Brown&#x27; via leo-editor
On Wed, 6 Apr 2016 15:12:56 -0500 "Edward K. Ream" wrote: > On Wed, Apr 6, 2016 at 2:23 PM, Terry Brown > wrote: > > > I guess I'd lean more towards using the "Closed" tag the same way > > everyone else uses it, to avoid having to constantly explain to > > people how we're using it. > > ​Yes.

Re: can leo editor prompt file changed

2016-04-08 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 8 Apr 2016 08:36:46 -0500 "Edward K. Ream" wrote: > On Fri, Apr 8, 2016 at 7:57 AM, john lunzer wrote: > > > Really? How do I activate this? > > ​@bool check_for_changed_external_files = True > > Perhaps this should be on by default. I kinda think so. > > There are other settings th

Re: can leo editor prompt file changed

2016-04-08 Thread &#x27;Terry Brown&#x27; via leo-editor
On Fri, 8 Apr 2016 10:25:11 -0400 Jacob Peck wrote: > On 4/8/2016 10:13 AM, 'Terry Brown' via leo-editor wrote: > > Why can't I find the setting? I tried > Try this: > https://github.com/leo-editor/leo-editor/blob/8201152e7e6fdf3cac35fca2d2709e32bb5dc6ee/leo/cor

Re: can leo editor prompt file changed

2016-04-08 Thread &#x27;Terry Brown&#x27; via leo-editor
So there are four things to address here: - fix the wording in the pop up - decide, as in get Edward's opinion, about whether a non-reloaded file should overwrite the modified external file without the usual warning - if a large number of files were changed (at least timestamp wise) Le

<    1   2   3   4   5   6   7   8   9   >