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

2011-11-10 Thread Edward K. Ream
On Nov 10, 5:56 pm, Edward K. Ream edream...@gmail.com wrote: Here is the test case, boiled down to its essence from data.html::     tda href=1Standards/a a href=2Fees/a/td It should be possible to extend the first a element so that it contain the troublesome space. This worked. The new

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

2011-11-09 Thread Edward K. Ream
On Nov 3, 10:03 am, Edward K. Ream edream...@gmail.com wrote: In any event, my initial enthusiasm for the scanner-based approach was unfounded.  I had forgotten to remove the code that completely ignores whitespace.  When I did so, the original whitespace failure reappeared! Rev 4767 of the

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

2011-11-09 Thread Edward K. Ream
On Oct 28, 2:49 am, zpcspm zpc...@gmail.com wrote: Sometimes I have to look at badly aligned HTML code and keep asking myself questions like here's the opening tag, I wonder where it closes. To be clear, rev 4767 imports data.html properly. Edward -- You received this message because you

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

2011-11-09 Thread zpcspm
On Nov 9, 11:02 pm, Edward K. Ream edream...@gmail.com wrote: On Oct 28, 2:49 am, zpcspm zpc...@gmail.com wrote: Sometimes I have to look at badly aligned HTML code and keep asking myself questions like here's the opening tag, I wonder where it closes. To be clear, rev 4767 imports

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

2011-11-06 Thread Edward K. Ream
On Nov 4, 9:19 am, Juraj rin...@gmail.com wrote: sorry if I'm hijacking the thread but how exactly do I set the @data setting? Not to worry. Threads get hijacked hourly, and nobody minds. Here is the documentation for @data, from leoSettings.leo#About this file--\@data The body text should

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

2011-11-06 Thread Edward K. Ream
On Nov 2, 4:06 pm, Edward K. Ream edream...@gmail.com wrote: 2. As Terry has just corrected me, the difference between one space (or tab) and many is not significant, yet the difference between one and none is significant.  A redesign of the importer (tokens) may be needed. I bear tidings of

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: 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

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: 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

macros.py plugin broken?

2011-11-02 Thread Juraj
Hello, I am trying to use macros plugin, when testing the example from documentation I get this error: Traceback (most recent call last): File C:\Python32\Leo-4.9-final\leo\core\leoCommands.py, line 408, in doCommand val = command(event) File C:\Python32\Leo-4.9-final\leo\plugins

Re: macros.py plugin broken?

2011-11-02 Thread Edward K. Ream
On Wed, Nov 2, 2011 at 7:13 AM, Juraj rin...@gmail.com wrote: Hello, I am trying to use macros plugin, when testing the example from documentation I get this error: Thanks for this report. Rev 4707 revises the code properly (I am guessing) for Leo's present code base. Clearly the old code

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

2011-11-02 Thread Edward K. Ream
On Oct 28, 3:49 am, zpcspm zpc...@gmail.com wrote: Sometimes I have to look at badly aligned HTML code and keep asking myself questions like here's the opening tag, I wonder where it closes. A progress report. I have spent several hours on this. It's an interesting problem, for several

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

2011-11-02 Thread Terry Brown
On Wed, 2 Nov 2011 15:06:00 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: 2. As Terry has just corrected me, the difference between one space (or tab) and many is not significant, yet the difference between one and none is significant. A redesign of the importer (tokens) may be

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

2011-10-29 Thread Edward K. Ream
On Fri, Oct 28, 2011 at 9:20 PM, zpcspm zpc...@gmail.com wrote: 1. Why are there redundant values (uppercase and lowercase) in this setting? I know that XML tags are case sensitive, but HTML tags are not. Having to double each HTML tag is slightly inconvenient. Good question. I suspect it is

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

2011-10-29 Thread Edward K. Ream
On Fri, Oct 28, 2011 at 9:20 PM, zpcspm zpc...@gmail.com wrote: error: import command did not import @file data.html perfectly first mismatched line: 272 [snip]  272 u'\t\ttable width=619 border=0 cellspacing=0 cellpadding=0\ttr valign=top\ttd width=377\t!-- View First part --\n'  272 u'  

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

2011-10-29 Thread Edward K. Ream
On Sat, Oct 29, 2011 at 6:28 AM, Edward K. Ream edream...@gmail.com wrote: error: import command did not import @file data.html perfectly first mismatched line: 272 [snip] Somehow the second line uses Leo's  strange -4 convention for representing underindented lines. Please send me a

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

