Re: Leo's new pylint command

2014-07-18 Thread 'Terry Brown' via leo-editor
On Fri, 18 Jul 2014 10:29:30 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: As of a recent rev, Leo now has a new pylint command. If pylint is installed, it will run pylint on all Python @file nodes of a tree. The command first looks down the tree, and runs each file found. If

Re: Leo's new pylint command

2014-07-18 Thread 'Terry Brown' via leo-editor
On Fri, 18 Jul 2014 18:28:46 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Jul 18, 2014 at 5:36 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: For me it just says: ('pylint rc file not found:', u'/mnt/usr1/usr1/home/tbrown/.leo/leo/test/pylint-leo-rc.txt

git pull --rebase

2014-07-19 Thread 'Terry Brown' via leo-editor
We're getting Merge branch 'master' of github.com:leo-editor/leo-editor commits in the repo, in the master branch. I just made one, and there's one from Edward a day or to back. For a project like Leo, for the git log viewing tools I'm aware of, I don't really see that this matters, it's

Re: git pull --rebase

2014-07-19 Thread 'Terry Brown' via leo-editor
On Sat, 19 Jul 2014 13:17:09 -0500 Edward K. Ream edream...@gmail.com wrote: On Sat, Jul 19, 2014 at 11:44 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: We're getting Merge branch 'master' of github.com:leo-editor/leo-editor commits in the repo, in the master

Re: @auto-otl (vimoutline) already exists! @auto org-mode coming soon

2014-07-21 Thread 'Terry Brown' via leo-editor
On Mon, 21 Jul 2014 07:37:34 -0700 (PDT) James Wilson jamesgswil...@gmail.com wrote: As a quick reminder, a few people have asked about the possibility of @auto-md (for Markdown) in the past. Would it be possible to add this? (There is an open bug about this: see

Re: Standarized file importing, and keeping Leo updated

2014-07-24 Thread 'Terry Brown' via leo-editor
On Thu, 24 Jul 2014 02:31:34 -0700 (PDT) Fidel N fidelpe...@gmail.com wrote: #Replacement of your method: c.frame.tree.treeWidget.urlDrop = urlDrop c.frame.tree.treeWidget.urlDrop = types.MethodType(urlDrop, c.frame.tree. treeWidget.urlDrop) I think that should be just one assignment:

Re: New writer plugins in leo/plugins/writers

2014-07-26 Thread 'Terry Brown' via leo-editor
On Sat, 26 Jul 2014 08:32:10 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: By analogy with the plugin importers in leo/plugins/importers, Leo will soon support plugin write code in leo/plugins/writers. There are writer plugins for .md (markdown), .org, .otl and .rst files. They are

Re: New writer plugins in leo/plugins/writers

2014-07-28 Thread 'Terry Brown' via leo-editor
On Sat, 26 Jul 2014 08:32:10 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: By analogy with the plugin importers in leo/plugins/importers, Leo will soon support plugin write code in leo/plugins/writers. This all looks very good. readme.txt and howto.txt - README.txt and HOWTO.txt would

Re: New writer plugins in leo/plugins/writers

2014-07-28 Thread 'Terry Brown' via leo-editor
On Mon, 28 Jul 2014 10:50:14 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Note: some data is stored in multiple files (foo.par, foo.xll) so passing the path to the core file rather than a file object makes it easier for the delegate code to calculate additional

Re: New writer plugins in leo/plugins/writers

2014-07-28 Thread 'Terry Brown' via leo-editor
On Mon, 28 Jul 2014 15:46:27 -0500 Edward K. Ream edream...@gmail.com wrote: On Mon, Jul 28, 2014 at 10:50 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: [snip] In addition to that, I think there should be an alternative level in the API where the signature is something

Re: New writer plugins in leo/plugins/writers

2014-07-29 Thread 'Terry Brown' via leo-editor
On Tue, 29 Jul 2014 09:29:44 -0500 Edward K. Ream edream...@gmail.com wrote: On Tue, Jul 29, 2014 at 9:13 AM, Edward K. Ream edream...@gmail.com wrote: You must not return a value from a ctor. leoPluginsRef.leo contains the sources for all importers writers. Following those patterns

Re: New writer plugins in leo/plugins/writers

2014-07-29 Thread 'Terry Brown' via leo-editor
On Tue, 29 Jul 2014 14:58:50 -0500 Edward K. Ream edream...@gmail.com wrote: This shows, I think that the only remaining problem is the recognition of @auto-test nodes. Sounds good. Could the signature of BaseScanner.__init__ go from def __init__

Re: Problem DnD of a file to Node

2014-07-29 Thread 'Terry Brown' via leo-editor
Terry, do you have a Windows 8 machine? No, sorry, only occasionally use Win 7 virtual, all Ubuntu otherwise. 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

Re: New writer plugins in leo/plugins/writers

2014-07-29 Thread 'Terry Brown' via leo-editor
On Tue, 29 Jul 2014 18:20:16 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: In short, afaik, importers and writers can create their own kinds of @auto nodes, as long as they have unique spellings. Yep, just overriding run() and write() makes it very easy to do whatever you want when

Re: Download link for the latest version

2014-07-30 Thread 'Terry Brown' via leo-editor
On Wed, 30 Jul 2014 06:33:37 -0700 (PDT) duf...@gmail.com wrote: Hi I recently re-installed my system, and now I am about to re-install Leo. As far as I know, Leo's latest public version could be downloaded from this link: http://www.greygreen.org/leo/leo-editor-latest.zip The

Re: New writer plugins in leo/plugins/writers

2014-07-30 Thread 'Terry Brown' via leo-editor
On Wed, 30 Jul 2014 09:38:19 -0500 Edward K. Ream edream...@gmail.com wrote: On Wed, Jul 30, 2014 at 9:14 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: It seems to me that calling the importer and writer on empty files should have so little cost in cases where it's

Re: New writer plugins in leo/plugins/writers

2014-07-30 Thread 'Terry Brown' via leo-editor
On Wed, 30 Jul 2014 12:59:30 -0500 Edward K. Ream edream...@gmail.com wrote: On Wed, Jul 30, 2014 at 11:11 AM, Edward K. Ream edream...@gmail.com wrote: Can you confirm that @auto-explicit always trumps extension? Works for me. Example: @auto-test xyzzy.txt works. Indeed, I have three

Re: Restarting the vim-emulation project

2014-08-01 Thread 'Terry Brown' via leo-editor
On Fri, 1 Aug 2014 08:49:12 -0500 Edward K. Ream edream...@gmail.com wrote: In this regard, the difference in cursors between normal, input and visual modes are surprisingly important visual cues. I'll be adding those cues to Leo's vim mode asap. I would recommend doing it this way (this is

@auto-ctext mode

2014-08-01 Thread 'Terry Brown' via leo-editor
I've just pushed a `ctext` importer / writer, it reads / writes files like this (from the docstring): Read/Write simple text files with hierarchy embedded in headlines:: Leading text in root node of subtree Etc. etc. ### A level one node

Re: @auto-ctext mode

2014-08-01 Thread 'Terry Brown' via leo-editor
On Fri, 1 Aug 2014 12:13:56 -0500 Edward K. Ream edream...@gmail.com wrote: Good idea. It could start with something like:: @g.command('print-importer-plugin-docstrings') Never quite sure where to put such code. Perhaps we need a file, say leoUserCommands.py, to hold commands

Re: Python-related questions

2014-08-02 Thread 'Terry Brown' via leo-editor
On Sat, 2 Aug 2014 15:23:42 -0700 (PDT) duf...@gmail.com wrote: 2) how to turn off the log window that stays open in the background when I run Leo from Windows (8.1)? Not sure, but maybe C:\PythonXY\pythonw.exe instead of C:\PythonXY\python.exe Cheers -Terry -- You received this message

Re: using leo to organize and manage my digital library composed of videos, audio, pdf, etc.

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 4 Aug 2014 07:01:17 -0700 (PDT) duf...@gmail.com wrote: (I hope you don't mind that fact that I am resuscitating a 4-year old thread.) I was going to write a post exactly like the OP of this thread, when I discovered that this question had already been asked in this thread, so

Re: using leo to organize and manage my digital library composed of videos, audio, pdf, etc.

2014-08-04 Thread 'Terry Brown' via leo-editor
. breaking double-click, probably not hard to fix, possibly just a re-naming. Cheers -Terry On Mon, Aug 4, 2014 at 9:12 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Mon, 4 Aug 2014 07:01:17 -0700 (PDT) duf...@gmail.com wrote: (I hope you don't mind that fact that I am

debugging Leo with git bisect

2014-08-04 Thread 'Terry Brown' via leo-editor
git bisect is great for finding the revision that broke something, but there's an odd Leo specific issue to work around. For a month or more in early 2014 there are Leo commits that abort if .../.git/HEAD doesn't contain a space. It's usually ref: refs/heads/master but while using git bisect

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 04 Aug 2014 11:53:07 -0400 Jacob Peck gatesph...@gmail.com wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Nice. Interface wise, what do people think about short and long names for tags? Even as I ask, I

Re: Terry, what's the recommended way to change border colors

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 4 Aug 2014 11:15:45 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Ideally, I'd like vim-mode to put a red border around headline or body text widgets when in normal mode, and a blue border around the widgets when in insert mode. And maybe another color for visual mode. How

Re: Terry, what's the recommended way to change border colors

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 4 Aug 2014 17:56:34 -0500 Edward K. Ream edream...@gmail.com wrote: By analogy, I tried the following, with no joy, but the background is pink. QTextEdit#richTextEdit [vim_state ~= vim_normal] { border: solid 3px red; } QTextEdit#richTextEdit [vim_state ~=

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread 'Terry Brown' via leo-editor
On Mon, 04 Aug 2014 13:59:38 -0400 Jacob Peck gatesph...@gmail.com wrote: I just added a minimal tag browser UI. Very cool. And of course you can move it out of the tabs window with the free-layout options on the pane divider context menus. Very minor - if, for some odd reason, you have two

Re: Terry, what's the recommended way to change border colors

2014-08-05 Thread 'Terry Brown' via leo-editor
On Tue, 5 Aug 2014 06:16:47 -0500 Edward K. Ream edream...@gmail.com wrote: { border: 5px solid red; } **not**: { border: solid 5px red; } Sorry about that, CSS, or at least most browsers, are less picky than Qt. Nice to know the right way works though, makes it easier for users

Threading thread

2014-08-05 Thread 'Terry Brown' via leo-editor
There are a lot of different issues with this threading discussion. 1) live code execution like LightBox and the lisp music demo - any useful live code execution mode would have to parse the code (ast trees?), execute it expression by expression, and display the results, probably in a specific

Re: Threading thread

2014-08-05 Thread 'Terry Brown' via leo-editor
On Tue, 5 Aug 2014 11:07:36 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: 1) live code execution like LightBox and the lisp music demo - any useful live code execution mode would have to parse the code (ast trees?), execute it expression by expression, and display

Re: Sometimes it just pays to ask.

2014-08-06 Thread 'Terry Brown' via leo-editor
On Wed, 6 Aug 2014 11:06:36 -0700 (PDT) Chris George technat...@gmail.com wrote: I would like to be able to have a certain set of windows open in a certain position with certain content every time I open my Leo file (I only use one file to hold everything). I surmise that a script may be

Live code view (like Light Box) for Leo

2014-08-06 Thread 'Terry Brown' via leo-editor
Just pushed the livecode.py plugin, screenshot attached. It is currently python 2.7 only, although that should be relatively easy to fix. It currently has a dependency on https://pypi.python.org/pypi/meta which you can install with pip install meta or some similar approach. Then Alt-X

Re: Sometimes it just pays to ask.

2014-08-06 Thread 'Terry Brown' via leo-editor
On Wed, 6 Aug 2014 14:51:22 -0700 (PDT) Chris George technat...@gmail.com wrote: I think I found a bug. I cannot seem to display @url nodes in a Your description seems useful, can you post a bug report: https://github.com/leo-editor/leo-editor/issues Cheers -Terry pre-existent viewrendered

Re: Weird autocompleter bug

2014-08-07 Thread 'Terry Brown' via leo-editor
On Thu, 7 Aug 2014 06:37:07 -0700 (PDT) Fidel N fidelpe...@gmail.com wrote: Hi all: Just realized that when doing c. and checking the autocompleter options it wont offer the usual (p,etc) but offers things like: CScanner basescanner and a few more. Anyone having this issue? I'll

Re: Weird autocompleter bug

2014-08-07 Thread 'Terry Brown' via leo-editor
On Thu, 7 Aug 2014 08:40:50 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Thu, 7 Aug 2014 06:37:07 -0700 (PDT) Fidel N fidelpe...@gmail.com wrote: Hi all: Just realized that when doing c. and checking the autocompleter options it wont offer the usual (p,etc

Re: Weird autocompleter bug

2014-08-08 Thread 'Terry Brown' via leo-editor
On Fri, 8 Aug 2014 07:39:21 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 7, 2014 at 9:02 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Phew :-} not me https://github.com/leo-editor/leo-editor/issues/40 Rev d343dde... rolls back the code. I'm

Re: Weird autocompleter bug

2014-08-08 Thread 'Terry Brown' via leo-editor
On Fri, 8 Aug 2014 07:39:21 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 7, 2014 at 9:02 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Phew :-} not me https://github.com/leo-editor/leo-editor/issues/40 Rev d343dde... rolls back the code. I'm

Re: Aha: vim trainer mode

2014-08-08 Thread 'Terry Brown' via leo-editor
On Fri, 8 Aug 2014 07:36:48 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: One last hope appeared yesterday. I call it vim trainer mode. Fidel pointed this out on IRC http://vim-adventures.com/ Cheers -Terry -- You received this message because you are subscribed to the Google Groups

Re: Weird autocompleter bug

2014-08-08 Thread 'Terry Brown' via leo-editor
On Fri, 8 Aug 2014 09:39:42 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Aug 8, 2014 at 8:06 AM, Fidel N fidelpe...@gmail.com wrote: And when trying to complete c.p. no autocompletion appears, and this error pops up in the log pane: Not for me. I suspect this only happens when

Re: Aha: vim trainer mode

2014-08-08 Thread 'Terry Brown' via leo-editor
On Fri, 8 Aug 2014 11:39:09 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Aug 8, 2014 at 9:56 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Fidel pointed this out on IRC http://vim-adventures.com/ I don't get the point of this link. It's a game you play

Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread 'Terry Brown' via leo-editor
On Mon, 11 Aug 2014 09:00:32 -0400 Jacob Peck gatesph...@gmail.com wrote: Also, backlink.py at least has a huge amount of Tkinter code, which can likely be excised ;) Seriously? I *do not* remember it dating back to Tk, but then sure, it could do :-) I mean to fix plugins for Qt4/5

