Re: ctrl-v (paste) problem

2012-03-11 Thread vitalije
> > > Has anyone else been seeing similar problems? > I use Ubuntu 11.04 and have noticed some problems with Ctrl+... shortcuts in some applications. If I press left Alt and then Ctrl, and then release Alt, but still holding Ctrl down, then press key for Ctrl+ combination ( Ctrl+z, Ctrl+v, ...

Re: Is thin file import slower these days?

2012-03-11 Thread Edward K. Ream
On Sun, Mar 11, 2012 at 4:00 PM, Ville M. Vainio wrote: > On Sun, Mar 11, 2012 at 12:49 AM, Edward K. Ream wrote: > Also overall, Leo seems slower than it used to be, in syntax highlighting. There was a recent change in this area. It should affect only nodes having two @language directives, al

Re: Is thin file import slower these days?

2012-03-11 Thread Ville M. Vainio
On Sun, Mar 11, 2012 at 12:49 AM, Edward K. Ream wrote: > It's hard to say.  It might be that we are all used to the speed given > to us by caching.  The only way to know for sure would be to compare > Leo from, say, 6 months ago with today's Leo. Also overall, Leo seems slower than it used to b

Re: Wishlist: openUNL

2012-03-11 Thread Ville M. Vainio
On Sun, Mar 11, 2012 at 9:36 PM, Ville M. Vainio wrote: > > What I want is akin to: > > >    parts = unl.split("#",1) > >    g.openWithFileName(parts[0]) >    ... and then navigate to right part of tree with parts[1] This code works fine for me: def open_unl(unl): parts = unl.split("#",1)

Re: Wishlist: openUNL

2012-03-11 Thread Ville M. Vainio
On Sun, Mar 11, 2012 at 2:11 PM, Edward K. Ream wrote: > There are two possible candidates: > >    g.handleUrlInUrlNode(url,c=None,p=None) > > and its helper: > >    g.handleUrl(c,p,url) > > g.handleUrl is likely what you want if you already have an url. At least handleUrl doesn't work. It open

Re: Wishlist: openUNL

2012-03-11 Thread vivainio
Yeah, i have the use case where i only have absolute paths, and .leo files may not be open On 11.3.2012 18:38 Edward K. Ream wrote: On Sun, Mar 11, 2012 at 10:31 AM, wrote: > I don't have c or p, so i prefer the version that doesn't require them You should be able to pass c=None to either ur

Re: Wishlist: openUNL

2012-03-11 Thread Edward K. Ream
On Sun, Mar 11, 2012 at 10:31 AM, wrote: > I don't have c or p, so i prefer the version that doesn't require them You should be able to pass c=None to either url method. In that case, you will lose only the ability to specify paths relative to c.loadDirectory. EKR -- You received this messag

Re: Wishlist: openUNL

2012-03-11 Thread vivainio
I don't have c or p, so i prefer the version that doesn't require them On 11.3.2012 14:11 Edward K. Ream wrote: On Sun, Mar 11, 2012 at 1:23 AM, Ville M. Vainio wrote: > What function do i need to call to invoke this handler? There are two possible candidates: g.handleUrlInUrlNode(url,c=N

Re: Wishlist: openUNL

2012-03-11 Thread Edward K. Ream
On Mar 11, 7:11 am, "Edward K. Ream" wrote: > it would be much better to be able to say:: > >     @url file://../docs/LeoDocs.leo#Leo 4.10 Release notes > > This will turn @url nodes into true "link" nodes.  For many people and > situations, such link nodes are more natural than clones. > > I'l

Re: Wishlist: openUNL

2012-03-11 Thread Edward K. Ream
On Sun, Mar 11, 2012 at 1:23 AM, Ville M. Vainio wrote: > What function do i need to call to invoke this handler? There are two possible candidates: g.handleUrlInUrlNode(url,c=None,p=None) and its helper: g.handleUrl(c,p,url) g.handleUrl is likely what you want if you already have an

Re: Whoosh, full text search status (bigdash.py)

2012-03-11 Thread vivainio
Both work for whoosh; setuptools is a devil i know ;). On 11.3.2012 12:34 zpcspm wrote: On Sunday, March 11, 2012 11:40:49 AM UTC+2, Ville M. Vainio wrote: easy_install Whoosh Sorry for offtopic, may ask why are you using easy_install? Is it a developed habit or you have any particular re

Re: Whoosh, full text search status (bigdash.py)

2012-03-11 Thread zpcspm
On Sunday, March 11, 2012 11:40:49 AM UTC+2, Ville M. Vainio wrote: > easy_install Whoosh > > > Sorry for offtopic, may ask why are you using easy_install? Is it a developed habit or you have any particular reasons for installing third party python software this way? I am asking because I keep

Re: Whoosh, full text search status (bigdash.py)

2012-03-11 Thread Ville M. Vainio
Good catch, I have to improve error handling. You don't have Whoosh installed, install it: easy_install Whoosh On Sun, Mar 11, 2012 at 10:25 AM, lewis wrote: > Immediately after alt-x global-search, the Leo search window opens and > I get this traceback: > > Leo Log Window > Leo 4.9.1 devel, bu

Re: Whoosh, full text search status (bigdash.py)

2012-03-11 Thread lewis
Immediately after alt-x global-search, the Leo search window opens and I get this traceback: Leo Log Window Leo 4.9.1 devel, build 5113, 2012-03-11 17:04:29 Python 3.2.3, qt version 4.8.0 Windows 6, 1, 7601, 2, Service Pack 1 Traceback (most recent call last): File "C:\Python32\Lib\site-packages