Re: Default language

2012-04-17 Thread lei zhang
oI use @doc 

2012/4/14 Edward K. Ream edream...@gmail.com

 On Fri, Apr 13, 2012 at 3:55 PM, Ville M. Vainio vivai...@gmail.com
 wrote:
  Yes, it does work, and improves the performance a lot.
 
  How about making it a default even?

 Seems reasonable to me.  Anyone have any reason not to do this?

 Edward

 --
 You received this message because you are subscribed to the Google Groups
 leo-editor group.
 To post to this group, send email to leo-editor@googlegroups.com.
 To unsubscribe from this group, send email to
 leo-editor+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/leo-editor?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: Leo and IPython

2012-04-17 Thread Alia K

On Apr 17, 12:39 am, Kent wrote:
 The ipython integration is great, any chance of connecting the the web 
 notebook?

 # ipython notebook

 then, from the ipython dashboard in browser, click to open a notebook

 the console reports:
 [IPKernelApp] To connect another client to this kernel, use:
 [IPKernelApp] --existing kernel-a25b19a2-55d6-43a2-aa05-dfeffb55136b.json

 could ctl-x push-to-ipython send the contents of current Leo node
 to the current cell in the ipython notebook?

 It would be great to be able to jump between Leo's nodes and IPython's
 cells, each offering a different set of cool functionality.

Incidentally look at this recent IPEP (Ipython Enhancement Proposal)
which allows for leo like cell-level directives (which in Ipython are
called magic commands): https://github.com/ipython/ipython/issues/1611

Leo + Ipython notebook integration is a killer app indeed.

AK


-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



unity menu

2012-04-17 Thread Terry Brown
I don't know if this impacts the unity menu bug at all, but for those
wanting the menus back where they're supposed to be in the unity
interface:

http://www.addictivetips.com/ubuntu-linux-tips/how-to-disable-global-menu-in-ubuntu-11-10-tip/

it didn't fix firefox, but does fix Leo's menus in terms of not
sticking them to the top of the display.

Oddly, my plain background color became black, and I couldn't fix it
without switching the background to a gradient, which I made plain
again by selecting the same color for both ends :-}

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: unity menu

2012-04-17 Thread Edward K. Ream
On Tue, Apr 17, 2012 at 9:34 AM, Terry Brown terry_n_br...@yahoo.com wrote:

 I don't know if this impacts the unity menu bug at all, but for those
 wanting the menus back where they're supposed to be in the unity
 interface:

Thanks for this, Terry.  I'll look into this today.  My plan is to
attempt to get zmq and the IPython workbook up on Ubuntu.  It seems
impossible on my 64-bit Windows 7 system, even when using single-click
installers.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



simple file-open problem, probably Windows, but I gotta ask

2012-04-17 Thread Phil
Hello,

I have just been forced to upgrade to Windows 7, and am learning its
quirks, so this just might be me not knowing the right thing to
do

I installed (using the pre-built windows installer) Leo 4.10 build
5020, using Python 2.7.3, qt version 4.8.0. When I double-click a .leo
file to open it, Leo starts up with an empty workbook.leo node, but
does not load the file I double-clicked. Of course, what I want is for
the file I double-clicked to be opened up. I can manually open the
file from the file menu, so this behavior is merely irritating, not
debilitating.

How can I fix this?

Thanks!
Phil

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Weirdness in body text

2012-04-17 Thread Phil
More playing with my shiny new Leo install!

Windows 7, Leo 4.10 build 5020, using Python 2.7.3, qt version 4.8.0.

I have an outline with a @data qt-gui-plugin-style-sheet node. When I
save the outline with that node selected, then reopen (back to that
node), its contents appear fine. But if I then select another node,
and then re-select the @data node, the contents of that node have
appeared to change, with some of the text lines not displaying. I say
appeared because if I close and reopen the file, the node again is
fine, and I can repeat the problem. After the problem occurs, if I
scroll through the text using the down/up arrow keys, I can see the
line counter change, but the cursor occasionally disappears for a few
lines before it reappears and resumes scrolling.

I will be happy to share the offending Leo file. Where should I send
it?

Thanks,
Phil

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: Weirdness in body text

2012-04-17 Thread Terry Brown
I happen to know that Edward is hard at work on this bug today:
https://bugs.launchpad.net/bugs/981849 

Nice to know I'm not the only one to notice it - you begin to doubt
your sanity when lines are missing from code so it appears to make no
sense but it actually working fine.

If you want a temporary fix, enter

g.restore_selection_range = True

in an empty body, and then click run-script (ctrl-b)

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-17 Thread HansBKK
On Tuesday, April 17, 2012 1:43:34 AM UTC+7, Matt Wilkie wrote:

  there's a very cool tool called PortableFileAssociator that allows you 
 to
  create a set of windows file associations, icons etc and enable/disable

 neat, thanks for the tip.
 oh, looks like it's problematic with portableapps.com suite 'cause of
 high false-positive AV warnings... but maybe the same functionality
 will be incorporated into the PA menu launcher. Cool.
 http://portableapps.com/node/15583?page=4


Yes, many cool tools like this use autohotkey, or a certain compiler that 
also gets used for some malware and triggers false positives for some of 
the sloppier a/v packages.

If you want to be safe, get a more balanced picture from one of these:
http://www.virustotal.com/
http://virusscan.jotti.org/en

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/GC_vWt1PQK4J.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: simple file-open problem, probably Windows, but I gotta ask

2012-04-17 Thread HansBKK
On Wednesday, April 18, 2012 3:37:14 AM UTC+7, Phil wrote:

 Leo starts up with an empty workbook.leo node, but does not load the file 
 I double-clicked. Of course, what I want is for 
 the file I double-clicked to be opened up.


Have you tried the suggestions posted in this still-active 
threadhttps://groups.google.com/forum/#%21topic/leo-editor/KwrqYGMH20Q/discussion
?


 

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/-qVFypm3ebsJ.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.



Re: Cannot open Leo files by double-click in Windows Explorer?

2012-04-17 Thread Matt Wilkie



 Set up file type association:

 C:\ ftype LeoFile=C:\Python27\pythonw.exe C:\apps\leo\launchLeo.py “%1″
 C:\ assoc .leo=LeoFile 

And put this leo.bat in %PATH%:

 @start /b Leo C:\Python27\python.exe C:\apps\leo\launchLeo.py %*

Edward (or anyone else with access to bzr, I don't right now (and the last 
time it didn't work anyway ;-): the docs have the wrong version, It should 
match the above:
http://webpages.charter.net/edreamleo/install.html#installing-leo-on-windows

 
-matt 

-- 
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/sg05ogH02ScJ.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.