Re: Leo support for touchscreen-based platforms?

2014-08-13 Thread 'Terry Brown' via leo-editor
On Wed, 13 Aug 2014 08:23:23 -0700 (PDT) Dufriz duf...@gmail.com wrote: Just out curiosity, is Leo's UI compatible with touchscreen-based systems? By this I mean being able to simply touch, say, a node's headline in order to open it, instead clicking on it with the mouse. Or any other UI

Re: :r and :tabnew and file-open-by-name now have file-name completion

2014-08-13 Thread 'Terry Brown' via leo-editor
On Wed, 13 Aug 2014 14:31:21 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: All three commands now use the much-improved k.getFileName. The file-name completion looks and feels really good--good enough that I have bound Ctrl-O to file-open-by-name to bypass the Windows open file

Re: Help! Messing with UI settings.

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 07:02:52 -0700 (PDT) Dufriz duf...@gmail.com wrote: I am on Windows 8.1, running Python 3.3.5 with PyQt4-4.10.4-gpl-Py3.3-Qt4.8.5-x64. I am using Leo 4.11 final, build 6240. I have partially obtained the color combination I was looking for, simply by importing Terry's

Re: Help! Messing with UI settings.

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 07:15:58 -0700 (PDT) Dufriz duf...@gmail.com wrote: BTW, the dark theme which I am trying to modify is the *last* node of the myLeoSetting outline. So in addition to what I just said, it's important that (a) the dark theme subtree be a descendant of the @settings node in

