Re: cruft in rclick.py and base leo code?

2009-06-16 Thread Ville M. Vainio
-plugins in myLeoSettings.leo (help-open myleosettings)? Is your @enabled-plugins within a @settings tree? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: vnodes, tnodes, and unknownAttributes

2009-06-17 Thread Ville M. Vainio
(and vnodes in general) seem to be misunderstandigs (i.e. assumption that vnode is somehow like position, i.e. tree position specific). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
in body? Can you isolate the prob to particular subtree? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
guys can stick a debug message to be printed to the console in this situation? Actually, that bug was fixed earlier, but seems it has broken again. It's easy to fix (perhaps this time with a new unit test to go with it). -- Ville M. Vainio http://tinyurl.com/vainio

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
On Wed, Jun 17, 2009 at 5:00 PM, Edward K. Reamedream...@gmail.com wrote: Thanks for the original report and your help, Ville.  I'll fix this before b2 and add a unit test :-) This works for me on xp and ubuntu. I can repro it on Ubuntu 9.04. Body '' -- Ville M. Vainio http

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
On Wed, Jun 17, 2009 at 5:15 PM, Edward K. Reamedream...@gmail.com wrote: Works for me on 9.04.  What is your default string encoding? [~]|9 sys.getdefaultencoding() 9 'ascii' Nothing should be reliant on that, but it may help you reproduce the problem. -- Ville M. Vainio http

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
on that, but it may help you reproduce the problem. I enabled tracing in Qt gui--@thin qtGui.py--Gui wrapper--class leoQtGui--Clipboard (qtGui) ctrl+shift+c on a node that has body 'ää' shows: replaceClipboardWith: 0 type 'str' -- Ville M. Vainio http://tinyurl.com/vainio

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
' shows: replaceClipboardWith: 0 type 'str' Culprit is this: 6867def toUnicode (self,s,encoding='utf-8',reportErrors=True): 6868 6869try: 6870return unicode(s) 6871except Exception: 6872 - return '' -- Ville M. Vainio http://tinyurl.com

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
always binary data?). We should use setMimeData of QClipboard to set binary data: http://doc.trolltech.com/4.5/qclipboard.html#setMimeData -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
') It works. I committed and pushed. This is still fundamentally a wrong thing to do, so I emit a g.trace warning as well. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
--pasteOutline It shouldn't call getTextFromClipboard, but rather a new method getBinaryFromClipboard(application/leo-outline) I think this will also eliminate accidental pasting of outline xml to nodes. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
() to get python unicode objects from QStrings (i.e. no conversion happens). Calling a function that *possibly* does conversion is a recipe for trouble because it hides errors (as happened today). -- Ville M. Vainio http://tinyurl.com/vainio

Re: Copy/paste bug in Qt GUI?

2009-06-17 Thread Ville M. Vainio
, when reading/writing binary data to clipboard. The amount of conversions should be few and far apart. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: vnodes, tnodes, and unknownAttributes

2009-06-17 Thread Ville M. Vainio
to* correspond to nodes on the screen, but that is ancient history. Ah, so this explains existence of vnodes - they were analogous to positions before , but this analogy was removed at some point (effectively making vnodes redundant). -- Ville M. Vainio http://tinyurl.com/vainio

Debian package available

2009-06-17 Thread Ville M. Vainio
stuff that was harming the build - pmw + tests is a good example. Users are expected to sort out their own deps. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: 2059 doesn't start up with qt GUI

2009-06-18 Thread Ville M. Vainio
On Thu, Jun 18, 2009 at 12:59 PM, znafetsznaf...@googlemail.com wrote: since I am working on Ubuntu Karmic leo can't load the qt gui anymore. Did I mess up something or is it because of other pyqt4 stuff ? Have you installed scintilla? On Jaunty, it's package 'python-qscintilla2' -- Ville M

Re: 2059 doesn't start up with qt GUI

2009-06-18 Thread Ville M. Vainio
enabled and it's a non-obvious dependency. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Copy/paste bug in Qt GUI?

2009-06-18 Thread Ville M. Vainio
binary data? Yes, utf-8 encoded strings are binary data ('bytes' on Python 3). Treating it as text is wrong, and we are (correctly) getting an exception for that. Utf-8 can be converted to text (unicode) by decoding it. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Copy/paste bug in Qt GUI?

2009-06-18 Thread Ville M. Vainio
. If anything, it should be hardcoded to utf-8. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Copy/paste bug in Qt GUI?

2009-06-18 Thread Ville M. Vainio
M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Copy/paste bug in Qt GUI?