2011-10-29 Thread Edward K. Ream
On Oct 28, 9:20 pm, zpcspm zpc...@gmail.com wrote: 1. Why are there redundant values (uppercase and lowercase) in this setting? Fixed on the trunk. 2. Is it possible to have an alternative value for this setting. leoSettings.leo now contains two separate settings: @data

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

2011-10-29 Thread zpcspm
On Oct 29, 7:57 pm, Edward K. Ream edream...@gmail.com wrote: On Sat, Oct 29, 2011 at 6:28 AM, Edward K. Ream edream...@gmail.com wrote: error: import command did not import @file data.html perfectly first mismatched line: 272 [snip] Somehow the second line uses Leo's  strange -4

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

2011-10-28 Thread zpcspm
Sometimes I have to look at badly aligned HTML code and keep asking myself questions like here's the opening tag, I wonder where it closes. Is there a leo plugin that would automatically solve this by being able to import HTML code into a tree of HTML tags - one node per tag, inner nodes

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

2011-10-28 Thread Edward K. Ream
On Oct 28, 3:49 am, zpcspm zpc...@gmail.com wrote: Is there a leo plugin that would automatically solve this by being able to import HTML code into a tree of HTML tags - one node per tag, inner nodes for inner tags? Something like this: Leo's import command works with html files

viewrendered plugin why get_fn and not getNodeFileName

2011-10-22 Thread ilkosta
Hi, I'm trying viewrendered and I would ask why in get_fn it use g.app.loadDir and not c.getNodeFileName. Tanks, Costantino -- 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

Re: viewrendered plugin why get_fn and not getNodeFileName

2011-10-22 Thread ilkosta
sorry for my bad question, I'm a real newbee. As for I knew the viewrendered plugin I thought a get_fn function like: def get_fn (self,s,tag): pc = self ; c = pc.c fn = s or c.p.h[len(tag):] fn = fn.strip() path = c.os_path_finalize_join(c.getNodePath(c.p),fn) ok = path

Re: Plugin mod_http ?

2011-09-30 Thread Terry Brown
On Mon, 4 Apr 2011 02:17:47 -0700 (PDT) VR viktor.ransm...@gmail.com wrote: Is anyone successfully using mod_http ? Upon further investigation it seems this is working, just needs @bool http_active = True in setting somewhere. So, Delicious ate my bookmarks, something about some opt in

Re: Plugin mod_http ?

2011-09-30 Thread Edward K. Ream
On Fri, Sep 30, 2011 at 3:08 PM, Terry Brown terry_n_br...@yahoo.com wrote: Upon further investigation it seems this is working, just needs @bool http_active = True Oh good. what if a running Leo could capture bookmarks from the browser - all it needs is a simple Javascript bookmarklet to

Re: Plugin mod_http ?