Re: Help! Messing with UI settings.

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 09:26:30 -0700 (PDT) Chris George technat...@gmail.com wrote: It's not ok to require that people use `git` to get it, that's unreasonable. Why? The primary target user for Leo is a programmer, is it not? No, although I can understand why someone might think that was

Re: Help! Messing with UI settings.

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 10:16:32 -0700 (PDT) Dufriz duf...@gmail.com wrote: On Thursday, 14 August 2014 17:49:08 UTC+1, Fidel N wrote: I knew very few of programming, nothing of python, and now I know both, because I had the time, loved the concept of Leo, and could devote my time to study

Re: Help! Messing with UI settings.

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 14:51:53 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 14, 2014 at 10:58 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: It's not ok to require that people use `git` to get it, that's unreasonable. I agree. It's not a requirement

UI config. settings, step 1.

2014-08-14 Thread 'Terry Brown' via leo-editor
Short version: Dufriz, if you want, grab the latest version, open your myLeoSettings.leo, and use the new Reload Styles item from the Settings menu. It will hopefully either work, or give sensible feedback. Long version: Interesting pit fall with including code in Leo outlines like the

Re: Help! Messing with UI settings.

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 15:14:46 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 14, 2014 at 3:00 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: So, we need a git commit hook to update version.py on every commit. I have a draft hook written, will share