2009-06-18 Thread Ville M. Vainio
://tarekziade.wordpress.com/2008/01/08/syssetdefaultencoding-is-evil/ -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: active_path question

2009-06-18 Thread Ville M. Vainio
On Thu, Jun 18, 2009 at 6:19 PM, Kent Tenneykten...@gmail.com wrote: Great service! Traceback is gone, but dclick on folder name seems to do nothing, as I understand the About it should be populated with the contents of the folder. alt-x act-on-node -- Ville M. Vainio http://tinyurl.com

Re: Copy/paste bug in Qt GUI?

2009-06-18 Thread Ville M. Vainio
strict about bytes/unicode distinction already. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Copy/paste bug in Qt GUI?

2009-06-18 Thread Ville M. Vainio
, and the distinction with bytes and strings is more concrete in that environment (like it is in python3). I still think the aim should be to *reduce* the amount of toUnicode calls, not increase them. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: 2059 doesn't start up with qt GUI

2009-06-18 Thread Ville M. Vainio
On Thu, Jun 18, 2009 at 9:53 PM, znafetsznaf...@googlemail.com wrote: From PyQt4 import Qsci fails with segmentation fault Obviously not leo bug then. As you saw, I forwarded this to scintilla mailing list, let's see if it evokes some kind of reaction... -- Ville M. Vainio http://tinyurl.com

Re: What to do about the windows installer?

2009-06-18 Thread Ville M. Vainio
instruct windows users to run launchLeo.py from source distribution. py2exe would be cool, but probably very incompatible with our plugin loading system. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: Copy/paste bug in Qt GUI?

2009-06-19 Thread Ville M. Vainio
(not technically wrapper) that is used to represent unicode strings in Qt. You can get python unicode object out of QString the way we do now, i.e. just use unicode(myqstring). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because

Qt ui as default

2009-06-19 Thread Ville M. Vainio
tested / developed. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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: Copy/paste bug in Qt GUI?

2009-06-19 Thread Ville M. Vainio
is that it's silently discarded when presented with QString. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: 2059 doesn't start up with qt GUI

2009-06-20 Thread Ville M. Vainio
On Thu, Jun 18, 2009 at 9:53 PM, znafetsznaf...@googlemail.com wrote: From PyQt4 import Qsci fails with segmentation fault I removed the (redundant) QSci impurt from trunk. Can you pull try again? -- Ville M. Vainio http://tinyurl.com/vainio

Re: Qt ui as default

2009-06-20 Thread Ville M. Vainio
On Fri, Jun 19, 2009 at 5:00 PM, Edward K. Reamedream...@gmail.com wrote: On Fri, Jun 19, 2009 at 6:51 AM, Edward K. Ream edream...@gmail.com wrote: On Fri, Jun 19, 2009 at 2:59 AM, Ville M. Vainio vivai...@gmail.com wrote: I think it might be a good idea to use the Qt ui as the default

Re: Qt ui as default

2009-06-20 Thread Ville M. Vainio
got rid of the problem. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: somehow addicted to leo, but ...

2009-06-21 Thread Ville M. Vainio
flow of changes from other developers. The unreliablity of @shadow is not much of a problem if the underlying external file is relatively stable. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

idea: lite sentinels for @auto nodes

2009-06-21 Thread Ville M. Vainio
be inserted only if the next function was a toplevel one again. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: A first draft of the rST chapter intro

2009-06-21 Thread Ville M. Vainio
abbreviated as ReST, this can create confusion with REST, an unrelated technology. QQQ -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group

Re: A first draft of the rST chapter intro

2009-06-21 Thread Ville M. Vainio
api for that as well: http://rst2a.com/api/ So a good demo could be a @button script that would render an @auto-rst node as pdf/html. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Run problems in Vista

2009-06-21 Thread Ville M. Vainio
?) generated snapshots of the bzr trunk. However, it's recommended to install bzr. That way, it's very to easy to stay updated (just run 'bzr pull' on the source dir). It's just a matter of running the exe installer. -- Ville M. Vainio http://tinyurl.com/vainio

Re: cruft in rclick.py and base leo code?

2009-06-21 Thread Ville M. Vainio
. Also pass the clicked widget (so you can right click tree item, body, ...) - The functions well add their own actions to the many any way they wish. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: cruft in rclick.py and base leo code?

2009-06-21 Thread Ville M. Vainio
On Sun, Jun 21, 2009 at 11:00 PM, Ville M. Vainiovivai...@gmail.com wrote: - The functions well add their own actions to the many any way they wish. to the MENU... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Leo now apt-gettable (jaunty ppa)

