Re: r5148 can overwrite files on disk

2012-03-17 Thread zpcspm
On Saturday, March 17, 2012 2:26:55 PM UTC+2, Edward K. Ream wrote: On Fri, Mar 16, 2012 at 7:51 PM, zpcspm wrote: I replaced @thin code.py with @shadow code.py. Oh my. You are asking for loads of trouble do this. My confusion about deleted content in code.py comes from the assumption

r5148 can overwrite files on disk

2012-03-16 Thread zpcspm
I have just bumped into an unusual situation and I want to share it to get some feedback. I've opened an old pet project of mine (last commit was 2011-06-20 so it's been a while). It consists of a leo outline (let's call it outline.leo for convenience) + a src/ directory which contains a

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: I'm in bzr pain

2012-03-03 Thread zpcspm
On Saturday, March 3, 2012 12:49:25 PM UTC+2, Edward K. Ream wrote: On Fri, Mar 2, 2012 at 11:01 PM, tfer wrote: Dang, I'd bound leo to trunk, I see that the head is now trunk3, no wonder I wasn't able to pull latest. Glad there was a simple fix. I think the safe way is to use

Re: I'm in bzr pain

2012-03-02 Thread zpcspm
On Friday, March 2, 2012 8:05:53 AM UTC+2, tfer wrote: Anyone else having problems with Launchpad? IIRC there was a thread about this some time ago, but it was related only to memory problems when running bzr in Windows. Just did a test branch from launchpad: $ time bzr branch

Re: Recommended video

2012-02-21 Thread zpcspm
On Feb 21, 2:31 pm, Edward K. Ream edream...@gmail.com wrote: Adding Richard Stallman to the list of crusaders could be called truth in advertising, I'll give him that. RMS is rather a prophet to me. Ironically, I failed to watch the video because my OS is flash free and Firefox doesn't seem

Re: Aha: simple refactoring commands

2012-01-31 Thread zpcspm
On Jan 30, 9:16 pm, Edward K. Ream edream...@gmail.com wrote: Renaming ivars, methods or classes is one of the most important kinds of refactorings. I just realized that a relatively simple change will turn Leo's find/ change commands into a rename command.  The differences are: 1. Might

Re: Making the docs more open to community contributions

2012-01-05 Thread zpcspm
On Jan 5, 8:25 pm, Terry Brown terry_n_br...@yahoo.com wrote: The barrier to contributing to the docs. is knowing how to use bzr to push to the trunk And also having a minimum amount of knowledge about rst -- You received this message because you are subscribed to the Google Groups

Re: clone outline window

2011-11-29 Thread zpcspm
This is a valid request. A couple of years ago I had to deal with a big outline where massive node management (copying/moving/cloning) operations were required. I ultimately did everything manually, but it required a huge amount of scrolling back and forth through the outline pane. I didn't post

Re: terminal window

2011-11-22 Thread zpcspm
I'm not absolutely sure, but I think pida - the python IDE - used to have a terminal window. Maybe builtin, maybe a plugin. However, it's python code so you may try looking there. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this

Re: Anyone know of advantages or disadvantages of new-style classes?

2011-11-21 Thread zpcspm
I know for a fact that method resolution order for new style classes is different (but not well enough to be able to explain it, I just try to avoid mixing old style classes with new style ones for this reason). Without knowing any details about the appeared problems that you mention, I wonder if

Re: New html import code on the trunk

2011-11-12 Thread zpcspm
On Nov 11, 11:49 pm, Edward K. Ream edream...@gmail.com wrote: The code at rev 4776 imports the infamous data.html file correctly. All unit tests pass, but there is the potential for unintended consequences. As always, please report any problems immediately. I have noticed a problem:

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

Re: OT: pycallgraph

2011-10-28 Thread zpcspm
On Oct 27, 10:36 pm, Edward K. Ream edream...@gmail.com wrote: Yes.  pycallgraph is cool. Back ago I've got stuck with a scenario in which I threw a huge class to pycallgraph and it choke when trying to chew it out: there were so many method boxes on the resulting image that the text in them was

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 for

Re: leo (g)vim

2011-07-04 Thread zpcspm
On Jul 4, 8:17 am, Gour-Gadadhara Dasa g...@atmarama.net wrote: Hello, I wonder what's wrong with my installation (rev #4413) that I get option to edit nodes with vim and not gvim? Is this the default behavior? I've had success to change the external editor to gvim/scite by setting an

Re: Heads up: leoSettings.leo reorganized. 9 settings removed

2011-06-12 Thread zpcspm
Perhaps leo could also have a command to validate myLeoSettings.leo and complain if it finds some obsolete settings that got removed from leo, but are still present in myLeoSettings. A special case would be to validate enabled-plugins node too, which can sometimes contain legacy lines, like it

Re: Regarding bug #323967

2011-06-03 Thread zpcspm
On Jun 3, 2:44 pm, Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 2, 2011 at 1:44 PM, zpcspm zpc...@gmail.com wrote: @color body_text_background_color = #00 @color body_text_foreground_color = #ff Leo starts with black background in body pane, switches to pink as soon

Re: Regarding bug #323967

2011-06-02 Thread zpcspm
Also, I still don't know how to change the style of the splitter (it stays blue while I want it dark). Changing this item in the @data qt-gui-plugin-style-sheet node works for me:: QSplitter::handle { background-color: #CAE1FF; /* lightSteelBlue1 */ } This worked.

Re: Regarding bug #323967

2011-06-02 Thread zpcspm
On Jun 2, 9:39 am, zpcspm zpc...@gmail.com wrote: This is next to be investigated deeper in my TODO. 1. set @color body_text_background_color = #00 @color body_text_foreground_color = #ff in myLeoSettings.leo and restart. Leo starts with black background in body pane, switches

Leo's home page confused me :-)

2011-05-31 Thread zpcspm
I'm about to look for something in Leo's docs, so I went to http://webpages.charter.net/edreamleo/front.html I didn't visit that site long enough to forget how it looks. I still remember the old, pre-sphinx generated site (because I used to go there more often). Nowadays I'm mostly using a

Re: Regarding bug #323967

2011-05-31 Thread zpcspm
On May 22, 8:21 pm, Edward K. Ream edream...@gmail.com wrote: On Sun, May 22, 2011 at 9:28 AM, zpcspm zpc...@gmail.com wrote: So is there another bug regarding custom colors in themes that I could watch or does it need to be created? There is no bug. The colors are created by settings

Re: Leo now uses a splash screen: non-copyrighted image needed

2011-05-26 Thread zpcspm
On May 26, 5:41 pm, Edward K. Ream edream...@gmail.com wrote: As of rev 4148, Leo will put up a splash screen while loaded. I like this a lot, but you can disable the feature by removing leo/ Icons/SplashScreen.jpg. I would like to point that this isn't the best approach (even if it seems to

Multiple tracebacks when activating menu items

2011-05-26 Thread zpcspm
leo r4153 Slackware Linux 13.37 32bit Python 2.6.6 qt-4.7.0 PyQt-4.8.1 exception updating Outline menu Traceback (most recent call last): File /tmp/leo/leo/core/leoMenu.py, line 153, in updateOutlineMenu enable(menu,Cut Node,c.canCutOutline()) File /tmp/leo/leo/plugins/qtGui.py, line

Regarding bug #323967

2011-05-22 Thread zpcspm
Edward, I confirm that the recipe you suggest there works. I can manipulate these @color settings to get non-default colors for the minibuffer. I also agree that a comment in qt-gui-plugin-style-sheet setting node is good to have. However, the very first message in bug report links to

Re: The highlights of my workflow

2011-05-19 Thread zpcspm
Looks good. Do you also have any bzr specific gotchas that you plan to add to this section? -- 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

Re: Completer look tweaked

2011-05-18 Thread zpcspm
On May 17, 7:53 pm, Gour-Gadadhara Dasa g...@atmarama.net wrote: On Tue, 17 May 2011 07:54:44 -0700 (PDT) Edward K. Ream edream...@gmail.com wrote: Thanks for this detailed report. I'll fix it immediately. You're welcome. Do you prefer that (next time) new ticket is opened at LP or

How to tell leo it should not put its icon into systray?

2011-05-16 Thread zpcspm
Topic title says it all. I've recently started to learn xmonad and apps that put icons into systray when I start them are interfering with my newbie workflow. I am always using the current trunk on Linux, I don't remember all details, just that one day leo started to display an icon in the

Re: How to tell leo it should not put its icon into systray?

2011-05-16 Thread zpcspm
On May 16, 5:20 pm, Ville M. Vainio vivai...@gmail.com wrote: Disable systray.py plugin Thank you. I've added it myself but I forgot I did that, I even forgot it's a plugin, not a part of qtGui that can be toggled using a setting. git annotate myLeoSettings.leo shows it was me. -- You received

Re: Font size in Leo

2011-04-17 Thread zpcspm
On Apr 18, 6:21 am, Terry Brown terry_n_br...@yahoo.com wrote:   @data qt-gui-plugin-style-sheet This is correct for the qt GUI, which is the default one. If you happen to use the old tk GUI, there were other settings for font name and size. -- You received this message because you are

Re: Managing 'to do' lists in Leo / @language colorizer for 'to do' lists

2011-04-16 Thread zpcspm
leo has a TODO plugin named todo.py, do you know about it? IIRC it's not enabled by default, but enabling it is a matter of having an uncommented todo.py line in @enabled-plugins inside your myLeoSettings.leo file. todo.py is a port of cleo.py, todo.py is for the qt GUI, cleo is for the older tk

Re: Revision 3862 crashes for me on startup

2011-02-28 Thread zpcspm
I believe this is due to qt-4.5, because I recall a similar error in another context: https://groups.google.com/group/leo-editor/browse_thread/thread/a391902cd38e2d42/8955d1e7942e76d8 -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this

Re: Globally available functions

2011-02-23 Thread zpcspm
On Feb 23, 11:19 pm, Court-Jus ghislain.leve...@gmail.com wrote: My relationship with leo is currently changing from friendly to intimate, I use it everyday at work for many purposes (mainly todo lists and activity reports). I've created some buttons to help me but I've duplicated many

Re: Please run Python 3k unit tests before commits

2011-02-22 Thread zpcspm
On Feb 22, 4:36 pm, Edward K. Ream edream...@gmail.com wrote: On Wed, Feb 2, 2011 at 9:44 PM, zpcspm zpc...@gmail.com wrote: Did you consider to have a distinct chapter for developers (even if it would be in Leo’s Users Guide, not in Leo’s Developers Guide)? Good idea.  Would you like

Re: Continued Tk support

2011-02-12 Thread zpcspm
On Feb 11, 9:26 pm, Ethan Furman et...@stoneleaf.us wrote: Whew! At long last, the three patches I created have been committed to trunk. Unfortunately, Trunk won't run on my (Tk-based) machine (even before I put my patches in). I seem to recall a post somewhere questioning further Tk

Re: Please run Python 3k unit tests before commits

2011-02-02 Thread zpcspm
On Feb 2, 6:30 pm, Edward K. Ream edream...@gmail.com wrote: A common mistake for new committers is to forget to make the code compatible with Python 3k. The first step before any commit is to run all the unit tests in unitTest.leo with Python 3k. This will catch all Py3k syntax errors at

Re: quicksearch is not working as expected

2010-12-10 Thread zpcspm
On Dec 10, 5:36 pm, Raj dsraj...@gmail.com wrote: Is it recommended to stay with Py 2.x series then? Yes. And this is not leo-specific. It is common sense for most python related software. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post

Re: Running python script with Leo node.

2010-11-23 Thread zpcspm
On Nov 23, 9:57 pm, smcho csmgr...@gmail.com wrote: I learned that I can write down python code in a Leo node, and use command-b to run the script. It seems to work well, but when I tried to print something, I had to use g.es() not print().  * Why is this? Some of the python functions are

Re: How to run bash script within Leo node?

2010-11-23 Thread zpcspm
On Nov 23, 10:00 pm, smcho csmgr...@gmail.com wrote: I have @file runme.sh node to generate a bash script to do some actions. Normally, I open console to run the runme.sh, but can I run runme.sh inside Leo? you could write some python code that uses the subprocess module (the modern

Re: Is something basic missing from Leo?

2010-11-20 Thread zpcspm
If you are eager to try this collaborative workflow without leo, feel free to have a look at Gooby (http://gobby.0x539.de/trac/) -- 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

Re: Leo looks ugly and inconsistent with a dark Qt theme

2010-11-14 Thread zpcspm
On Nov 13, 9:51 pm, zpcspm zpc...@gmail.com wrote: Some parts of the colorized body text are not visible as well, looks like a clash between my custom black background and the color used for certain patterns by leo. A partial workaround is to use @nocolor in node bodies. Thus my dark- themed

Re: New plugins chapter is ready: please review

2010-11-13 Thread zpcspm
Here are a couple of ideas. active_path.py Synchronizes @path nodes with folders. at_folder.py Synchronizes @folder nodes with folders. I have doubts this is clear for a newbie. Plugin docstrings shouldn't be too big, but I think they should provide a bit more context. Often people are

Re: Leo looks ugly and inconsistent with a dark Qt theme

2010-11-13 Thread zpcspm
I did some tweaking to the qt CSS, here is my current progress: http://i.imgur.com/9RBGO.png Besides the mentioned problem with the minibuffer background, there are some more. I couldn't find anything related to the script buttons in the style sheet. If by any chance mod_scripting initializes

Leo looks ugly and inconsistent with a dark Qt theme

2010-11-12 Thread zpcspm
First, I will provide a bit of context. I'm currently experimenting with creating an eye-candy dark-themed desktop. I'm using Linux, but I'm not using GNOME or KDE. Currently, my setup consists of: - a dark fluxbox theme (fluxbox is my window manager of choice) - a dark gtk2+ theme - a dark

Re: Leo looks ugly and inconsistent with a dark Qt theme

2010-11-12 Thread zpcspm
I might try to play a bit with colors in qt-gui-plugin-style-sheet setting in the near future to see if there is some potential for improvements there in the context of my scenario. Is it possible to reload the modified content of myLeoSettings and have leo automatically apply the updated

Re: fcol bug?

2010-11-06 Thread zpcspm
On Nov 5, 5:05 pm, tfer tfethers...@aol.com wrote: Now I may have an imperfect grasp of fcol as displayed in the lower left hand corner, but isn't it intended to show what column the current body text cursor would be at in the externally generated file? This is correct. I was the one who made

Re: Not Literate Editor with Outlines, so what is Leo?

2010-11-06 Thread zpcspm
Why not keeping the package description in sync with what is displayed on leo's homepage? An outline-oriented browser and project manager looks good to me. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to

Re: @auto parsing error on dedented triple quote string

2010-11-01 Thread zpcspm
On Nov 1, 4:48 pm, Kent Tenney kten...@gmail.com wrote: BTW, I had to [home/.leo/db] $ rm -rf * to see the change. I think it is a good idea to do this every time when pulling from trunk. Having a little shell wrapper that syncs the local branch and does the cleanup instead of issuing bzr

New output in console window

2010-10-29 Thread zpcspm
I always launch leo from console and sometimes look there (not always). Today I noticed some strange output that I didn't see before: --- skipping tag select2: c does not exists or does not have a frame. skipping tag select3: c does not exists or does not have a frame. skipping tag select3: c

Re: New output in console window

2010-10-29 Thread zpcspm
On Oct 29, 6:21 pm, Terry Brown terry_n_br...@yahoo.com wrote: zpcspm zpc...@gmail.com wrote: skipping tag select3: c does not exists or does not have a frame. I think this happens when callbacks are made for a plugin that tries to operate on an outline which has been closed.  I would guess

Re: Any patches re bug 613153: unable to describe root directory on thumb drive?

2010-10-25 Thread zpcspm
Wouldn't it be technically correct to use os.sep instead of hardcoded slash/double backslash constants? -- 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 this

Re: split lower screen possible?

2010-10-22 Thread zpcspm
On Oct 22, 7:56 am, Graham Chiu compkar...@gmail.com wrote: vertical split lower screen? Do you happen to mean the body panel by lower screen? If so, do you aim for such a setup (see the screenshot below)? http://i.imgur.com/3oKQG.png If that's what you need, you could simply use the

Re: myLeoSettings

2010-10-22 Thread zpcspm
On Oct 22, 11:51 pm, Graham Chiu compkar...@gmail.com wrote: Hi Is there a minimalist myLeoSettings.leo file anywhere that I can download? You can build your own one easily. Here is my workflow: - open an empty outline - create a @settings node - paste the @enabled-plugins node from

Re: split lower screen possible?

2010-10-22 Thread zpcspm
On Oct 23, 12:58 am, Graham Chiu compkar...@gmail.com wrote: Cool .. yes that's it! Great. I'm pretty sure I complained a long time ago about not having a setting for controlling the splitting direction (horizontal on vertical) when doing `add-editor`. Splitting the body pane vertically looks

Re: leo ftp

2010-10-17 Thread zpcspm
On Oct 17, 11:51 pm, Ivanov Dmitriy usr...@gmail.com wrote: There is one enhancement, that I don't know how to do myself: I don't what to upload the files, that weren't changed since the last upload, so I need some kind of DB table, that will have this structure: | local file name | server

Is persistence of expanded nodes really so important?

2010-10-09 Thread zpcspm
I'm failing to understand why. Here is my story. I have a small project in version control. I also keep the outline in version control. I think this is good, the outline serves as skeleton for the project, it evolves together with the project. I learned to ignore the diffs related to the header

Possible bug in @shadow logic

2010-10-09 Thread zpcspm
Here is the simplest workflow I could get to reproduce the problem. A .leo file and a source code file (python) in version control (fossil). The source code file is linked into the outline as @shadow file. I add a class with a method (named method1()) to the .py file. Save and commit. Let it be

Can leo auto-reload an outline that was changed externally?

2010-10-01 Thread zpcspm
Is this possible? Restarting leo manually every time looks highly inconvenient, I'd like an automated approach. I need this for a scenario where I have a leo outline and a couple of external files in version control and I need to switch between revisions (this will trigger changes in both the

Re: Can leo auto-reload an outline that was changed externally?

2010-10-01 Thread zpcspm
On Oct 1, 4:57 pm, Edward K. Ream edream...@gmail.com wrote: Leo's load-at-file-nodes will update all the @file, @auto, etc nodes in the selected outline.  Wouldn't that work? Edward What about the outline itself? Consider the following workflow: - I commit r1, the .leo file is in version

Re: can't open in external editor

2010-09-30 Thread zpcspm
On Oct 1, 3:02 am, Matt Wilkie map...@gmail.com wrote: Where is the external editor setting kept? LEO_EDITOR environment variable works for me (Linux). See guessExternalEditor() in leoGlobals.py -- You received this message because you are subscribed to the Google Groups leo-editor group. To

Re: installing leo on Ubuntu

2010-09-27 Thread zpcspm
I recall Ville posting on this list about his ubuntu ppa which contains leo. He will have to drop a comment here, since I'm not using ubuntu, and I never tried it. Here is the relevant thread: http://groups.google.com/group/leo-editor/browse_thread/thread/f72aa1583f7456d8/8cbc41f13b7c24c8 --

Re: Emacs org mode at floss weekly podcast

2010-09-25 Thread zpcspm
On Sep 25, 12:20 pm, Ville M. Vainio vivai...@gmail.com wrote: FLOSS weekly has an episode on emacs org mode (outliner mode similar to Leo): http://twit.tv/floss136 I have tried org mode in the past, but it never stuck like Leo did (partially because I try to keep my emacs use at minimum

Re: There is any way to enable multitab qt interface from myLeoSettings.leo ?

2010-09-24 Thread zpcspm
I'm not familiar with Kupfer and after a quick glance over its homepage I'm not sure I understand what exactly it does. Perhaps because my CLI experience biases me. If your goal is to avoid running an app with a command line argument, you can wrap the whole call into a shell script like this:

Re: Macroes in leo

2010-09-19 Thread zpcspm
If your LaTeX file is contained in a single leo node, you could set up emacs as external editor via LEO_EDITOR environment variable, launch emacs and do the macros thing. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send

Re: Enhancing leo_to_rtf.py

2010-09-14 Thread zpcspm
A possible workflow would be: - register at launchpad (if you are already registered, skip this step) - learn the basics of bzr - create your own branch of leo - hack hack hack - when you're ready, make sure your changes didn't break any leo unit tests (since you'll be modifying a plugin, chances

Traceback related to todo.py plugin

2010-09-11 Thread zpcspm
This is what I see in the log pane: hook failed: close-frame, bound method todoController.close of leo.plugins.todo.todoController instance at 0x94b6b8c, leo.plugins.todo Traceback (most recent call last): File /home/shadow/leo/leo-current/leo/core/leoPlugins.py, line 325, in callTagHandler

Re: A little Aha re unit testing

2010-09-08 Thread zpcspm
On Sep 8, 5:23 pm, Edward K. Ream edream...@gmail.com wrote: 2. (Important) It is much easier to generate comprehensive unit tests for small methods that do only one (simple) thing. Actually, this is the definition of an unit test - it tests a very small, atomic and independent piece of code

Re: Bug: not opening leo file when there are non-english characters in the path

2010-09-07 Thread zpcspm
A wide guess is that some path is not converted properly to unicode. I'm not using Windows, but I'm running Linux with a non-utf Russian locale (koi8-r) and I can trigger similar problems on purpose. My test directory is /tmp/тест If I run leo in that directory (I don't even open and outline,

Re: Bug: not opening leo file when there are non-english characters in the path

2010-09-07 Thread zpcspm
On Sep 7, 7:48 pm, Edward K. Ream edream...@gmail.com wrote: Thanks for this.  It may be helpful.  What version of Python are you using? I'm on Python 2.6 as the traceback shows (see the /usr/lib/python2.6 path). I could trigger the traceback using r3339 of trunk. -- You received this message

Re: Chapter 7 of docs seems to contain some wrong statements

2010-08-30 Thread zpcspm
I solved my variable highlight issue by using a workaround: I open the body in an external editor (gvim) and just use highlight there. Regarding the reported bug - I filled a bug report: https://bugs.launchpad.net/leo-editor/+bug/626835 -- You received this message because you are subscribed to

Re: Is it time to retire tk?

2010-08-30 Thread zpcspm
On Aug 30, 6:05 pm, Terry Brown terry_n_br...@yahoo.com wrote: I think the issue is, do you expect the functionality of Tk to stay at its present level or to decline over time? It is also possible that in the future somebody would need a new leo feature backported to tk for personal use. This

Chapter 7 of docs seems to contain some wrong statements

2010-08-28 Thread zpcspm
I was studying Chapter 7, particularly section Getting and setting body text directly looking for some documentation hints. The following mini-scripts don't seem to have any effects on my setup (linux, python 2.6, pyqt 4.7, current trunk of leo with qt GUI): w = c.frame.body.bodyCtrl

Re: Is it time to retire tk?

2010-08-28 Thread zpcspm
I would suggest to use the term deprecate instead of retire or remove. This is how I see it. If the next stable version will be the last one supporting tk - release it, then create a branch right after the official release and leave it unchanged. This way people in need could still use that

Re: Trivial leo script doesn't work

2010-08-23 Thread zpcspm
On Aug 23, 5:13 pm, Edward K. Ream edream...@gmail.com wrote: You need to copy positions if you save them in a list.  If you don't, they will move, eventually becoming 'None'. Could you please elaborate a bit on this? No need to go very deep, just the general principle, because I'm missing it.

Trivial leo script doesn't work

2010-08-22 Thread zpcspm
Copy the following snippet, save it as leo outline, open the file with leo --- cut here --- ?xml version=1.0 encoding=utf-8? ?xml-stylesheet ekr_test? leo_file leo_header file_format=2 tnodes=0 max_tnode_index=0 clone_windows=0/ globals body_outline_ratio=0.5 body_secondary_ratio=0.5

Re: Using Bazaar to run latest development version instead of latest stable version [was: Re: nav_qt not working]

2010-08-19 Thread zpcspm
On Aug 19, 10:08 am, taa, Leo Newbie starman...@gmail.com wrote: Even though Chapter 1 recommends installing a friendly GUI, the command line does seem simpler. But Bazaar Explorer is much cooler. :D Of course you are free to use the approach that suits you best. But when you are making the

Re: Using Bazaar to run latest development version instead of latest stable version [was: Re: nav_qt not working]

2010-08-18 Thread zpcspm
After installing bzr, can you access the command line version of it? That's really all you need to get the sources and periodically sync them. I have a strong feeling that you went the wrong way by trying to use a GUI frontend (this is totally IMHO, because you are following the leo docs). If you

Re: Leo 4.7.1 Windows installation problem: PyQt not installed, reverting to Tk UI

2010-08-13 Thread zpcspm
On Aug 12, 11:59 pm, Steve Allen qt02...@gmail.com wrote: it defaulted to Tk unless I used the --gui=qt flag AFAIK, leo from current bzr trunk tries to use the Qt GUI by default. -- You received this message because you are subscribed to the Google Groups leo-editor group. To post to this

Re: Leo 4.7.1 Windows installation problem: PyQt not installed, reverting to Tk UI

2010-08-13 Thread zpcspm
On Aug 13, 1:20 pm, Norbert norbert.klam...@googlemail.com wrote: The same problem occurs with Python 2.7 too. I think it is wrong to make the statement to look in a way that could be treated as it's a python problem or it's a pyqt problem, this is misleading. I think it would be fair to say

Re: First Leo screencast at youtube

2010-08-08 Thread zpcspm
On Aug 8, 8:17 pm, Ville M. Vainio vivai...@gmail.com wrote: Unfortunately youtube lowers the quality quite a bit (at least with my settings). The negative impact is minimal, opening the external file in vim was the worst part, due to black background perhaps. But that was just a couple of

Re: Find problem

2010-08-08 Thread zpcspm
On Aug 9, 1:37 am, robertc webtour...@gmail.com wrote: Not getting answered, so I'm asking again: Is this is a known issue with Qt UI ? that hitting Enter after entering search term in Find - nothing happens. Just want to make sure this is a problem so I can give up on it and use ctrl + f

Re: Is something basic missing from Leo?

2010-08-06 Thread zpcspm
On Aug 6, 9:50 am, taa starman...@gmail.com wrote: Suggestion #7: Change 'Portable' to be 'Cross platform'. When I first saw the word 'Portable' I thought that meant I'd be able to run it on a flash drive. I think this is true as well, assuming leo can find its dependencies (python and

Re: Feature suggestion

2010-08-06 Thread zpcspm
On Aug 6, 4:28 pm, Kent Tenney kten...@gmail.com wrote: On Mon, Aug 2, 2010 at 7:37 AM, Edward K. Ream edream...@gmail.com wrote: On Sun, Aug 1, 2010 at 12:58 PM, Kent Tenney kten...@gmail.com wrote: Navigation history seems like an aspect of undo / redo, appropriate for core. I think

Re: leo import issue

2010-07-29 Thread zpcspm
On Jul 29, 7:21 pm, Edward K. Ream edream...@gmail.com wrote: Please create a wish-list bug for this.  There almost certainly will be some complications, but we must start somewhere. Done https://bugs.launchpad.net/leo-editor/+bug/611413 I made the bug report extremely laconic and neutral,

Re: PyQt-win-gpl-4.7.3 not working with Leo

2010-07-06 Thread zpcspm
I would try to import pyqt from an interactive python shell. If it fails, you'll know it's not leo's fault. google says it's a common problem. First google link points to a thread in pyqt's mailing list which has suggestions about how to fix it:

Re: How to run Leo's unit tests

2010-06-29 Thread zpcspm
On Jun 29, 6:17 pm, Edward K. Ream edream...@gmail.com wrote: In unitTest.leo, select the node containing the desired tests, then hit Alt-4. Actually, Alt-4 is a keybinding. Test running commands start with run. Just type run in the minibuffer, then hit TAB. There should appear a Completion tab

Re: Code-level work on new sentinels has started

2010-06-24 Thread zpcspm
On Jun 24, 7:40 am, Edward K. Ream edream...@gmail.com wrote: On Wed, Jun 23, 2010 at 6:16 PM, zpcspm zpc...@gmail.com wrote: I have a feeling that pylint will complain at such long lines. So, turn such warnings off. I will try to be more detailed. pylint complaining about long lines

Re: Code-level work on new sentinels has started

2010-06-23 Thread zpcspm
On Jun 24, 1:44 am, Edward K. Ream edream...@gmail.com wrote: In the new (simplified sentinels) scheme, Leo writes gnx's at column 100. I have a feeling that pylint will complain at such long lines. -- You received this message because you are subscribed to the Google Groups leo-editor

Re: How to stop cursor blinking in leo?

2010-06-19 Thread zpcspm
On Jun 19, 4:34 pm, Ivanov Dmitriy usr...@gmail.com wrote: ran C:\Python26\pythonw.exe C:\Python26\\Lib\site-packages\Leo-4.7.1-final \launchLeo.py small window is created for a second, then it disappeares. no messages that is the purpose of pythonw.exe - to hide that window use python.exe

Re: bzr workflow

2010-06-17 Thread zpcspm
On Jun 17, 8:18 pm, Terry Brown terry_n_br...@yahoo.com wrote: On Thu, 17 Jun 2010 09:37:27 -0700 Matt Wilkie map...@gmail.com wrote: This is helpful info that should be summarized somewhere for easy reference. I was going to take a crack it but got stuck on where to put it. Is the wiki

Re: bzr workflow

2010-06-17 Thread zpcspm
On Jun 17, 8:18 pm, Terry Brown terry_n_br...@yahoo.com wrote: On Thu, 17 Jun 2010 09:37:27 -0700 Matt Wilkie map...@gmail.com wrote: This is helpful info that should be summarized somewhere for easy reference. I was going to take a crack it but got stuck on where to put it. Is the wiki

Re: Question about parsing Python files

2010-06-16 Thread zpcspm
On Jun 15, 9:49 pm, Terry Brown terry_n_br...@yahoo.com wrote: Not really sure what the next step is.  I think you, zpcspm, and I are of the same opinion, but Edward differs.  Does this mean... options?  Arghh, the horror! :) My requirement is lighter and I can live with the current state

Re: Question about parsing Python files

2010-06-16 Thread zpcspm
On Jun 16, 2:44 pm, Kent Tenney kten...@gmail.com wrote: On Wed, Jun 16, 2010 at 3:27 AM, zpcspm zpc...@gmail.com wrote: I import this code into leo using @shadow. Then what? Do you make nodes for the comments, assignments etc which are between defs? ie: do you manually do what we

Re: How to avoid explicit usernames in leo outlines?

2010-06-14 Thread zpcspm
On Jun 15, 8:39 am, Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 10, 2010 at 1:58 PM, zpcspm zpc...@gmail.com wrote: I have noticed a long time ago that the t attribute of v tag contains the explicit user names. I'm not sure what you mean by explicit user name.  In fact, the v

How to avoid explicit usernames in leo outlines?

2010-06-10 Thread zpcspm
I have noticed a long time ago that the t attribute of v tag contains the explicit user names. While this moment might be regarded as security through obscurity, I now have a very strong need for wiping out that data or at least being able to alter it. I understand that the leo outline file

Re: Leo 4.7.1 final lost Read @shadow Node?

2010-06-03 Thread zpcspm
I just do Import to @file, then change @file to @shadow and restart leo. Not sure this is the best way, but it seems to work. -- 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

leo import issue

2010-06-02 Thread zpcspm
I'm trying to import a python source code file into leo via Main menu- File-Import-Import To @file. For a minimal example consider that the file contains this code: --- cut here --- class MyClass: def method1(self): pass m1 = method1() def method2(self): pass

Re: leo import issue

2010-06-02 Thread zpcspm
On Jun 2, 5:31 pm, Terry Brown terry_n_br...@yahoo.com wrote: class t(object):     def m1(self):         pass     m = m1     def m2(self, func=m):         print func I know that's a weird piece of code, but I think you could argue the m = m1 belongs with the m2 definition in that

  1   2   3   4   5   >