Git hooks for version reporting

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 16:23:14 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: [snip] hmmm, it occurs to me it should be possible to include the commit message in here, oddly enough. Or maybe not, you can modify files in the commit in `pre-commit`, but not in commit-msg

Re: Git hooks for version reporting

2014-08-14 Thread 'Terry Brown' via leo-editor
So to finish up, if a dev. installs the hooks in leo/extensions/hooks/ (with or without the leo/extensions/hooks/install_hooks.py script), their commits will update the content of leo/core/commit_timestamp.json automagically. { asctime: Thu Aug 14 16:10:38 2014, parent:

Re: Git hooks for version reporting

2014-08-14 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 16:51:03 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: The point of this is that leo/extensions/hooks/install_hooks.py is Um, make that leo/core/commit_timestamp.json -- You received this message because you are subscribed to the Google Groups leo

Re: Internal (Wiki-like) link support in Leo?

2014-08-15 Thread 'Terry Brown' via leo-editor
On Thu, 14 Aug 2014 21:18:50 -0400 gatesphere gatesph...@gmail.com wrote: I use a combination of the backlink and graphcanvas plugins for this. The new nodetags plugin might help too. Terry and others swear by the bookmarks plugin. None of those options allows clickable links within the

Re: New Mac installation; wrong PyQT

2014-08-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Aug 2014 07:06:48 -0700 (PDT) Largo84 larg...@gmail.com wrote: I just migrated everything over to a new Macbook Pro from an older one that had Leo working OK (installed using the Homebrew formula). I get the following error: File

Re: UI config. settings, step 1.

2014-08-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Aug 2014 03:08:46 -0700 (PDT) Dufriz duf...@gmail.com wrote: Terry, the stylesheet now compiles without problems, but many of the settings are still ignored. I have noticed that now *all* the minibuffer color definitions (label, status, selection fg and bg) are ignored, whereas

Re: Git hooks for version reporting

2014-08-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Aug 2014 08:48:48 -0400 Jacob Peck gatesph...@gmail.com wrote: On 8/14/2014 5:51 PM, 'Terry Brown' via leo-editor wrote: But someone (Jacob?) still needs to update the code which prints the build info. in the log window so that it displays that timestamp as the Leo build ID

Re: Defining commands: @g.command is not always best

2014-08-15 Thread 'Terry Brown' via leo-editor
On Fri, 15 Aug 2014 04:37:48 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: This post discusses discusses problems with the @g.command decorator. Later sections discuss solutions. These later sections are ENB (Engineering Note Book) discussions, which can safely be ignored by all

Re: Git hooks for version reporting

2014-08-16 Thread 'Terry Brown' via leo-editor
On Sat, 16 Aug 2014 05:42:06 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Aug 15, 2014 at 7:48 AM, Jacob Peck gatesph...@gmail.com wrote: Done as of the current commit. Leo now reports the following on startup: Leo 4.11 final, build 20140815084439, Fri Aug 15 08:44:39 2014

Re: Git hooks for version reporting

2014-08-16 Thread 'Terry Brown' via leo-editor
On Sat, 16 Aug 2014 10:47:35 -0400 gatesphere gatesph...@gmail.com wrote: On 8/16/2014 6:42 AM, Edward K. Ream wrote: On Fri, Aug 15, 2014 at 7:48 AM, Jacob Peck gatesph...@gmail.com wrote: Done as of the current commit. Leo now reports the following on startup: Leo 4.11 final,

Re: Git hooks for version reporting

2014-08-16 Thread 'Terry Brown' via leo-editor
On Sat, 16 Aug 2014 21:43:32 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Sat, 16 Aug 2014 17:59:51 -0500 Edward K. Ream edream...@gmail.com wrote: On Sat, Aug 16, 2014 at 5:38 PM, Edward K. Ream edream...@gmail.com wrote: Interestingly, the Git error

Re: Git hooks for version reporting

2014-08-17 Thread 'Terry Brown' via leo-editor
On Sat, 16 Aug 2014 17:59:51 -0500 Edward K. Ream edream...@gmail.com wrote: So, I just added $@ to get the arguments. That is, commit-msg is now:: #!/bin/sh c:/Python27/python.exe C:/leo.repo/leo-editor/.git/hooks/commit-msg.py $@ Ok, so additional requirements are (a) it needs to run in

Re: @rclick question

2014-08-18 Thread 'Terry Brown' via leo-editor
On Mon, 18 Aug 2014 06:48:38 -0500 Kent Tenney kten...@gmail.com wrote: I have tried a number of variations on the following @buttons @rclick nodecontent @rclick left @rclick right which http://comments.gmane.org/gmane.comp.python.leo.general/27192 seems to prescribe. It

Re: @rclick question

2014-08-18 Thread 'Terry Brown' via leo-editor
going on, a very low priority item indeed. Thanks, Kent On Mon, Aug 18, 2014 at 2:08 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Mon, 18 Aug 2014 06:48:38 -0500 Kent Tenney kten...@gmail.com wrote: I have tried a number of variations on the following

Re: Cmments please: proposal to eliminate tab cycling in completions pane

2014-08-19 Thread 'Terry Brown' via leo-editor
On Tue, 19 Aug 2014 03:53:30 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Happily, yesterday's work with k.getArg clarified the code enough that there is real hope that tab cycling can be restored better than ever. Thanks for that :-) Cheers -Terry -- You received this message

Re: @rclick question

2014-08-19 Thread 'Terry Brown' via leo-editor
the settings were loaded. I just had to make @rclick work the same way. A matter of separating the scanning of the @rclick tree from the construction of the menus. Cheers -Terry On Mon, Aug 18, 2014 at 3:52 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Mon, 18 Aug 2014

Re: OPI

2014-08-19 Thread 'Terry Brown' via leo-editor
On Tue, 19 Aug 2014 10:56:37 -0700 (PDT) Fidel N fidelpe...@gmail.com wrote: Just checked again the link, and the video. Cant wait to have that coded into Leo, seems so useful!! Note than you can do this(*) in Leo already: c.selctrl-space shows completions, so I select one then

Re: OPI

2014-08-19 Thread 'Terry Brown' via leo-editor
On Tue, 19 Aug 2014 13:24:35 -0700 Segundo Bob segundo...@gmail.com wrote: On 08/19/2014 11:48 AM, 'Terry Brown' via leo-editor wrote: Note than you can do this(*) in Leo already: c.selctrl-space shows completions, so I select one then c.selectPositionctrl-space?enter When

Re: @rclick question

2014-08-21 Thread 'Terry Brown' via leo-editor
On Thu, 21 Aug 2014 09:42:30 -0500 Edward K. Ream edream...@gmail.com wrote: On Tue, Aug 19, 2014 at 11:28 AM, Kent Tenney kten...@gmail.com wrote: Yay, it works! Pylint reports the following: pylint: mod_scripting.py * Module leo.plugins.mod_scripting E:246,30: Instance

Re: @rclick question

2014-08-22 Thread 'Terry Brown' via leo-editor
On Fri, 22 Aug 2014 04:06:09 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Thursday, August 21, 2014 10:59:15 AM UTC-5, Terry wrote: On Thu, 21 Aug 2014 09:42:30 -0500 Edward K. Ream edream...@gmail.com wrote: On Tue, Aug 19, 2014 at 11:28 AM, Kent Tenney

Re: Leo 4.12 is coming soonish

2014-08-24 Thread 'Terry Brown' via leo-editor
On Sun, 24 Aug 2014 04:47:01 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Saturday, August 16, 2014 6:13:58 PM UTC-5, Edward K. Ream wrote: I expect several days or more work on vim. At that point, I think releasing Leo 4.12b1 should happen asap. As of today, I am

Re: Making syntax coloring more responsive

2014-08-26 Thread 'Terry Brown' via leo-editor
On Tue, 26 Aug 2014 05:04:59 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: The only solution is to transliterate QSyntaxHighlighter into Python! Which part of the job is QSyntaxHighlighter doing? Working out how to color the text, or applying the colors to the text in the QTextEditor?

Re: Making syntax coloring more responsive

2014-08-26 Thread 'Terry Brown' via leo-editor
On Tue, 26 Aug 2014 07:33:49 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Tuesday, August 26, 2014 7:04:59 AM UTC-5, Edward K. Ream wrote: Before fixing bug 28, I must fix some very serious problems with tab completion and the change command. Rev b3d404a fixes the problem

Re: view all parents and navigate?

2014-08-27 Thread 'Terry Brown' via leo-editor
On Wed, 27 Aug 2014 10:22:47 -0700 (PDT) Todd Mars tamn...@gmail.com wrote: Hi, Is it possible to view all parents of a clone and navigate to them easily through the view? Probably not helpful, but the backlinks plugin (which is an alternative to clones for some applications) will list all

The new body editor

2014-09-07 Thread 'Terry Brown' via leo-editor
Wow, quite the revolution in the short time I was away :-) I'm hopeful that QScintilla will be good for Leo. It seems like this would be a good time to get body editors to behave in a way that allows better integration with free_layout and related things like the stickynotes and tabula plugins.