2009-06-21 Thread Ville M. Vainio
themselves. The fact that Ubuntu ppa build machines were able to make the binary deb from our source deb is great milestone as well - it means we are not (optimistically) *that* far from getting leo to Ubuntu 'universe' repos at some point. -- Ville M. Vainio http://tinyurl.com/vainio

Re: idea: lite sentinels for @auto nodes

2009-06-22 Thread Ville M. Vainio
. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: @shadow and what should I put under version control

2009-06-22 Thread Ville M. Vainio
in version control hurts noone, as long as others don't start modifying it extensively. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group

Re: @shadow and what should I put under version control

2009-06-22 Thread Ville M. Vainio
, but it's still handy to have it somewhere. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: @shadow and what should I put under version control

2009-06-22 Thread Ville M. Vainio
code.) Off topic - why not LGPL then? GPL + exemption sounds rather complicated). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group

Tomfox

2009-06-22 Thread Ville M. Vainio
matter to proper outlines. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: Leo 4.6 beta 2 released

2009-06-23 Thread Ville M. Vainio
against them early enough. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Leo on ubuntu karmic

2009-06-23 Thread Ville M. Vainio
Since there has been various problems reported with this... Just upgraded my Ubuntu to Karmic (in order to proceed with packaging). I can confirm that leo *does* work with karmic, both qt and tk. AFAICT, anyway, by quick fiddling around running the unit tests. -- Ville M. Vainio http

scriptFile.py warning

2009-06-24 Thread Ville M. Vainio
that ;-) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: scriptFile.py warning

2009-06-24 Thread Ville M. Vainio
is still there, I just prepended the @ to disable it. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: scriptFile.py warning

2009-06-24 Thread Ville M. Vainio
On Wed, Jun 24, 2009 at 4:14 PM, Edward K. Reamedream...@gmail.com wrote: The setting is still there, I just prepended the @ to disable it. Am I correct in assuming the code still supports the setting? Yes you are. I only changed the path used when the setting is not available. -- Ville M

Re: Leo 4.6 beta 2 released

2009-06-24 Thread Ville M. Vainio
On Wed, Jun 24, 2009 at 3:55 AM, Graham Chiucompkar...@gmail.com wrote: Except that now I am getting structure comments appearing in my tangled code even with the @silent directive before my @root directive Out of curiosity - why are you using @root tangling instead of @nosent? -- Ville M

Re: @shadow and what should I put under version control

2009-06-25 Thread Ville M. Vainio
. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

r2091 slowdown

2009-06-25 Thread Ville M. Vainio
node. Fixed some pylint complaints. QQQ It effectively makes leo quite unusable on my 1ghz eee. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group

Re: Installing SIP on Python

2009-06-26 Thread Ville M. Vainio
-Py2.5-gpl-4.4.3-1.exe -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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: r2091 slowdown

2009-06-26 Thread Ville M. Vainio
. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: How to get into Qt

2009-06-26 Thread Ville M. Vainio
and Qt) from the end of this page: http://www.qtrac.eu/pyqtbook.html (this might also be of interest to others - they actually made available python3 versions of the samples as well). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: The plan for Leo 4.6 rc1

2009-06-26 Thread Ville M. Vainio
/bugs/363406 ). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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: What's the best way to export a clean copy of your source?

2009-06-27 Thread Ville M. Vainio
to @nosent nodes and write everything out, but making your released source different from the source you have in version control doesn't sound too helpful to me (because suddenly your source release is unidirectional - you can send it out, but you can't integrate the modifications back). -- Ville M

Added quickstart.leo

2009-06-27 Thread Ville M. Vainio
I made something of a tutorial in leo/doc/quickstart.leo It's very much of a TODO still, but the idea is to make it a non-overwhelming legacy free interactive tutorial (like the vim 30 minutes training course for beginners) -- Ville M. Vainio http://tinyurl.com/vainio

Re: What's the best way to export a clean copy of your source?

2009-06-27 Thread Ville M. Vainio
applies for an @path and @root-code directive in the body lsomething like ike @thin-code and/or @file-code. Making @thin nodes silent would be completely against the point of @thin nodes in the first place. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Added quickstart.leo

2009-06-27 Thread Ville M. Vainio
to fill in the blanks too ;-) This should probably be featured in the help menu... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send

Re: Added quickstart.leo

2009-06-28 Thread Ville M. Vainio
On Sun, Jun 28, 2009 at 3:48 PM, Edward K. Reamedream...@gmail.com wrote: What colorizing do you think should be in effect by default? rst, I think. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

configure_tags killing performance again

2009-06-28 Thread Ville M. Vainio
leoGlobals.py:4022(os_path_finalize) 1310.8410.006 36.8400.281 qtGui.py:8101(configure_tags) 426220.7740.0007.8690.000 leoGlobals.py:4009(os_path_expanduser) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Can't load Qt interface

