Re: Find-previous fails at last node

2014-08-12 Thread Fidel N
I often experience similar problems, and I also always use the mouse. My feeling is that it doesnt "reset the search" when the find command is issued throug the GUI, then you hit "search next" and it still uses the previous search. Many times I get "no found" when the text clearly is where im searc

Re: Vim emulation: ready for testing!

2014-08-12 Thread Steve Zatz
Not giving up yet. Completely clean Leo install from git. Only nodes in myLeoSettings are setting vim-mode to true and placing the @keys Vim bindings under @settings A bunch of normal mode vim bindings work. Typing a colon produces the following on the windows command line: ignore masterKeyHan

Re: Find-previous fails at last node

2014-08-12 Thread lewis
I should have made it clearer the problem occurs only using mouse-click on *Find previous: F2*. So search for 'shell-command' and repeat until it reaches the last instance at LeoDocs.leo#Leo's Documentation-->Release notes-->@file release_notes.txt-->Previous versions...-->4.10 Incremental im

Re: Autocompleting dictionaries keys

2014-08-12 Thread Fidel N
Done :) On Tue, Aug 12, 2014 at 4:39 PM, Edward K. Ream wrote: > On Mon, Aug 4, 2014 at 2:39 AM, Fidel N wrote: > > Hi: > > This is a feature request that I thought could be very nice. > > Interesting. Please file a wishlist bug. > > EKR > > -- > You received this message because you are subs

Re: Threading thread

2014-08-12 Thread Edward K. Ream
On Tue, Aug 5, 2014 at 12:45 PM, 'Terry Brown' via leo-editor wrote: > Interesting and not that complex after all: Thanks for this. There are many ast-oriented classes in leoSTC.py which may or may not be of interest to you. As for the lisp music demo, I think there is a large element of showm

Re: Find-previous fails at last node

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 10:13 AM, lewis wrote: > Find-previous fails at last node when selected by mouse-click Hmm. It seems to work for me: - Search (F3) until search fails. - Select last node of the outline with the mouse, or alternatively, the last visible node. - F2: succeeds. Have I unde

Re: Aha: vim trainer mode

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 10:03 AM, jkn wrote: > some of the most IMO convenient key-bindings in Brief need some special > effort before they can work in Leo. For instance: > > 1) The numeric key-pad keys are used for special purposes > 1a) is cut (region if selected, else current line) > 1b) is

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

2014-08-12 Thread Jacob Peck
On 8/12/2014 11:24 AM, dufriz wrote: How is the work on the tags' UI coming along, Jake? It's functionally complete -- give it a shot! (Should work in PyQt5 now, too, thanks to Terry) Be sure to read the plugin notes (plugin menu -> nodetags) -->Jake -- You received this message because

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

2014-08-12 Thread dufriz
How is the work on the tags' UI coming along, Jake? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group,

Find-previous fails at last node

2014-08-12 Thread lewis
HI Edward, Find-previous fails at last node when selected by mouse-click Open LeoDocs.leo search for 'shell-command' Find Next: F3 repeat until it reaches the last instance at LeoDocs.leo#Leo's Documentation-->Release notes-->@file release_notes.txt-->Previous versions...-->4.10 Incremental i

Re: Aha: vim trainer mode

2014-08-12 Thread jkn
Hi Edward On Tuesday, 12 August 2014 11:10:07 UTC+1, Edward K. Ream wrote: > > On Sun, Aug 10, 2014 at 4:16 PM, jkn > > wrote: > > > IMO the best key bindings are those of the Brief text editor... > > The Brief key-bindings are modeless and use the Alt-key extensively... > > http://www.vim.or

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

2014-08-12 Thread Edward K. Ream
On Mon, Aug 4, 2014 at 10:53 AM, Jacob Peck wrote: > Regarding tags, I hacked the nodetags.py plugin together, available at > commit b9a764c59de263fbdb47969f1d318759b955c442. Thanks for this. I've filed this in a to-be-documented folder, so it will be mentioned in the next release. EKR -- You

Re: Autocompleting dictionaries keys

2014-08-12 Thread Edward K. Ream
On Mon, Aug 4, 2014 at 2:39 AM, Fidel N wrote: > Hi: > This is a feature request that I thought could be very nice. Interesting. Please file a wishlist bug. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: load files into Leo from the command line

2014-08-12 Thread Edward K. Ream
On Sun, Aug 3, 2014 at 2:17 PM, 'Terry Brown' via leo-editor wrote: > Just upgraded my script to load files into Leo from the command line, > thought it was shared somewhere before, but not finding it, I've put it > here: > > https://github.com/leo-editor/snippets/blob/master/utils/led.py It's in

Re: Vim emulation: ready for testing!

2014-08-12 Thread Kent Tenney
>NP. I am relying on you to test vim mode. I gave myself an early >birthday present (I turn 65 tomorrow) and disabled vim mode. :! echo "Happy Birthday Edward!" > /tmp/hb.txt : r /tmp/hb.txt (works in REAL vim) :P On Tue, Aug 12, 2014 at 8:56 AM, Edward K. Ream wrote: > On Tue, Aug 12, 2014

Re: Summary of vim mode: please test it now

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 7:06 AM, Steve Zatz wrote: >> ... it works for me. > I'm jealous. Can you point me where in myLeoSettings.leo the connection is > made between ":" and entering command-line mode? @bool vim-mode = True > Also, I am getting these two conflicting key bindings but they s

Re: Vim emulation: ready for testing!

2014-08-12 Thread Edward K. Ream
On Tue, Aug 12, 2014 at 8:32 AM, Kent Tenney wrote: > Are you trying to replicate vim operation or has there > been a 'fork' and bindings are vim-like? The former. > IE: do you keep vim open and check it's operation against Leo? Yes. > I see in current commit message: > Added :r filename ... >

Re: Vim emulation: ready for testing!

2014-08-12 Thread Kent Tenney
Are you trying to replicate vim operation or has there been a 'fork' and bindings are vim-like? IE: do you keep vim open and check it's operation against Leo? I see in current commit message: Added :r filename ... this works as described, but being different than vim, it becomes a confusing 3rd

Re: Summary of vim mode: please test it now

2014-08-12 Thread Steve Zatz
> ... it works for me. I'm jealous. Can you point me where in myLeoSettings.leo the connection is made between ":" and entering command-line mode? Also, I am getting these two conflicting key bindings but they seem unrelated to the command-line issue. conflicting key bindings in myLeoSettings.le

Aha: vim mode is a great success, even when not enabled

2014-08-12 Thread Edward K. Ream
Behind the scenes, vim mode's code is cleaner and more flexible than I dared hoped. The connections between the code in leoVim.py and the rest of Leo are trivial. This present code is far simpler than that implied by previous designs. But the actual code is the least impressive part of the pr

Re: Aha: vim trainer mode

2014-08-12 Thread Edward K. Ream
On Sun, Aug 10, 2014 at 4:16 PM, jkn wrote: > IMO the best key bindings are those of the Brief text editor... > The Brief key-bindings are modeless and use the Alt-key extensively... > http://www.vim.org/scripts/script.php?script_id=265# vim emulation Thanks, Jon, for this heads up. > I wou