qscintilla

2014-09-08 Thread 'Terry Brown' via leo-editor
How can you tell if qscitilla is active? I have @bool qt-use-scintilla = True and from PyQt4 import QtGui,Qsci succeeds, but otherwise I see no difference - perhaps that's because it's working so well? :) Cheers -Terry -- You received this message because you are subscribed to the Google

Re: Prospects for using Scintilla in Leo: oh, the ironies

2014-09-08 Thread 'Terry Brown' via leo-editor
On Mon, 8 Sep 2014 08:29:16 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Now that Scintilla does not seem much of a salvation, we must, somehow, work around the QTextEdit loss-of-data bug that Terry's benchmark script implicitly demonstrates. My full bug report is:

Re: The new body editor

2014-09-08 Thread 'Terry Brown' via leo-editor
, but if that capability exists, could it be registered with shut-down and start-up events? On Mon, Sep 8, 2014 at 1:02 PM, Edward K. Ream edream...@gmail.com wrote: On Monday, September 8, 2014 8:25:49 AM UTC-5, Edward K. Ream wrote: On Sun, Sep 7, 2014 at 8:39 PM, 'Terry Brown' via leo-editor

Re: The new body editor

2014-09-08 Thread 'Terry Brown' via leo-editor
On Mon, 8 Sep 2014 13:00:06 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: On Monday, September 8, 2014 2:49:29 PM UTC-5, Terry wrote: Basically we need the body editor to not be a singleton thing, and then free_layout can do all kinds of things, including persistent multiple

