Re: Two questions: quality, understanding

2011-11-03 Thread Edward K. Ream
On Oct 30, 9:19 am, Edward K. Ream edream...@gmail.com wrote: I've been thinking about two general questions lately: I'd like to revise them both slightly: 1. How can we improve Leo's quality? 2. How can we better understand complex computer programs? The thread Long/short details/dreams

Re: Any leo plugin that can import HTML code into a tree?

2011-11-03 Thread zpcspm
On Nov 3, 12:06 am, Edward K. Ream edream...@gmail.com wrote: 4. html often will contain javascript code that has its own syntax rules.  I'm not sure this makes any difference, actually. I am not sure either, isn't javascript supposed to be always wrapped in a script tag? So the goal would be

Re: Red rectangle focus = bad with body pane

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 6:55 AM, Ville M. Vainio vivai...@gmail.com wrote: Is there a way to disable this red border? It's quite offensive to my sensibilities, to the extent that it hurts my concentration when writing. @bool use_focus_border = False disables all borders. It's also likely to

Re: Red rectangle focus = bad with body pane

2011-11-03 Thread vivainio
How about just disabling it in body? I like the focus rect in tree pane. On 03/11/2011 14:43 Edward K. Ream wrote: On Thu, Nov 3, 2011 at 6:55 AM, Ville M. Vainio vivai...@gmail.com wrote: Is there a way to disable this red border? It's quite offensive to my sensibilities, to the extent that

Re: Red rectangle focus = bad with body pane

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 8:11 AM, vivai...@gmail.com wrote: How about just disabling it in body? I like the focus rect in tree pane. Rev 4717 adds support for @bool use_body_focus_border. Very sorry, but the default in leoSettings.leo is True ;-) Edward -- You received this message because

Re: Any leo plugin that can import HTML code into a tree?

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 5:09 AM, zpcspm zpc...@gmail.com wrote: On Nov 3, 12:06 am, Edward K. Ream edream...@gmail.com wrote: 4. html often will contain javascript code that has its own syntax rules.  I'm not sure this makes any difference, actually. I am not sure either, isn't javascript

Re: Any leo plugin that can import HTML code into a tree?

2011-11-03 Thread Edward K. Ream
On Wed, Nov 2, 2011 at 9:17 PM, Terry Brown terry_n_br...@yahoo.com wrote: If it helps at all, the ElementTree model is that elements have both .text and .tail attributes. [snip] Pythons flagship XML library is lxml of course, http://lxml.de/, but it basically uses ElementTree for element

import error for leo_pdf

2011-11-03 Thread Josef
Warning, I am still using plain old Leo-4.9 when I try to run the rst3 command on a line like: @rst foo.pdf I get: Traceback (most recent call last): File /home/dalcolmo/programs/Leo-4.9-final/leo/core/leoRst.py, line 1891, in writeToDocutils settings_overrides=overrides) File

Re: Any leo plugin that can import HTML code into a tree?

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 10:27 AM, Terry Brown terry_n_br...@yahoo.com wrote: Probably not relevant to Leo import export, but javascript often contains things not valid in HTML, notably and Yikes. Which raises the question of CDATA http://www.w3schools.com/xml/xml_cdata.asp strictly

Re: import error for leo_pdf

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 10:49 AM, Josef joe...@gmx.net wrote: Warning, I am still using plain old Leo-4.9 when I try to run the rst3 command on a line like: @rst foo.pdf  I get: Happens with the present code as well. I'll investigate soon. Edward -- You received this message because you

Re: Any leo plugin that can import HTML code into a tree?

2011-11-03 Thread Edward K. Ream
On Nov 3, 10:27 am, Terry Brown terry_n_br...@yahoo.com wrote: strictly speaking Leo should not parse anything in a CDATA block. I *think* the html scanner can treat cdata as a kind of comment, for purposes of verification. The html parser, that is, xmlScanner.startshelper, should also know

Re: Where are we on the dynamic Leo home page project?

2011-11-03 Thread Matt Wilkie
Amazing.  I'll put this into Leo's home page tonight, on an experimental basis... Hah!  I just came here from the rss feed on Leo's home page!! hey, that's a nice simple added touch of life. Files, including home page--@file html/front.html I just tried to look at that file, the node is

Re: Leo's wiki being spammed

2011-11-03 Thread Matt Wilkie
It looks like all potential editors of the wiki will have to be approved. Simon will probably agree to set this up.  Let me know if you would like write access. yes please. -matt -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this

font size in urls

2011-11-03 Thread Kent Tenney
Howdy, Leo is recognizing urls and rendering them in a large font, underlined. I prefer they be the same size as other text. I checked @setting @font url but it seems something else is making the change. Plugin? Thanks, Kent -- You received this message because you are subscribed to the

Re: Where are we on the dynamic Leo home page project?

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 3:18 PM, Matt Wilkie map...@gmail.com wrote: Files, including home page--@file html/front.html I just tried to look at that file, the node is there but front.html doesn't exist. I just did a bzr pull --overwrite a few minutes ago. front.html and index.html are exactly

Re: import error for leo_pdf

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 12:08 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Nov 3, 2011 at 10:49 AM, Josef joe...@gmx.net wrote: when I try to run the rst3 command on a line like: @rst foo.pdf  I get: Happens with the present code as well.  I'll investigate soon. Fixed on the trunk at

Re: font size in urls

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 4:13 PM, Kent Tenney kten...@gmail.com wrote: Leo is recognizing urls and rendering them in a large font, underlined. I prefer they be the same size as other text. For questions like this, do print-settings. Doing so shows something like:: urlcolor = purple

Re: font size in urls

2011-11-03 Thread Kent Tenney
On Thu, Nov 3, 2011 at 5:22 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Nov 3, 2011 at 4:13 PM, Kent Tenney kten...@gmail.com wrote: Leo is recognizing urls and rendering them in a large font, underlined. I prefer they be the same size as other text. For questions like this, do

Re: font size in urls

2011-11-03 Thread Edward K. Ream
On Thu, Nov 3, 2011 at 7:53 PM, Kent Tenney kten...@gmail.com wrote: Right, I'd looked at that node and seen url_font_family = DejaVu Sans Mono url_font_size = 12 Yet the font is very large, so I'm wondering where the large font size is coming from. There seems to be a difference in how

Re: viewrendered - file not found

2011-11-03 Thread Edward K. Ream
On Sun, Oct 30, 2011 at 8:50 AM, Edward K. Ream edream...@gmail.com wrote: It appears the problem is in g.os_path_finalize_join.  I'll investigate. g.os_path_join works; g.os_path_finalize doesn't. I'll have the fix shortly. BTW, all investigations now take place in the context of a unit