Re: Bigger dreams for Leo

2012-04-27 Thread Edward K. Ream
On Apr 26, 10:57 am, Edward K. Ream edream...@gmail.com wrote: On Apr 26, 9:40 am, Edward K. Ream edream...@gmail.com wrote: Surely I am not the first to have these thoughts. Just a bit of an understatement:: http://en.wikipedia.org/wiki/Inter-process_communication This is actually bad

Re: Bigger dreams for Leo

2012-04-27 Thread Edward K. Ream
On Apr 26, 1:44 pm, Terry Brown terry_n_br...@yahoo.com wrote: I've been thinking it would be nice to tighten integration between @svg being shown in a Leo window and editing it in Inkscape.  Given that Inkscape's in GTK, not Qt, I don't imagine any easy window embedding, but calling

Re: QML notebook - phase zero - toy ui ;-)

2012-04-27 Thread Terry Brown
On Fri, 27 Apr 2012 00:47:05 +0300 Ville M. Vainio vivai...@gmail.com wrote: Ok, I now created a toy UI demo for how cell based leo (like ipython notebook) could operate. It's probably the first stab at using QML to solve a problem in Leo. It doesnt' run from leo yet (it's not a plugin,

Re: QML notebook - phase zero - toy ui ;-)

2012-04-27 Thread Terry Brown
Here's a demo to run Ville's QML thing in a free_layout pane. Requires rev. 5284 so the .qml file in leo/plugins/qmlnb/ is available. Paste this into a node, run-script on the node, right click a splitter handle, Insert, click the Action button, select Add QML shower. Note that you can flick the

RE: QML notebook - phase zero - toy ui ;-)

2012-04-27 Thread Ville Vainio
Qml version was the one I got done quickly, since it has better layout mechanism. If we come up with qwidget way, let's use that :). I tried to find one, but didn't Sent from my Windows Phone From: Terry Brown Sent: 4/27/2012 5:55 PM To: leo-editor@googlegroups.com Subject: Re: QML notebook -

Re: Same .leo file open from different leo instances

2012-04-27 Thread Matt Wilkie
On opening a .leo file, I'd encourage to check whether it's open in another leo process, and complain loudly if it is. ...and perhaps show unified diff on attempted save. -- -matt -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this

Re: Same .leo file open from different leo instances

2012-04-27 Thread Edward K. Ream
On Fri, Apr 27, 2012 at 5:32 AM, Ville M. Vainio vivai...@gmail.com wrote: I may have reported this before https://bugs.launchpad.net/leo-editor/+bug/711158 On opening a .leo file, I'd encourage to check whether it's open in another leo process, and complain loudly if it is. You can use

Re: Same .leo file open from different leo instances

2012-04-27 Thread Edward K. Ream
On Fri, Apr 27, 2012 at 11:11 AM, Edward K. Ream You can use c.db, g.app.db or old fashioned lock files (~/.leo/locks/workbook.leo.lock) to do this. Good timing.  I looked at this a bit yesterday.  I'll see what I can do today. Rev 5285 fixes this using g.app.db. This is fundamentally

Bookmarks ?

2012-04-27 Thread Terry
Does the editor have the feature to set bookmarks in either the node pane or content pane ? so that I can jump back and forth between locations Leo 4.9 final, build 4411 -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send

Re: Why isn't the IPython notebook files a security violation?

2012-04-27 Thread Edward K. Ream
On Thu, Apr 26, 2012 at 12:42 PM, Terry Brown terry_n_br...@yahoo.com wrote: It's just a question of where you expect security / protection to exist...There's no boundary between a server and the system it's running on...basically Ipython notebook is just using the web-browser as a gui for a

RE: Same .leo file open from different leo instances

2012-04-27 Thread Ville Vainio
Edward, I'd appreciate if you didn't use the word 'cache' ,:). C.db is a general database that happens to be used as a cache, but many use cases are totally unrelated to caching. Sent from my Windows Phone From: Edward K. Ream Sent: 4/27/2012 7:15 PM To: leo-editor@googlegroups.com Subject: Re:

Re: Bookmarks ?

2012-04-27 Thread Terry Brown
On Fri, 27 Apr 2012 09:19:42 -0700 (PDT) Terry webtour...@gmail.com wrote: Does the editor have the feature to set bookmarks in either the node pane or content pane ? so that I can jump back and forth between locations There's two plugins - bookmarks.py and quickmove.py For dynamic jumping

Re: Ipython notebook, leo

2012-04-27 Thread Edward K. Ream
On Thu, Apr 26, 2012 at 3:56 PM, Terry Brown terry_n_br...@yahoo.com wrote: Incomprehensibly, my demo of a free_layout implementation of light-box for Leo http://groups.google.com/group/leo-editor/msg/027fc72b7fe06042 sunk without comment ;-) Don't take my lack of response personally. It's

Re: Same .leo file open from different leo instances

2012-04-27 Thread Edward K. Ream
On Fri, Apr 27, 2012 at 11:40 AM, Ville Vainio vivai...@gmail.com wrote: Edward, I'd appreciate if you didn't use the word 'cache' ,:) Fair enough. And now g.db is available even when --no-cache is in effect. I'll ensure that c.db always exists immediately. EKR -- You received this message

Re: QML notebook - phase zero - toy ui ;-)

2012-04-27 Thread Ville M. Vainio
Ok, this should serve as a basis for ipython nicely. However, a problem - it worked once, but now (after restarting leo, many times) I always get this traceback; Traceback (most recent call last): File /home/ville/b/leo-editor/leo/plugins/nested_splitter.py, line 489, in cb

Re: Bookmarks ?

2012-04-27 Thread Matt Wilkie
Ruminations on quick move: Forego bookmarks altogether and just go straight to quickly moving/copying/cloning an item to X or quickly navigating to X, where X is a find as you type field similar to command or tab completion. An implementation of the move/copy part of this idea I'm quite addicted

Re: Bookmarks ?

2012-04-27 Thread Matt Wilkie
Ruminations on quick move: ...let's make that Ruminations on Quickmove and Mini-buffer: Let's combine the idea. Activate the mini-buffer with [ctrl-ctrl], and quick move is also a double tap: ctrl-ctrl cc {copy to} ... ctrl-ctrl mm {move to} ... ctrl-ctrl xx {cut to} ... # alternate to