Re: Changed 7 plugins to support PyQt5: authors, please test

2014-09-09 Thread 'Terry Brown' via leo-editor
On Tue, 9 Sep 2014 10:18:44 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Recent revs have changed the following 7 plugins so they use the leoQt module to do Qt-related imports: active_path.py, attrib_edit.py, contextmenu.py, graphcanvas.py, notebook.py, projectwizard.py,

Re: Terry: here's an bug report against todo.py

2014-09-10 Thread 'Terry Brown' via leo-editor
On Wed, 10 Sep 2014 05:24:14 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Terry, here is a recent item that you may have missed while you were away: https://groups.google.com/d/msg/leo-editor/yR8eL5cZpi4/8z9hUBxR90oJ I'm going to delegate it to you :-) Seems like it only affects

Re: Help! Messing with UI settings.

2014-09-10 Thread 'Terry Brown' via leo-editor
On Wed, 10 Sep 2014 17:27:28 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Aug 14, 2014 at 11:48 AM, Fidel N fidelpe...@gmail.com wrote: I also asked for a settings GUI, because IMO, this is screening out [snip] 3. The most important point you raise here is about the necessity

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 01:50:25 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: = 2. Simplifying Qt style sheets. In the last thread, Terry said the following: QQQ I think we can shoot for the best of both worlds here. The template system can provide a tree of simple Leo settings

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 09:16:18 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 11, 2014 at 3:50 AM, Edward K. Ream edream...@gmail.com wrote: Here are some revisions to my middle-of-the-night thoughts. 1. Registering updaters is straightforward. True, but that's far from the

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 09:23:44 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Settings for theme colors @color text-foreground = @solarized-base0 @color text-background = @solarized-base03 fonts @string font-family = Droid Sans Mono, DejaVu

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 07:38:50 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Hah. I hadn't noticed them ;-) What exactly does the pick font button do? Shows the Qt font selector dialog and copies the selected font name to the clipboard - it occurs to me that it could also offer to

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 07:51:20 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Ok. Got up the nerve to press the buttons. They apparently copy settings to the clipboard. There are problems. After copying a few things to the clipboard I get these messages. QColor::setNamedColor:

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 10:08:25 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 11, 2014 at 10:02 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: probably just a try: / except ExceptionName: pass needed. Good. Might be related to the pre-1900 problem