2009-06-29 Thread Ville M. Vainio
place? Does this give any hints: https://bugs.launchpad.net/leo-editor/+bug/391074 -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group

Re: configure_tags killing performance again

2009-06-29 Thread Ville M. Vainio
On Mon, Jun 29, 2009 at 12:17 PM, Edward K. Reamedream...@gmail.com wrote: Rev 2119 contains what appears to be a major improvement in speed: Now that was one damn fine checkin... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Use Vim as an editor

2009-06-29 Thread Ville M. Vainio
-editor/leo-trunk-dev Commit message: open_with: use FILENAME_Leotemp_1212.ext syntax instead of LeoTemp_1212_FILENAME.ext I stopped caring about open with when we got Qt ui though ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Use Vim as an editor

2009-06-29 Thread Ville M. Vainio
that the current default behaviour is equivalent, and we can remove mod_tempfname.py. BTW, with the current fixing spree, making a quick b3 round before rc1 might be in order... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message

Re: Can't load Qt interface

2009-06-29 Thread Ville M. Vainio
-- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: setup.py or './configure' to determine local environment?

2009-06-30 Thread Ville M. Vainio
, and the packaging does do setup.py install.. Certainly, setup.py install can't fetch packages (it's the task of the OS itself). setuptools can fetch something but probably not PyQt. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

quicsearch.py enabled by default?

2009-06-30 Thread Ville M. Vainio
I hate to be touting my own drum here, but perhaps quicksearch.py plugin could be enabled by default? It quickly became the most important way of navigating the outline for me, and I imagine most beginners will find the behaviour very valuable. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Remove old qt jEdit colorizer?

2009-06-30 Thread Ville M. Vainio
like to retire the old code completely.  Any objections? We still have it in the version history anyway. Removing cruft is always +1 from me ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

Re: 4.6 rc1 nearing completion. Please test

2009-06-30 Thread Ville M. Vainio
on this before 4.6 final. I'll take a quick stab at rclick thing. It would be cool to have the mechanics in place in the core for the released version, to allow development of plugins for that without having to run the snapshot. -- Ville M. Vainio http://tinyurl.com/vainio

Re: 4.6 rc1 nearing completion. Please test

2009-06-30 Thread Ville M. Vainio
:-) Here's a script example how to use it: http://pastebin.com/m70f1cea I didn't push it yet, I'll make a separate message to list when it's in. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you

rclick functionality for core on trunk

2009-06-30 Thread Ville M. Vainio
existing Tk plugins would work)? -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: rclick functionality for core on trunk

2009-06-30 Thread Ville M. Vainio
in rclick.py. OTOH, all of it may be too complicated to spend time with at this point (rclick.py has a pretty complex approach to menu creation). It may be easier to provide the wanted popup menus by just implementing them directly in the plugins. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Use Vim as an editor

2009-06-30 Thread Ville M. Vainio
, there should be a more detailed procedure about how to set up your 'myLeoSettings.leo' file. It took me a long time to figure I agree. This is something I considered for the quickstart.leo. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You

Re: Use Vim as an editor

2009-06-30 Thread Ville M. Vainio
a plugin to do that now. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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: Use Vim as an editor

2009-06-30 Thread Ville M. Vainio
click on @thin/@auto/whatever. And fix bugs ;-). Consider it a demo... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email

Re: rclick functionality for core on trunk

2009-06-30 Thread Ville M. Vainio
I noted - saving after delete all todo icons brings back all the icons immediately. I suppose a more permanent removal was intended ;-). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Use Vim as an editor

2009-07-01 Thread Ville M. Vainio
-plugins and add contextmenu.py. Restart leo. Ensure that you have EDITOR environment variable pointing to vim. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: rclick functionality for core on trunk

2009-07-01 Thread Ville M. Vainio
changed by default now? The default box should be first, otherwise the icons will appear to skew the tree structure. Reloading unhides, as you saw. But so did saving. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because

Re: Use Vim as an editor

2009-07-01 Thread Ville M. Vainio
that that open_with.py *doesn't* work with Qt. I'm implementing a simpler qt version of it now (i.e. only rclick menu). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: Use Vim as an editor

2009-07-01 Thread Ville M. Vainio
On Wed, Jul 1, 2009 at 12:27 PM, Guilherme P. de Freitasguilhe...@gpfreitas.com wrote: Thanks! I'll wait for your solution. Please bzr pull and try it now. You will find edit in $EDITOR in your context menu. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Use Vim as an editor

