Re: How do you configure a plugin that is already loaded?

2014-01-03 Thread Edward K. Ream
On Thu, Jan 2, 2014 at 2:15 PM, Jack Kuan wrote: > Hi, > > I'm trying to configure the @string view-rendered-default-kind setting of > the viewrendered plugin, however, since this plugin is enabled by default > in leoSettings.leo > it gets loaded before I have the chance to set the setting. > Le

Rev 6510 adds @color support to @button nodes

2014-01-03 Thread Jacob Peck
Hi all, As of rev 6510, you can now add a @color keyword to your @button nodes to define the background color of a button. For example: @button my button @key=Ctrl+Alt+1 @color=white That will create a white button labeled 'my-button', bound to the Ctrl+Alt+1. Along with this is a code cl

Re: Rev 6510 adds @color support to @button nodes

2014-01-03 Thread Edward K. Ream
On Fri, Jan 3, 2014 at 11:00 AM, Jacob Peck wrote: > Hi all, > > As of rev 6510, you can now add a @color keyword to your @button nodes to > define the background color of a button. For example: > > @button my button @key=Ctrl+Alt+1 @color=white > > That will create a white button labeled 'my-bu

On Mac OS X, in vim mode, cmd-{j,k} on the outline tree also select the nodes

2014-01-03 Thread Jack Kuan
Hi, I'm playing with the vim key bindings that come with Leo on OS X, and noticed that using cmd-j and cmd-k to move down and up the outline tree will also select the nodes. This is not the case if I use down and up arrows instead. Also, I see that even though the @bool swap_mac_keys option is s

Re: @views status report

2014-01-03 Thread Edward K. Ream
On Thursday, January 2, 2014 10:08:20 AM UTC-6, Edward K. Ream wrote: > Leo now supports two new commands: view-pack and view-unpack. Each command is fully undoable. The initial versions of these commands were flaky. The latest rev appears to make these commands solid--they work regardless of

How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jack Kuan
Hi, I have written a script and made a button for it. I can run it(click the button) on one selected node, but how do I make it run ALL selected nodes? Also, is there a find command that will let me execute my script on all found nodes? Thanks Jack -- You received this message because you are

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jacob Peck
On 1/3/2014 4:07 PM, Jack Kuan wrote: Hi, I have written a script and made a button for it. I can run it(click the button) on one selected node, but how do I make it run ALL selected nodes? This is tricky, and Edward has been pushing towards disallowing Leo from having multiple selected nodes

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Terry Brown
On Fri, 3 Jan 2014 13:07:33 -0800 (PST) Jack Kuan wrote: > Hi, > > I have written a script and made a button for it. I can run it(click the > button) on one selected node, but how do I make it run ALL selected nodes? Assuming your script acts on `p`, do: for p in c.getSelectedPositions():

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jacob Peck
On 1/3/2014 4:22 PM, Jacob Peck wrote: On 1/3/2014 4:07 PM, Jack Kuan wrote: Hi, I have written a script and made a button for it. I can run it(click the button) on one selected node, but how do I make it run ALL selected nodes? This is tricky, and Edward has been pushing towards disallowing

Re: How do I run my script(via a button) on all selected nodes?

2014-01-03 Thread Jack Kuan
Thank you all! c.getSelectedPositions() does the trick~ On Friday, January 3, 2014 4:26:50 PM UTC-5, Jacob Peck wrote: > > On 1/3/2014 4:22 PM, Jacob Peck wrote: > > On 1/3/2014 4:07 PM, Jack Kuan wrote: > >> Hi, > >> > >> I have written a script and made a button for it. I can run it(click

Re: On Mac OS X, in vim mode, cmd-{j,k} on the outline tree also select the nodes

2014-01-03 Thread Jack Kuan
OK, I've found a way to sort of work around the problem of navigating the outline tree with the vi key binding. Is there a command to reload key bindings so that I don't have to restart Leo every time I add a shortcut? Thanks Jack On Friday, January 3, 2014 12:13:15 PM UTC-5, Jack Kuan wrote:

new platform for Leo development?

2014-01-03 Thread gf
Hi, First, I want to express my sincere gratitude to Edward and the other developers of Leo for their tireless efforts in creating and improving this fantastic piece of software. I apologize if this post seems presumptuous as I am not a Leo developer, but my comment is meant to open a dialogue

Fw: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-03 Thread Terry Brown
gf's post made me realize my reposting of Ville's reposting failed, here it is - question for you Jacob / Matt... Begin forwarded message: On Thu, 02 Jan 2014 07:45:25 -0800 (PST) "Ville Vainio (Google+)" wrote: http://classic.slashdot.org/story/14/01/02/1425203 "Eric S. Raymond, co-