Re: Terry: here's an bug report against todo.py

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 07:28:06 -0700 (PDT) lewis lewisn...@operamail.com wrote: Hi Terry, Here is the traceback from build 6c8fef82990e: Thanks, I think this is fixed (again :-) in 2014091315 Cheers -Terry Leo Log Window Leo 4.11 final, build 20140911025726, Thu Sep 11 02:57:26 CDT

Re: Will the next release be called 5.0.0?

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 09:01:16 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: The present release has already give us: compatibility with org-mode and vim-outline files, a workable Scintilla widget, vim mode, an integrated pylint command, simplified code and (soon?) much-improved user

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 11:00:20 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 11, 2014 at 10:19 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Ok :-) Unrelated - finally worked out why there's a pick date button at all - I had that somewhere else and used

Re: Changed 7 plugins to support PyQt5: authors, please test

2014-09-11 Thread 'Terry Brown' via leo-editor
On Thu, 11 Sep 2014 17:19:27 -0700 (PDT) lewis lewisn...@operamail.com wrote: Hi Edward, No worries, appreciate your work. I am in the dark on how threadutil.py was in the list as I couldn't I think it's used by quicksearch.py, the Nav tab, for searching for headlines while you're typing.

Re: Proposed changes to settings (was Help! Messing with UI settings)