2011-09-28 Thread Terry Brown
On Mon, 4 Apr 2011 10:52:36 -0500 Edward K. Ream edream...@gmail.com wrote: Let me know if there are other problems. There might be: there used to be hooks somewhere (don't remember where) for mod_http: it's possible that these have been disabled. bzr search https://launchpad.net/bzr-search

Re: Plugin mod_http ?

2011-09-28 Thread Terry Brown
On Wed, 28 Sep 2011 13:59:29 -0500 Terry Brown terry_n_br...@yahoo.com wrote: bzr search https://launchpad.net/bzr-search is cool, sounds cool, anyway, if it works as advertised. e.g. in this case - where were the hooks, in which revision of which file? There's no sign of them now, but bzr

Re: Plugin mod_http ?

2011-09-28 Thread Terry Brown
On Wed, 28 Sep 2011 14:10:49 -0500 Terry Brown terry_n_br...@yahoo.com wrote: for i in *.py; do echo $i; bzr log --include-merges --show-diff $i $i.log; done Which (sorry about all the little posts) shows no hits in any .../core/*.py files, except leoRst.py and format-code.py Oh well. --

Re: error importing plugin: free_layout.py # needs to be early

2011-09-05 Thread IaMaPlAyEr
On Sun, Sep 4, 2011 at 11:38 PM, Edward K. Ream edream...@gmail.com wrote: On Sun, Sep 4, 2011 at 10:21 AM, Edward K. Ream edream...@gmail.com wrote: Oops. Rev 4448 fixes this distribution blunder. Actually, though, the parser for @enabled-plugins should ignore Python comments. I'll

Re: error importing plugin: free_layout.py # needs to be early

2011-09-04 Thread tfer
settings in D:\work_for_self_lib\leo\leo-editor-snapshot\leo\config\leoSettings.leo reading settings in C:\Users\Administrator\.leo\myLeoSettings.leo reading settings in C:\Users\Administrator\.leo\workbook.leo error importing plugin: free_layout.py  # needs to be early Traceback (most recent

Re: error importing plugin: free_layout.py # needs to be early

2011-09-04 Thread Edward K. Ream
On Sun, Sep 4, 2011 at 10:21 AM, Edward K. Ream edream...@gmail.com wrote: Oops.  Rev 4448 fixes this distribution blunder.  Actually, though, the parser for @enabled-plugins should ignore Python comments.  I'll do this today. Done at rev 4449. All unit tests pass. Edward -- You received

error importing plugin: free_layout.py # needs to be early

2011-09-03 Thread IaMaPlAyEr
\Administrator\.leo\workbook.leo error importing plugin: free_layout.py # needs to be early Traceback (most recent call last): File D:\work_for_self_lib\leo\leo-editor-snapshot\leo\core\leoPlugins.py, line 550, in loadOnePlugin toplevel = __import__(moduleName) ImportError: No module named

Re: How should a plugin implement persistent preferences?

2011-08-03 Thread Edward K. Ream
. This is fine, except that it doesn't tell exactly where, so maybe the script/command would need to look at the table in readSettingsFiles and its helpers. It's baroque, to say the least... So a plugin could include in its Plugins menu submenu an Edit Prefs. command which the plugin would write

Re: How should a plugin implement persistent preferences?

2011-08-03 Thread Terry Brown
On Wed, 3 Aug 2011 09:48:55 -0500 Edward K. Ream edream...@gmail.com wrote: I personally do not think the massive effort required is anywhere near being useful enough. Apart from the working out which settings file is supplying the setting, it seems like just a couple of lines of code, maybe I

Re: How should a plugin implement persistent preferences?

2011-08-03 Thread Kent Tenney
\n' % (kind,name,val)) The letter field tells where the setting comes from.  This is fine, except that it doesn't tell exactly where, so maybe the script/command would need to look at the table in readSettingsFiles and its helpers. It's baroque, to say the least... So a plugin could include

Re: How should a plugin implement persistent preferences?

2011-08-01 Thread Edward K. Ream
On Sun, Jul 31, 2011 at 4:27 PM, SegundoBob bhoss...@ieee.org wrote: I'm writing a plugin and I want to allow the user to select one set of preferences for the current .leo file and another set of preferences to be the current defaults for all .leo files. I strongly encourage you to use

Re: How should a plugin implement persistent preferences?

2011-08-01 Thread Terry Brown
On Mon, 1 Aug 2011 08:24:14 -0500 Edward K. Ream edream...@gmail.com wrote: On Sun, Jul 31, 2011 at 4:27 PM, SegundoBob bhoss...@ieee.org wrote: I'm writing a plugin and I want to allow the user to select one set of preferences for the current .leo file and another set of preferences

May I ask again, How can a plugin set an overridable default binding?

2011-07-24 Thread SegundoBob
On Jul 17, 5:00 pm, SegundoBob bhoss...@ieee.org wrote: Is there some way to assign a shortcut keystroke to a command implemented in a plugin that allows a user to change the shortcut keystroke assigned to the command?  I don't know any way to do this.  My testing indicates that a shortcut

Re: How to make a plugin method a global command

2011-07-23 Thread Terry Brown
On Fri, 22 Jul 2011 13:52:43 -0700 (PDT) SegundoBob bhoss...@ieee.org wrote: Would it be safe to hash the commander and use hash(c) as the key of a dictionary (which would replace the list)? I think that would work, but I don't think it's a problem just sticking an instance variable on the

Re: How to make a plugin method a global command

2011-07-22 Thread SegundoBob
at a time. Put a global in your plugin module: _cloneNav = None @g.command('clone-nav') def clone_nav(event): if _cloneNav: _cloneNav._buttonClicked(event) Now, clone_nav is a global command and can be assigned a shortcut in leoSettings.leo or myLeoSettings.leo. But, if you open

Re: Plugins Menu -- plugin X displays many errors and then plugin X's unformatted help text

2011-07-12 Thread Edward K. Ream
seeing that on the trunk as well.  The scrolledmessage plugin seems to have died.  Try enabling viewrendered.py in your @enabled-settings On the trunk: disabling viewrendered.py gives the reported messages; enabling viewrendered works as expected. On the free_layout branch: I get the reported

Re: Plugins Menu -- plugin X displays many errors and then plugin X's unformatted help text

2011-07-12 Thread Terry Brown
On Tue, 12 Jul 2011 09:35:19 -0500 Edward K. Ream edream...@gmail.com wrote: Hmm, I'm seeing that on the trunk as well.  The scrolledmessage plugin seems to have died.  Try enabling viewrendered.py in your @enabled-settings On the trunk: disabling viewrendered.py gives the reported

Re: Plugins Menu -- plugin X displays many errors and then plugin X's unformatted help text

2011-07-12 Thread SegundoBob
On Jul 11, 2:22 pm, Terry Brown terry_n_br...@yahoo.com wrote: On Mon, 11 Jul 2011 13:48:51 -0700 (PDT) The scrolledmessage plugin seems to have died.  Try enabling viewrendered.py in your @enabled-settings Thanks. Enabling the viewrendered.py plugin allows me to see a plugin's help

Re: Plugins Menu -- plugin X displays many errors and then plugin X's unformatted help text

2011-07-12 Thread Terry Brown
On Tue, 12 Jul 2011 09:44:17 -0700 (PDT) SegundoBob bhoss...@ieee.org wrote: On Jul 11, 2:22 pm, Terry Brown terry_n_br...@yahoo.com wrote: On Mon, 11 Jul 2011 13:48:51 -0700 (PDT) The scrolledmessage plugin seems to have died.  Try enabling viewrendered.py in your @enabled-settings

Plugins Menu -- plugin X displays many errors and then plugin X's unformatted help text

2011-07-10 Thread SegundoBob
No matter which plugin I select under the Plugins menu, I see the following errors in the Default cascading style sheet for the HTML output of Docutils. following plugin X's help text with all its formatting directives. Am I the only one seeing this problem? Leo-Editor Version: revision 4424 OS

Re: Plugins Menu -- plugin X displays many errors and then plugin X's unformatted help text

2011-07-10 Thread Terry Brown
On Sun, 10 Jul 2011 15:13:46 -0700 (PDT) SegundoBob bhoss...@ieee.org wrote: No matter which plugin I select under the Plugins menu, I see the following errors in the Default cascading style sheet for the HTML output of Docutils. following plugin X's help text with all its formatting

active_path plugin assistance

2011-06-23 Thread aeromorrison
I've attempted to set up the active_path plugin to work with some personal information management files on my computer. I am able to successfully view the directories and files, however, I'm struggling to get the active_path_ignore functionality to work. Could someone post a simple example of how

Re: active_path plugin assistance

2011-06-23 Thread Terry Brown
On Thu, 23 Jun 2011 09:59:15 -0700 (PDT) aeromorrison adam.morri...@sportplanedesign.com wrote: I've attempted to set up the active_path plugin to work with some personal information management files on my computer. I am able to successfully view the directories and files, however, I'm

Re: active_path plugin assistance

2011-06-23 Thread Terry Brown
On Thu, 23 Jun 2011 14:54:54 -0700 (PDT) aeromorrison adam.morri...@sportplanedesign.com wrote: OK, I'm making progress now. I still need to understand a little better about what is going on with purge, vanished, load, unloaded, and act on node. Is there a way to view/load a file, then make

Re: Plugin mod_http ?

2011-05-22 Thread Edward K. Ream
On May 22, 6:31 pm, Edward K. Ream edream...@gmail.com wrote: As of rev 4112, the mod_http plugin works with Python 3.x.  Some more work is needed with Python 2.x. Done in the trunk at rev 4113. All unit tests pass. Please report any problems with this plugin immediately. Thanks. Edward

Re: Plugin mod_http ?

2011-05-22 Thread Viktor Ransmayr
Hello Edward On 23 Mai, 01:48, Edward K. Ream edream...@gmail.com wrote: On May 22, 6:31 pm, Edward K. Ream edream...@gmail.com wrote: As of rev 4112, the mod_http plugin works with Python 3.x.  Some more work is needed with Python 2.x. Done in the trunk at rev 4113.  All unit tests pass

Re: image plugin stopped working

2011-05-18 Thread Edward K. Ream
On Sun, Mar 27, 2011 at 11:29 AM, Ivanov Dmitriy usr...@gmail.com wrote: Have you tried the rendering pane?  alt-x show-rendering-pane? Doesn't work. When I type this and click Enter - text doesn't disappear in minibuffer and nothing happens. It works for me, provided the viewrendered and

Re: Plugin mod_http ?

2011-05-16 Thread Edward K. Ream
On Mon, Apr 4, 2011 at 4:17 AM, VR viktor.ransm...@gmail.com wrote: Is anyone successfully using mod_http ? I haven't forgotten this thread. At one time mod_http worked for me. I'll fix this asap. Edward -- You received this message because you are subscribed to the Google Groups leo-editor

Re: [ANN] new plugin: jinjarender

2011-04-16 Thread Edward K. Ream
On Sat, Apr 9, 2011 at 8:24 AM, Ville M. Vainio vivai...@gmail.com wrote: This is a trivial plugin that demos how to plug in a templating engine. Jinja2 is Django like engine. The keeping up with Ville project never seems to end, and I am grateful for that :-) I'll be studying Jinja2 soon

[ANN] new plugin: jinjarender

2011-04-09 Thread Ville M. Vainio
This is a trivial plugin that demos how to plug in a templating engine. Jinja2 is Django like engine. Docstring ''' Render @jinja nodes. - sudo apt-get install python-jinja2 Create headline like this: @jinja ~/foo.txt Select the node and do alt-x act-on-node Conceptually, acts like

Re: Plugin mod_http ?

2011-04-05 Thread VR
On 5 Apr., 01:03, Terry Brown terry_n_br...@yahoo.com wrote: On Mon, 4 Apr 2011 15:04:42 -0700 (PDT) lewis lewisn...@operamail.com wrote: ImportError: No module named SimpleHTTPServer That's a python 2/3 issue, (I noticed you're running 3.2) but I suspect mod_http doesn't work in 2.x

Re: Plugin mod_http ?

2011-04-05 Thread Terry Brown
with the plugin enabled. You will see a purple message that says something like:: http serving enabled on port 8080, version 0.91 (from the docstring)? Glancing at it it seems kind of heavy code, having written 3-4 SimpleHTTPServer based things myself, one of those might be easier to rewrite than

Re: Plugin mod_http ?

2011-04-05 Thread VR
even before revision 3949. Does it show this message:   1. Start Leo with the plugin enabled. You will see a purple message    that says something like::       http serving enabled on port 8080, version 0.91 Yes. - Here's the content from the Log-pane: log Leo Log Window Leo 4.8 final

Re: Plugin mod_http ?

2011-04-05 Thread VR
even before revision 3949. Does it show this message:   1. Start Leo with the plugin enabled. You will see a purple message    that says something like::       http serving enabled on port 8080, version 0.91 Yes. - Here is the content from the log pane: log Leo Log Window Leo 4.8 final

Re: Plugin mod_http ?

2011-04-05 Thread VR
I have instrumented the plugin code with 'g.es()' statements. - Here's the output from the log pane: log Leo Log Window Leo 4.8 final, build 3752, November 26, 2010 Python 2.7.1, qt version 4.7.1 Windows 6, 1, 7601, 2, Service Pack 1 leoID=VR20100603 (in D:\Users\Viktor Ransmayr\.leo) load dir

Re: Plugin mod_http ?

2011-04-05 Thread Terry Brown
On Tue, 5 Apr 2011 12:29:36 -0700 (PDT) VR viktor.ransm...@gmail.com wrote: Nothing else happens, although I explicitely started the URL 'http://localhost:8080/' in the browser ... Any ideas or proposals ? I haven't had a chance to look in detail but glancing this morning it looked like

Plugin mod_http ?

2011-04-04 Thread VR
Is anyone successfully using mod_http ? With kind regards, VR -- 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

Re: Plugin mod_http ?

2011-04-04 Thread lewis
I enabled mod_http to check and received an error importing plugin message. Here is my log: Leo Log Window Leo 4.8 final, build 3752, November 26, 2010 Python 3.2.0, qt version 4.7.1 Windows 6, 0, 6002, 2, Service Pack 2 error importing plugin: leo.plugins.mod_http Traceback (most recent call last

Re: Plugin mod_http ?

2011-04-04 Thread Edward K. Ream
On Mon, Apr 4, 2011 at 6:16 AM, lewis lewisn...@operamail.com wrote: I enabled mod_http to check and received an error importing plugin message. Here is my log: Rev 3949 fixes this specif crash. I simply commented out the unused 'import exceptions' statement. Let me know if there are other

Re: Plugin mod_http ?

2011-04-04 Thread lewis
Running build 3949, here is the log: Leo 4.8 final, build 3752, November 26, 2010 Python 3.2.0, qt version 4.7.1 Windows 6, 0, 6002, 2, Service Pack 2 error importing plugin: leo.plugins.mod_http Traceback (most recent call last): File C:\Python32\Lib\site-packages\leo-editor\leo\core

Re: Plugin mod_http ?

2011-04-04 Thread Terry Brown
On Mon, 4 Apr 2011 15:04:42 -0700 (PDT) lewis lewisn...@operamail.com wrote: ImportError: No module named SimpleHTTPServer That's a python 2/3 issue, (I noticed you're running 3.2) but I suspect mod_http doesn't work in 2.x either. I can't remember exactly what it was supposed to do. Cheers

Re: image plugin stopped working

2011-03-27 Thread Ivanov Dmitriy
Edward, this is ridiculous. I got the latest revision and still there are no images. How did you break the plugin? -- 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

Re: image plugin stopped working

2011-03-27 Thread Edward K. Ream
On Sun, Mar 27, 2011 at 5:54 AM, Ivanov Dmitriy usr...@gmail.com wrote: Edward, this is ridiculous. I got the latest revision and still there are no images. How did you break the plugin? Probably on purpose :-) Have you tried the rendering pane? alt-x show-rendering-pane? With the rendering

Re: image plugin stopped working

2011-03-27 Thread Edward K. Ream
On Mar 27, 6:52 am, Edward K. Ream edream...@gmail.com wrote: On Sun, Mar 27, 2011 at 5:54 AM, Ivanov Dmitriy usr...@gmail.com wrote: Edward, this is ridiculous. I got the latest revision and still there are no images. How did you break the plugin? Probably on purpose :-)  Have you tried

Re: image plugin stopped working

2011-03-27 Thread Ivanov Dmitriy
Have you tried the rendering pane?  alt-x show-rendering-pane? Doesn't work. When I type this and click Enter - text doesn't disappear in minibuffer and nothing happens. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send

Re: image plugin stopped working

2011-03-24 Thread Ivanov Dmitriy
Edward, SOS: http://www.live-wtr.ru/leo/good.png http://www.live-wtr.ru/leo/bad.png Look at the versions. I took the old image plugin, but it still doesn't work. So it's something inside leo core. -- You received this message because you are subscribed to the Google Groups leo-editor group

image plugin stopped working

2011-03-22 Thread Ivanov Dmitriy
I updated leo to Leo 4.8 final, build 3752, November 26, 2010 and the @image node, that worked with the previous version now stopped working. Also Edward, please, change in @file image.py init return ok to return True as it gives the warning in log panel. -- You received this message

scrolledmessage plugin now optionally uses viewrendered plugin

2011-03-19 Thread Edward K. Ream
As of rev 3873, the scrolledmessage plugin will put its message in the rendering pane if it exists. To go back to the old way, set:: @bool scrolledmessage_use_viewrendered = False There are pluses an minuses to this approach: Plus: It uses an already-existing screen area, so

Improve the plugins menu instead of the plugins_manager plugin?

2011-03-05 Thread Edward K. Ream
I spent an hour or so yesterday looking at the old plugins_manager plugin. There is some interesting code there, but perhaps not interesting enough to port it to qt. This morning it occurs to me that extending the plugins_menu plugin might be a good alternative. The plugins menu could have

Re: Improve the plugins menu instead of the plugins_manager plugin?

2011-03-05 Thread Ville M. Vainio
On Sat, Mar 5, 2011 at 3:35 PM, Edward K. Ream edream...@gmail.com wrote: On a related topic, there is an old to-do item that suggests making the plugins code in Leo's core more flexible.  I suspect that improving such code is more important than trying to resurrect the plugins_manager plugin

Re: ANN: major update to graphcanvas plugin

2011-02-28 Thread Edward K. Ream
On Mon, Feb 14, 2011 at 12:44 AM, Bogomil Manoilov bogo...@gbg.bg wrote: GraphCanvas now use pydot - another python binding to Graphviz as alternative (I can not manage to install pygraphcanvas/python27 on Windows). Many thanks for this work. Edward -- You received this message because you

Re: New plugin: systray

2011-02-21 Thread Edward K. Ream
On Sat, Feb 19, 2011 at 2:56 PM, Ville M. Vainio vivai...@gmail.com wrote: I pushed a new plugin, systray. Thanks for this. Right now, the functionality is minimal - it shows the leo icon on systray (tested on ubuntu), rclick on icon shows popup menu with one command, Note - this does

New plugin: systray

2011-02-19 Thread Ville M. Vainio
I pushed a new plugin, systray. Right now, the functionality is minimal - it shows the leo icon on systray (tested on ubuntu), rclick on icon shows popup menu with one command, Note - this does stickynote on the first commander, which requires stickynotes plugin to be loaded to be of any use. I

Re: Terry, what's the status of the free_layout plugin?

2011-01-27 Thread Edward K. Ream
On Wed, Jan 26, 2011 at 9:25 AM, Terry Brown terry_n_br...@yahoo.com wrote: On Wed, 26 Jan 2011 06:05:11 -0600 Edward K. Ream edream...@gmail.com wrote: c:\leo.repo\free_layoutc:\python26\python.exe launchLeo.py --gui=qt leo\test\test.leo --no-cache Whoops - hadn't thought of it being used

Re: Terry, what's the status of the free_layout plugin?

2011-01-27 Thread Terry Brown
On Thu, 27 Jan 2011 08:52:49 -0600 Edward K. Ream edream...@gmail.com wrote: Whoops - hadn't thought of it being used in any mode other than qttabs - it probably doesn't find ui components correctly in other modes.  That can be fixed, but for testing try qttabs. I get the same (or

Re: Terry, what's the status of the free_layout plugin?

2011-01-26 Thread Edward K. Ream
On Tue, Jan 25, 2011 at 3:33 PM, Terry Brown terry_n_br...@yahoo.com wrote: On Tue, 25 Jan 2011 14:59:26 -0600 Anyway, on a different machine, Windows XP no less, bzr+ssh://bazaar.launchpad.net/~terry-n-brown/leo-editor/free_layout/ I did a complete reinstall using bzr branch

Re: Terry, what's the status of the free_layout plugin?

2011-01-25 Thread Edward K. Ream
On Tue, Jan 25, 2011 at 11:41 AM, Terry Brown terry_n_br...@yahoo.com wrote: On Tue, 25 Jan 2011 07:55:12 -0800 (PST) Edward K. Ream edream...@gmail.com wrote: I'm having trouble loading the free_layout plugin.  There are problems importing nested_splitter.py. Sorry, same problems, with both

Re: ANN: major update to graphcanvas plugin

2011-01-24 Thread Ville M. Vainio
Looks great, can't wait to try it out. On Mon, Jan 24, 2011 at 6:20 AM, Terry Brown terry_n_br...@yahoo.com wrote: Bogomil, who has perhaps not posted on the list, not even sure if he's on it, sent me a bunch of enhancements for the graphcanvas plugin. - multiple node shapes - foreground

Re: ANN: major update to graphcanvas plugin

2011-01-24 Thread Edward K. Ream
On Sun, Jan 23, 2011 at 10:20 PM, Terry Brown terry_n_br...@yahoo.com wrote: Bogomil, ...sent me a bunch of enhancements for the graphcanvas plugin. Inspired by this I also added ctrl-mousewheel zooming and dot/neato layout if pygraphvis is installed. Many thanks to you both for this work

Re: ANN: major update to graphcanvas plugin

2011-01-24 Thread Edward K. Ream
On Mon, Jan 24, 2011 at 9:10 AM, Terry Brown 1. I don't see the icons for the top row of buttons in the graph tab. Did you forget to add them to the repository? No, words seemed more effective for those operations.  Wait - do you mean the top row, or the bottom row?  One row should be

Re: ANN: major update to graphcanvas plugin

2011-01-24 Thread Terry Brown
On Mon, 24 Jan 2011 09:29:18 -0600 Edward K. Ream edream...@gmail.com wrote: For me the top row of buttons are blank, the bottom have words. Ok - thanks, I think I've fixed this now (r3817), it was the paths in the qt-designer .ui file, I'd tried using a resource file, but had trouble with

Re: ANN: major update to graphcanvas plugin

2011-01-24 Thread Edward K. Ream
On Mon, Jan 24, 2011 at 9:51 AM, Terry Brown terry_n_br...@yahoo.com wrote: On Mon, 24 Jan 2011 09:29:18 -0600 Edward K. Ream edream...@gmail.com wrote: For me the top row of buttons are blank, the bottom have words. Ok - thanks, I think I've fixed this now (r3817), it was the paths in the

Re: Suggestions for rst3 plugin

2011-01-11 Thread Edward K. Ream
just use @rst x.html ? The rst3 command will then generate the html file automatically. Because this is just for a temporal export I put the proper name on the header. This happens because rst3 plugin only operates on nodes that has @rst path as header and I was wondering how to change

Suggestions for rst3 plugin

2010-12-27 Thread Offray Vladimir Luna Cárdenas
plugin only operates on nodes that has @rst path as header and I was wondering how to change the behavior so it can operate on nodes that have @language rest and @pathToFile in the body of the node. I was looking at rst3.py plugin but I still have a poor understanding of Leo. p.b seems the place

Re: Leo ToDo plugin documentation missing

2010-12-15 Thread Ivanov Dmitriy
can't think why this location would not be robust I thought, that you uploaded the docs, but they removed them. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo-edi...@googlegroups.com. To unsubscribe from

Re: Leo ToDo plugin documentation missing

2010-12-15 Thread Edward K. Ream
On Tue, Dec 14, 2010 at 9:57 PM, Terry Brown terry_n_br...@yahoo.com wrote: So I found the docs. (phew).  Can't work out how to upload to the wiki any more - do I need to be a manager?  Edward, is this possible or can I send the files to you to upload? Leo's wiki is separate from

Leo ToDo plugin documentation missing

2010-12-14 Thread Ivanov Dmitriy
On http://webpages.charter.net/edreamleo/plugins.html#todo-py there are 2 links: http://leo.zwiki.org/ToDo http://leo.zwiki.org/tododoc.html Then all lead to a missing page. Can someone, having the docs, put them into a robust location? -- You received this message because you are subscribed

Re: Leo ToDo plugin documentation missing

2010-12-14 Thread Terry Brown
On Tue, 14 Dec 2010 14:01:01 -0800 (PST) Ivanov Dmitriy usr...@gmail.com wrote: On http://webpages.charter.net/edreamleo/plugins.html#todo-py there are 2 links: http://leo.zwiki.org/ToDo http://leo.zwiki.org/tododoc.html Then all lead to a missing page. Can someone, having the docs, put

Re: ANN: tabula command added to stickynotes plugin

2010-11-19 Thread Offray Vladimir Luna Cárdenas
tabula (for now). You need to enable stickynotes.py plugin. Many thanks for this work, Ville. I think it's an important extension to Leo. I'm using Leo 4.7.1 on Linux and have opened myLeoSetting.leo - @enabled-plugins where I enabled bookmarks.py but there is not anyplace where I can find

Re: ANN: tabula command added to stickynotes plugin

2010-11-19 Thread Ville M. Vainio
On Fri, Nov 19, 2010 at 5:19 PM, Offray Vladimir Luna Cárdenas offray.l...@javeriana.edu.co wrote: I'm using Leo 4.7.1 on Linux and have opened myLeoSetting.leo - @enabled-plugins where I enabled bookmarks.py but there is not anyplace where I can find stickynotes.py Is this plugin available

Re: ANN: tabula command added to stickynotes plugin

2010-11-19 Thread Terry Brown
On Fri, 19 Nov 2010 11:19:51 -0500 Offray Vladimir Luna Cárdenas offray.l...@javeriana.edu.co wrote: Could plugins be downloaded and installed without bazaar knowledge? You can get the current snapshot as a .zip from http://www.greygreen.org/leo/ Cheers -Terry -- You received this message

Re: ANN: tabula command added to stickynotes plugin

2010-11-19 Thread Offray Vladimir Luna Cárdenas
can find stickynotes.py Is this plugin available for this version of Leo?, ¿Could plugins be downloaded and installed without bazaar knowledge? (I will learn it but if is needed, but I'm thinking in a non programmer/Techie user of Leo). Please use the 4.8 beta. You can download the debian package

Re: Terry, can we eliminate the textnode plugin?

2010-11-16 Thread Edward K. Ream
On Mon, Nov 15, 2010 at 2:03 PM, Edward K. Ream Ok.  I'll remove it for 4.8 final. I'm not going to actually remove the plugin: the expfolder.py plugin uses it. However, I moved it to the experimental folder and deleted it's documentation from the Users Guide. Edward -- You received

Re: Can we eliminate the bookmarks plugin?

2010-11-15 Thread Terry Brown
On Fri, 12 Nov 2010 15:23:24 -0800 (PST) Edward K. Ream edream...@gmail.com wrote: It looks like the newly-improved handling of @url makes the bookmarks plugin unnecessary. I suppose it should remain for those who use it, but would anyone object if I hide it by not documenting it? I use

<    4   5   6   7   8   9   10   11   12   13   >