2009-07-01 Thread Ville M. Vainio
vim. BTW, with contextmenu, the doubleclick thing could be removed, using context menu item open in vim instead. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: contextmenu: the new edit in external editor approach

2009-07-01 Thread Ville M. Vainio
On Wed, Jul 1, 2009 at 4:49 PM, Edward K. Reamedream...@gmail.com wrote: Now the open with stuff is easy enough for a child to use (once we enable contextmenu.py by default, hint hint ;-). Feel free. Done. I also disabled open_with.py in the default @enabled-plugins -- Ville M. Vainio

Re: contextmenu: the new edit in external editor approach

2009-07-01 Thread Ville M. Vainio
try it on @thin nodes. After editing and saving, you need to do refresh from disk from the same menu, but that's the safe option anyway I think. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: contextmenu: the new edit in external editor approach

2009-07-01 Thread Ville M. Vainio
in leoPluginsRef.leo (where rclick friends are anyway). -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ 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

Re: RC1 observations

2009-07-01 Thread Ville M. Vainio
it there. Trying doing bzr revert or something. It's there for me. Also ensure it's indeed trunk branch you are running... -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: Cloned nodes not duplicated in @thin output

2009-07-01 Thread Ville M. Vainio
the reason or benefit? Interesting question, I see no reason for this myself (why are siblings special in this matter?) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo

Re: rclick functionality for core on trunk

2009-07-01 Thread Ville M. Vainio
On Wed, Jul 1, 2009 at 6:51 PM, Terry Brownterry_n_br...@yahoo.com wrote: BTW, can we get that icon order thing changed by default now? The default box should be first, otherwise the icons will appear to skew the tree structure. Done Thanks, much cleaner look now. -- Ville M. Vainio

Re: Cloned nodes not duplicated in @thin output

2009-07-01 Thread Ville M. Vainio
--at.Reading--Reading (4.x)--createThinChild4 Quite baffling myself. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to leo

Re: contextmenu: the new edit in external editor approach

2009-07-01 Thread Ville M. Vainio
On Wed, Jul 1, 2009 at 10:46 PM, Ville M. Vainiovivai...@gmail.com wrote: Keyboard shortcut shall come in shortly. Pushed to trunk. It's alt-v, easy to remember for vi users ;-) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: open with feature - next steps

2009-07-02 Thread Ville M. Vainio
can't comment. 1. Handling node headline text that contains characters that the operating system, python, or Leo does not support in a directory path or file name. 2. Handling node headline text that contains spaces. These are handled by c.openWith and they work. -- Ville M. Vainio http

Re: open with feature - next steps

2009-07-02 Thread Ville M. Vainio
--servername LEO -_vim_exe = vim +_vim_cmd = gvim --servername LEO +_vim_exe = gvim Also, I removed the (wrong) settings from leoSettings.leo. Now, vim launches up but the text isn't loaded to it. This is on Ubuntu. -- Ville M. Vainio http://tinyurl.com/vainio

Re: open with feature - next steps

2009-07-02 Thread Ville M. Vainio
On Thu, Jul 2, 2009 at 7:17 PM, Ville M. Vainiovivai...@gmail.com wrote: Well, it sort of works, but doesn't. I made following fixes: Alright, I think I got it (vim.py) working :-). Stand by, I'll investigate a bit more before pushing... -- Ville M. Vainio http://tinyurl.com/vainio

vim.py works on Linux + qt

2009-07-02 Thread Ville M. Vainio
leoSettings.leo. It works by enabling vim.py and double-clicking on the icon. The biggest difference to current Edit in gvim from rclick menu is that it reuses the same gvim process/window. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received

Re: vim.py works on Linux + qt

2009-07-02 Thread Ville M. Vainio
for this, to enable binding to a key. Double clicking is annoying in Qt (it activates higlights the headline text as well) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Leo 4.6 is feature frozen. Please limit commits to the trunk

2009-07-02 Thread Ville M. Vainio
for window title and task bar. This is somewhat important for branding and not appearing sloppy to the end user. In that vein, before the release it could be good to upload some new screenshots (of the qt ui) to sourceforge. -- Ville M. Vainio http://tinyurl.com/vainio

Re: Leo 4.6 is feature frozen. Please limit commits to the trunk

2009-07-03 Thread Ville M. Vainio
for I took another liberty and committed some changes required for debian package to work properly (i.e. bugfixes, not features) -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: rST export from leo 4.6.2

2009-07-03 Thread Ville M. Vainio
Commands - execute command (Alt-x) in the menu? It's explained in help - quickstart.leo now. -- Ville M. Vainio http://tinyurl.com/vainio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post

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