2014-09-12 Thread 'Terry Brown' via leo-editor
On Fri, 12 Sep 2014 00:34:36 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Sep 12, 2014 at 12:14 AM, Edward K. Ream edream...@gmail.com wrote: I created branch called new-settings-branch for this work, but I don't seem to be able to push this branch. Alright. I did git

Re: For Terry: status report re new settings

2014-09-12 Thread 'Terry Brown' via leo-editor
On Fri, 12 Sep 2014 09:33:34 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: If you like, we can chat on irc. Present status: 1. Added reload-styles button in leoSettings.leo: it just does: c.k.simulateCommand('style-reload') 2. The button reported: WARNING: styles in use do not

Re: For Terry: status report re new settings

2014-09-13 Thread 'Terry Brown' via leo-editor
On Sat, 13 Sep 2014 06:56:25 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: - All tests pass, and hand tests pass with both --gui=qt and --gui=qttabs, but perhaps caution may be advised. Excellent, I was forgetting the second class status I'd given --gui=qt mode. I expect more work is

Re: For Terry: status report re new settings

2014-09-15 Thread 'Terry Brown' via leo-editor
On Mon, 15 Sep 2014 06:55:47 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: There seems to be *no* way to check the validity of a Qt style sheet. This is a severe annoyance. Comparing w.styleSheet() to the value passed to w.setStyleSheet() looks like a completely useless test. It

Re: For Terry: status report re new settings

2014-09-15 Thread 'Terry Brown' via leo-editor
On Mon, 15 Sep 2014 16:47:32 -0500 Edward K. Ream edream...@gmail.com wrote: On Mon, Sep 15, 2014 at 9:30 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: [snip] I don't see the font-resizing code. Is it in the repo anywhere? Nav panel search LeoPyRef.py for `deltas` all

Say yes to yes to all :)

2014-09-15 Thread 'Terry Brown' via leo-editor
9eba685 adds YesToAll and NoToAll capability to g.app.gui.runAskYesNoDialog and uses this in the open file again? questions when opening Leo after a crash. My Leo launching script starts Leo with three files, so I get: somefile.leo is already open. Open it again? and Reset open count

Re: For Terry: status report re new settings

2014-09-16 Thread 'Terry Brown' via leo-editor
On Tue, 16 Sep 2014 06:07:53 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: 1. The first several pushes of leoSettings.leo will retain the original @data qt-gui-plugin-style-sheet node (disabled) and any settings that have just become no-longer used. Yes, it will be an inconvenience

<    1   2   3   4   5   6   7   8   >