Re: Status of Leo wrt. wxPython?

2008-04-30 Thread jkn
Hi Terry OK, thanks. I may take a look ... Regards J^n --~--~-~--~~~---~--~~ 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: $200 reward for gui plugins

2008-06-10 Thread jkn
Hi Edward out of interest, do you know which version of wxWidgets you last looked at? Regardless, all this interest activity on the GUI side of things is very interesting to me! ;-) Thanks Jon N --~--~-~--~~~---~--~~ You received this message

AttributeError when attempting to startup qt-plugin

2008-10-22 Thread jkn
/config/leoSettings.leo Using menus from leoSettings.leo reading /home/jkn/.leo/.leoRecentFiles.txt loaded plugin: qtGui @enabled-plugins found in leoSettings.leo can not load enabled plugin: mod_scripting rst3 plugin: SilverCity not loaded rst3 plugin not loaded: can not load docutils can not load

Re: Feature request

2008-10-24 Thread jkn
me too! Cheers J^n PS: I was seeing reference to right-mouse clicks, assume that it's possible to assign to this (someone mentioned context editing of nodes etc.). Where do I look to learn more about this please? Thanks, J --~--~-~--~~~---~--~~ You

Re: Demo qt gui using docking widgets instead of splitters

2008-11-25 Thread jkn
On Nov 25, 7:03 pm, leo_hag [EMAIL PROTECTED] wrote: The code is in leo\test\qtOutlineDemo.py. It is not a real leo just a demo which uses leoBridge to get the data. I think you mean leo\plugins\qtOutlineDemo.py? # s/\\/\/ to suit... Thanks for the docking demo. I for one think I prefer

Re: Aha!!! simple, extremely fast tree updates!

2008-12-13 Thread jkn
Hi Edward I've said it before, but it's worth repeating - I really enjoy reading of your insights as you rework this kind of thing. As a developer myself, It's fascinating 'looking over your shoulder' at the decisions, insights, mistakes(?) and aha's you encounter, and to compare them with my

Re: Aha!!! simple, extremely fast tree updates!

2008-12-14 Thread jkn
Anyway, the great mathematicians are my inspiration. Many continually reworked their important theorems, seeking the simplest, most elegant proofs. That is some consolation now :-) Yep, the aesthetic beauty of a good proof or theorem is certainly something to be aimed at ... Jon N

Re: leo\plugins\wxGui.py on trunk

2009-01-27 Thread jkn
I for one am still interested in the wx port/attempt, and thank you for your work in pursuing it. I do not think that the recent Qt license changes are the be-all and end-all of the matter, and (for educational and familiarity purposes if nothing else) would like to have a look at this myself in

startup problem with new bzr checkout?

2009-01-29 Thread jkn
(I tend to checkout a clean version of the trunk ... not sure if this is why I'm seeing this:) $ bzr branch lp:leo-editor [...] $ cd leo-editor $ python launchLeo.py --gui=qt reading settings in /transfer/leo-editor/leo/config/leoSettings.leo Using menus from leoSettings.leo reading /home/jkn

Re: startup problem with new bzr checkout?

2009-01-29 Thread jkn
re-emerg'ing (I'm on Gentoo Linux) qscintilla and qscintilla-python fixed things. Not quite sure why, but anyway ... apologies for the noise. J^n --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor

Re: Robin Dunn's mission

2009-02-02 Thread jkn
This is probably rather a jump, but never mind... The text editor I have most fondness of is Brief, which ran under DOS. It was sold to Borland, who later killed it off. When MS-windows came along, Premia Codewright was a very capable editor which used the Brief API ... until Premia sold it to

Re: New qt scrolling policy on trunk: comments please

2009-02-02 Thread jkn
On Feb 2, 5:06 pm, Mike Crowe drmikecr...@gmail.com wrote: Why should expanding a node scroll the tree up at all? Aren't we making this too hard? Every experience with tree's I've had, you should be able to click and expand, and click and contract w/o moving the mouse (i.e. the current

Re: Making Qt the default?

2009-02-02 Thread jkn
On Feb 2, 6:26 pm, Mike Crowe drmikecr...@gmail.com wrote: I'm trying to get the Qt GUI when I double-click on a .leo file you can set up the file association to run Leo with the --gui=qt setting when you double-click on a .leo file. In Windows = XP) this is done via the Explorer. J^n

Re: New qt scrolling policy on trunk: comments please

2009-02-02 Thread jkn
I haven't really got enough experience of the old vs. the new to say ... but I will make a few comments anyway ;-o. This is on rev 1502. I actively dislike what I see when I expand/contract a node, which is that the vertical position of the selected parent node shifts within the outline pane.

Re: New qt scrolling policy on trunk: comments please

2009-02-03 Thread jkn
Hi Edward Rev 1507 contains my latest attempt at minimizing scrolling. It seems to work better. What do you think? Better, but still not right IMHO. The (unwanted) scrolling still seems to occur if: - you have a child node highlighted and contract the parent - you contract a parent node

Re: New qt scrolling policy on trunk: comments please

2009-02-05 Thread jkn
Hi Edward Maybe, but there are much bigger fish to fry at present that don't involve drawing. Reducing flash would, imo, be a much better first step as far as drawing goes. sure - I was really lumping screen flash in with the scrolling as things which should work so's you don't notice them.

Re: How to simplify key handling

2009-02-05 Thread jkn
Hi Edward very sensible idea IMO. I had wondered what representation you used internally for keystrokes, given some of the machinations around keybindings etc. I'd read about here. Doesn't emacs (and Vi?) have the idea of one or more 'meta' ('M') keys, rather than hardcoding it as 'Alt'?

Re: New intro on Leo's wiki

2009-02-19 Thread jkn
I'm still writing as a 'wannabe-user' of Leo here, and showing my ignorance, but that's OK ;-/. Something that I was reminded about by reading the new intro: ?? why is it called the 'minibuffer'?? Is there a 'maxibuffer'? or a 'buffer' somewhere? (apart from the underlying implementation, of

Re: New intro on Leo's wiki

2009-02-19 Thread jkn
On Feb 19, 8:58 pm, zpcspm zpc...@gmail.com wrote: On Feb 19, 10:55 pm, jkn jkn...@nicorp.f9.co.uk wrote: IMO the term 'minibuffer' is ... ... tied to emacs I believe. Yes, I wondered that from the way the page was written. I think linking Leo to emacs in this way is A Bad Thing

Re: New intro on Leo's wiki

2009-02-20 Thread jkn
Hi Edward ?? why is it called the 'minibuffer'?? I have no problem with mimicking/stealing(*) such a feature from emacs - I just think that calling it a minibuffer is weird, and loses you more than it gains. This from a potential Leo *** with 25+ years experience using many different

Re: New intro on Leo's wiki

2009-02-20 Thread jkn
'Minibuffer' comes over to me as another new paradigm within Leo that I need to shift my brain to think about. 'Command area' or similar doesn't. I'm starting to be convinced. Maybe I'm resisting because 'minibuffer' and 'minibuffer commands' are entrenched Leo terms now. Yeah, I

Re: New intro on Leo's wiki

2009-02-20 Thread jkn
On Feb 20, 3:35 pm, tfer tfethers...@aol.com wrote: An attempt at the page for external files: Even in this draft form I found this very helpful - thanks. Jon N --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Headline vs. Heading

2009-02-21 Thread jkn
Just wondering what the general opinion is--is that a stumbling block for others? For newbies? I wouldn't put it as strongly as a 'stumbling block', but I too find the 'heading' term sweeter. Jon N --~--~-~--~~~---~--~~ You received this message because

Re: A rewrite of the qt key handling may be needed

2009-04-08 Thread jkn
Surely the (a) difference is that CTRL-0, and SHIFT-0, both represent ASCII characters. CTRL-SHIFT-0 does not - it's an entirely different species. I agree with Ville (I think) - without knowing much about the Qt representation: press 0: reported as a '0' key (0x30) press CTRL-0: reported as a

Re: mercurial?

2009-04-25 Thread jkn
I use mercurial and like it a lot. But I don't think anyone is saying it has huge advantages over bzr, for instance. If we/EKR is/are happy with bzr then I would leave well alone, for now at least. J^n --~--~-~--~~~---~--~~ You received this message because

Re: Getting unstuck with qt designer

2009-04-26 Thread jkn
It reminds me of remarks that Bjarne Stroustrup about the C++ parser.  I can't find them now, and perhaps I am misremembering them, but as I remember it he said that he chose an LL1 parser for cfront because LL1 parsing was supposedly the best way.  But he regretted the choice.  He, like me,

Re: What are Leo's worst bugs?

2009-05-21 Thread jkn
It may seem to be a 'worst bug' only to me, but the continuing jumping around within the tree when expanding/contracting nodes (still present I believe in Qt, dunno about Tk) remains the biggest thing stopping me from spending much time with Leo. That may be a poor excuse, I grant you - but it's

Re: What are Leo's worst bugs?

2009-05-21 Thread jkn
Hi Ville Now I realized why this is bothering you - you are probably using the mouse to move around, right? It feels much better on the keyboard. Yep, I'm using the mouse. (in part because I use a few other outline-based systems that have different key bindings, I don't yet want to start

Re: What are Leo's worst bugs?

2009-05-22 Thread jkn
On May 22, 2:33 pm, Edward K. Ream edream...@gmail.com wrote: On May 22, 7:47 am, Edward K. Ream edream...@gmail.com wrote: Yep, I'm using the mouse. Thanks for this clarification.  The bug report was mystifying me.  I'll attempt a fix immediately. I hadn't realised the action would

Re: What are Leo's worst bugs?

2009-05-23 Thread jkn
On May 22, 7:59 pm, Edward K. Ream edream...@gmail.com wrote: On Fri, May 22, 2009 at 1:38 PM, jkn jkn...@nicorp.f9.co.uk wrote: I hadn't realised the action would be significantly different between mouse and keyboard, or I'd surely have mentioned it before ;-/. Surely clicking on a node

Re: What are Leo's worst bugs?

2009-05-24 Thread jkn
The problems involved in writing event handlers have little to do with refactoring.  It's not so much the code itself that is complex; it is the varying contexts in which the code can be called. Yes, I understand how this can be - I've written plenty of GUI code in my time... Things are

Re: Any more urgent or annoying bugs?

2009-06-02 Thread jkn
A couple of things which probably don't fall into the 'urgent or annoying category', but nevertheless ... - I've just done a full 'bzr checkout' and got revno 1990. But 'Help | about Leo' still shows Leo 4.6 Beta 1, build 1.244, March 24, 2009'. It would help bug reports etc. if this was

Re: Any more urgent or annoying bugs?

2009-06-02 Thread jkn
On Jun 2, 2:25 pm, Edward K. Ream edream...@gmail.com wrote: [...] I use the following settings (in myLeoSettings.leo) to switch colors in the body pane depending on focus: @string selected-background-color = #fdf5f5 A kind of pink, for when the body has focus @string

Re: Any more urgent or annoying bugs?

2009-06-03 Thread jkn
Thanks - I hadn't realised this configuration was possible. Anything similar for the tree highlight? The hack was to add FocusIn/Out methods to the leoQtBody class I doubt that anything similar exists for the leoQtTree class. Feel free to add a wish-list item if you like

Re: Any more urgent or annoying bugs?

2009-06-04 Thread jkn
OK, got the @string thing to work. I was putting eg. @string selected-background-color = #fdf5f5 in the *body* rather than the headline. I'm not sure to what extent this is a 'Doh!', and to what extent this might be better spelled out somewhere. J^n

Re: Any more urgent or annoying bugs?

2009-06-04 Thread jkn
On Jun 4, 12:16 pm, Ville M. Vainio vivai...@gmail.com wrote: Perhaps your pattern of working is suboptimal, This is quite possible... you if explicitly switch between tree and body modes. I always start moving around the tree by pressing alt + arrow, then either keep the alt key down

Re: Any more urgent or annoying bugs?

2009-06-04 Thread jkn
On Jun 4, 2:41 pm, Ville M. Vainio vivai...@gmail.com wrote: The deal is that @ is not a reserved character in any way. At best, @ tells the user that leo, or a leo plugin, might have a special interpretation for this character. sure - but it should still be mentioned (as might your added

Re: Any more urgent or annoying bugs?

2009-06-04 Thread jkn
On Jun 4, 7:19 pm, Ville M. Vainio vivai...@gmail.com wrote: [...] There are only a few keyboard shortcuts that are really needed, so I think a document that only explains these is better. I'll those to the introductory docs. A chart of the commands in the 'using leo as an outliner'

minibuffer modes question

2009-06-04 Thread jkn
Chapter 18 of the docs describes two ways of entering minibuffer command mode: full-command, and quick-command-mode. The default key binding for *both* of these is ALT-x. Is this intentional? Alt-X gets me to full-command mode; how do I get to quick-command-mode? Thanks Jon N

Re: Any more urgent or annoying bugs?

2009-06-04 Thread jkn
On Jun 4, 9:35 pm, Ville M. Vainio vivai...@gmail.com wrote: [...] I have already added the default bindings to that section. I have some stuff still not committed. OK. I don't really see a point in Chapter 3 Editing body text, it could be replaced by Body editing is like in most

AttributeError when trying to edit node headline

2009-06-05 Thread jkn
After Ville clued me in about the ctrl-H shortcut: - Press ALT-T to enter tree pane - Navigate to a node - Press Ctrl-H to edit the node headline Traceback (most recent call last): File /transfer/leo-editor/trunk/leo/core/leoCommands.py, line 385, in doCommand val = command(event) File

Re: AttributeError when trying to edit node headline

2009-06-05 Thread jkn
On Jun 5, 6:10 pm, Edward K. Ream edream...@gmail.com wrote: On Fri, Jun 5, 2009 at 12:03 PM, jkn jkn...@nicorp.f9.co.uk wrote:  File /transfer/leo-editor/trunk/leo/plugins/qtGui.py, line 4474, in getWrapper    wrapper = self.editWidgetsDict.get(e) AttributeError: leoQtTree instance has

Re: Tk vs Qt again

2009-06-10 Thread jkn
On Jun 10, 3:13 am, Ville M. Vainio vivai...@gmail.com wrote: Perhaps porting it all would be a bit too big for a starter project. You could start by providing the essence of what the plugin does (it is reasonably documented) by  adding a rclick_qt.py. I don't think 100% compatibily is as

Re: Tk vs Qt again

2009-06-10 Thread jkn
Hi Ville On Jun 10, 9:07 am, Ville M. Vainio vivai...@gmail.com wrote: [...] You are doing it wrong. This is probably an example story that needs to be mentioned in the docs (unless it is already). File - Open - leo/plugins/leoPluginsRef.leo [...] Ah, excellent - so leoPluginsRef.leo is

small but annoying Qt observation when editing headlines

2009-06-10 Thread jkn
When a node headline is selected, the selection is in grey and looks fine. But when I *edit* a headline (selected text is dark blue), the height of this selection rectangle is too small by a pixel or two - it looks as if it's the 'inside' of the previous grey selection area. So you lose sight of

curiosity seen in qtGui.py

2009-06-10 Thread jkn
def killGui(self,exitFlag=True): Destroy a gui and terminate Leo if exitFlag is True. def killPopupMenu(self): pass I would have thought that there is a missing 'pass' here, although having experimented, I find that: def dummy(): dummy statement is valid python,

Re: small but annoying Qt observation when editing headlines

2009-06-10 Thread jkn
Hi Ville It's on Gentoo Linux. The font was (I learn from qtconfig) Deja Vu Sans. I'll have a play with fonts etc. and report back. J^n --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group.

Re: small but annoying Qt observation when editing headlines

2009-06-10 Thread jkn
looks like the settings are held as Qt stylesheet elements within leoSettings.leo, eg: /* Headline edit widgets */ QTreeWidget QLineEdit { background-color: cornsilk; selection-color: white; selection-background-color: blue; font-family: DejaVu Sans Mono; font-size: 12px;

Re: small but annoying Qt observation when editing headlines

2009-06-10 Thread jkn
Also, I'm running PyQt version 4.4.4-r2, when the latest seems to be 4.5. Might this be the problem? (looks like fun trying to upgrade on this system...) Thanks Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: small but annoying Qt observation when editing headlines

2009-06-11 Thread jkn
Hi Terry On Jun 10, 10:28 pm, Terry Brown terry_n_br...@yahoo.com wrote: On Wed, 10 Jun 2009 14:06:06 -0700 (PDT) jkn jkn...@nicorp.f9.co.uk wrote: Also, I'm running PyQt version 4.4.4-r2, when the latest seems to be 4.5. Might this be the problem? (looks like fun trying to upgrade

Re: Node dclick overload

2009-06-11 Thread jkn
). There are a *lot* more possible command names than click types :-) What is the status of easily configured right click menus? Not done yet for qt. jkn started investigating the port just recently. Great! Since I seem unable to stay abreast of the feature flood, I think I would benefit from

Re: How likely are sha-1 collisions?

2009-06-12 Thread jkn
http://bitcache.org/faq/hash-collision-probabilities I read an example comment years ago when UUIDs came in, the gist of which was (don't quote me), if you created one UUID every millisecond for a million years, the probability of you seeing a collision was (some small number ;-/). If I can find

cruft in rclick.py and base leo code?

2009-06-15 Thread jkn
As mentioned previously, I'm trying to get to grips with the innards of Leo by having a look at porting rclick.py to qt. I'm mostly reading at the moment - both the leo code, and about pyQt in general. But I would like to check one thing. It look like there is a fair bit of cruft in the places I

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

2009-06-16 Thread jkn
Hi Ville If I were you, I'd implement something simple from scratch - I don't think there is much working in the rclick area right now. [...] Thanks, that's another form of the sort of advice I was after ;-) I will probably adopt a simultaneous 'bottom-up' and 'top-down' approach - start

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

2009-06-16 Thread jkn
I realise that this will show that i'm trying to run before I can walk, but never mind... I have, in .../trunk/leo/config/leoSettings.leo, and @enabled-plugins node: # Leo loads plugins in the order they appear here. # File names may be indented as desired. #Standard plugins enabled in official

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

2009-06-16 Thread jkn
On Jun 16, 8:24 pm, Ville M. Vainio vivai...@gmail.com wrote: On Tue, Jun 16, 2009 at 9:59 PM, jknjkn...@nicorp.f9.co.uk wrote: I thought the reading of the @enabled-plugins node in this config file would enable plugins at startup. What am I missing here? Ah, the @enabled-plugins, bane of

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

2009-06-17 Thread jkn
never mind, I've got the plugin loading bit working at least. Not quite sure what fixed it - a combination of things I suspect. J --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to

Re: pdf version of the docs generated

2009-06-21 Thread jkn
Great stuff Ville, thanks. On Jun 21, 2:05 am, Edward K. Ream edream...@gmail.com wrote: At this point, I think the pdf generation process is more of a curiosity, but perhaps that's just a sign of my ignorance.  If anyone wants to explore this process in detail, feel free to do so: it would

Re: A first draft of the rST chapter intro

2009-06-21 Thread jkn
Hi Ville It seems RST is suggested instead: [...] Hmm, interesting, thanks. I guess using 'RST' also helps what with the nodes also being called @rst etc. I think I will still use ReST for my own purposes though... Cheers Jon N --~--~-~--~~~---~--~~

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

2009-06-22 Thread jkn
Hi Ville On Jun 21, 9:00 pm, Ville M. Vainio vivai...@gmail.com wrote: On Mon, Jun 15, 2009 at 3:21 PM, jknjkn...@nicorp.f9.co.uk wrote: As mentioned previously, I'm trying to get to grips with the innards of Leo by having a look at porting rclick.py to qt. I'm mostly reading Was thinking

Re: rclick functionality for core on trunk

2009-06-30 Thread jkn
Hi Ville [...] BTW jkn, I realize you were working on this too - do you have something that could be synced with this approach (e.g. wrapping rclick.py stuff so existing Tk plugins would work)? Thanks for the thought. At the moment I'm still playing rith rClick_qt.py, and not for many

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

2009-07-02 Thread jkn
On Jul 2, 8:07 pm, Ville M. Vainio vivai...@gmail.com wrote: I took the liberty to commit setLeoWindowIcon that sets the icon for window title and task bar. This is somewhat important for branding and not appearing sloppy to the end user. Good idea IMO - I've been meaning to mention this as

Re: Updated pdf docs available

2009-07-03 Thread jkn
On Jul 3, 3:41 pm, Ville M. Vainio vivai...@gmail.com wrote: BTW2: if someone is looking for a little project, he could work on replacing all the gif files in bzr with png files. I've just run a little script using gif2png to do this. What's the best way to pass on the results? I can point

Re: Updated pdf docs available

2009-07-03 Thread jkn
On Jul 3, 7:27 pm, Ville M. Vainio vivai...@gmail.com wrote: On Fri, Jul 3, 2009 at 9:21 PM, jknjkn...@nicorp.f9.co.uk wrote: I've just run a little script using gif2png to do this. What's the best way to pass on the results? I can point [you] at a .tgz file if you like. I figure you'll

Re: Thoughts on Leo coding style

2009-07-15 Thread jkn
On Jul 15, 7:45 pm, Ville M. Vainio vivai...@gmail.com wrote: On Mon, May 18, 2009 at 4:17 AM, Jesse Aldridgejessealdri...@gmail.com wrote: [...] One quick personal aha about section references: I only recently figured I should use ctrl+shift+s (extract-section) more. It's pretty fun.

Re: ~/.leo/plugins

2009-07-16 Thread jkn
On Jul 16, 7:51 pm, Ville M. Vainio vivai...@gmail.com wrote: [...] However, this sort of sucks for the end user. Perhaps we should introduce ~/.leo/plugins directory, where users could install third party plugins? definitely agree J^n

News: Canonical releases source code for Launchpad

2009-07-23 Thread jkn
perhaps of interest to some: http://www.ubuntu.com/news/canonical-open-sources-launchpad J^n --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To post to this group, send email to

Re: error while trying to save file

2009-08-11 Thread jkn
To me, his description: I have leo file on the disk. Open that file. Rename the file on the disk. Try to save opened file- error happened. *possibly* sounds like he's renaming the file behind Leo's back, ie. via Explorer rename, or mv, or something. Of course in these circumstances I'd

Re: Anyone tried KeyNote?

2009-09-21 Thread jkn
On Sep 21, 11:17 am, Dave da...@conscious.co.nz wrote: After looking around, I came across an exquisite piece of abandonware called KeyNote - open-source (delphi). Awesome for structured rich- text editing, super fast, perfect for the job, but definitely not a programmer's editor. Anyone

Re: Anyone tried KeyNote?

2009-09-21 Thread jkn
On Sep 21, 9:48 pm, Ville M. Vainio vivai...@gmail.com wrote: On Mon, Sep 21, 2009 at 7:12 PM, Ville M. Vainio vivai...@gmail.com wrote: Please elaborate, I'm all ears. Urgh, now that I re-read that, I realized it looks like I'm being sarcastic. That's definitely not the intention. I'm

Re: Don't be such a (computer) scientist

2009-11-04 Thread jkn
On Nov 4, 9:48 am, Edward K. Ream edream...@gmail.com wrote: Here is another draft. [...] In terms of arousal - which I agree is a good way of approaching it, and one unfamiliar, nay scary, to many of a technical bent - it's good to remember to *make it personal*. Use the *You* word...

Re: Don't be such a (computer) scientist

2009-11-05 Thread jkn
On Nov 5, 1:25 am, Edward K. Ream edream...@gmail.com wrote: That may be part of it.  The best example of friendly writing about Leo is my brother's intro: http://webpages.charter.net/edreamleo/SpeedReam.html To me, this is chatty, warm and somehow friendly, though I can't put my finger

OTish: problems signing up to Google Wave

2009-11-06 Thread jkn
Hi all After getting my invitation to Google Wave via Matt (Thanks Matt!) I am having problems activating the invitation, and I wondered if anyone else has seen this. I already have a Google account (seems to be a different thing that a Google Apps account); but when I try to use the

Re: OTish: problems signing up to Google Wave

2009-11-06 Thread jkn
Hi Ville Log in with your gmail account [...] I don't have a gmail account - at least, not one I use. I have an old gmail account that is unconnected to the email address the invitation was sent to. I presume (I hardly ever used my gmail account, can't remember) that in some way my gmail

Re: Don't be such a (computer) scientist

2009-11-08 Thread jkn
Hi Edward [..] There are two, and *only* two key elements of Leo: 1.  Leo is a new way of seeing data, including programs. 2.  Leo is a new way of applying scripts to data. FWIW I think this a better kind of 'elevator script' than the 'vision and power' stuff. J^n

Comments on beginner's guide...

2010-02-23 Thread jkn
As the subject says, I'm taking a bit of time to walk through Leo's documentation pages, from the perspective of a naive user who also knows enough to be dangerous... A couple of things so far: 1) Does the print() command still work, or are you supposed to use g.es() exclusively? Chapter 2 of the

Re: Comments on beginner's guide...

2010-02-23 Thread jkn
Hi Edward print() sends its output to the console, so to see the output you must run Leo from a console. Oops - I meant to check that before posting ... however my defence is that my (forethought) comment is that the beginner's guide needs to make the distinction clear ;-o. 2) I have

Re: Does anyone know of a pep8 *fixer* ?

2010-02-26 Thread jkn
I don't know of one, I'm afraid. I think it's a lit easier to just check warn than to fix; false positives (or is that negatives?) are also a lot less dangerous in a checker only. Personally, there are enough things I don't like about PEP-8 that I've never felt the need to adopt it. There is IMO

Re: The step-by-step tutorial is here

2010-10-21 Thread jkn
On Oct 20, 1:16 am, Terry Brown terry_n_br...@yahoo.com wrote: Some monitors might make it quite hard to see those colors, they're almost subliminal. You could throw the word pale in, perhaps. I definitely agree - unless/until you know about the colours, they are invisible. I'd go as far as

Re: LEO as web app

2011-02-23 Thread jkn
On Feb 22, 11:09 pm, Stefan Fruehwirth stefan.fruehwi...@uni-graz.at wrote: +1, that would definitely be very useful. But the effort seems to me to be huge. As far as I can see the only way that this would lead to an acceptable tool is to port _everything_ to JavaScript. [...] FWIW, there is

Re: Open source alternatives for Microsoft OneNote

2011-08-18 Thread jkn
FWIW I am (still) an Ecco Pro user. I mostly run it under Linux using Wine, which works pretty well. There is still a pretty vibrant community for Ecco Pro, eg. via the 'ecco_pro' yahoo group (different to the 'eccopro' group!). There have been some very impressive add-ons and patches written for

Re: EKR: Gnu indent follies

2011-09-19 Thread jkn
Hi Edward I don't know what research you have done beforehand but FYI there are a fair few alternatives to GNU indent for beautifying C code. See for instance this StackOverflow thread: http://stackoverflow.com/questions/841075/best-c-code-formatter-beautifier Artistic Style has the

Re: Oh, the irony

2011-09-22 Thread jkn
FYI re ROOT: http://www.theregister.co.uk/2011/09/22/cern_coverity/ Jon N -- 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: Python-based text preprocessing (not only static HTML)

2012-02-05 Thread jkn
Hi Hans On Feb 5, 7:33 pm, HansBKK hans...@gmail.com wrote: Thanks Terry, but it looks to me like all of these are dynamic, running via server-side add-ons. I'm looking to locally generate static HTML+CSS - maybe some javascript for stuff like analytics but that's all - that can be uploaded

Re: Python-based text preprocessing (not only static HTML)

2012-02-05 Thread jkn
Hi Hans I have previously used Cheetah: http://www.cheetahtemplate.org/ (and, later,) Jinja: http://jinja.pocoo.org/ to create static HTML websites. I also used CleverCSS as a way of writing 'structured' CSS which is preprocessed into 'the real thing':

ability to specify Numeric Keypad keys in keybindings?

2013-08-01 Thread jkn
Hi all (I tried to send this a few days ago and thought it got through, but I haven't seen the posting since. Apologies if this is a double post. I'm using Google Groups; I presume there is no alternative for this group?) I would like to play around with my own keybindings for some parts of

can I specify key bindings using the Numeric keypad keys?

2013-08-01 Thread jkn
(apologies in advance: I have only done minor searching before asking. This may be a Qt, rqather than a Leo, question... ) I am starting to look into creating my own set of Key bindings for Leo. Is there a way to specify that, on a 'standard' PC keyboard, a particular key on the numeric keypad

Re: can I specify key bindings using the Numeric keypad keys?

2013-08-01 Thread jkn
: On Mon, Jul 29, 2013 at 8:05 AM, jkn jkn...@nicorp.f9.co.uk javascript: wrote: (apologies in advance: I have only done minor searching before asking. This may be a Qt, rqather than a Leo, question... ) It's both. I am starting to look into creating my own set of Key bindings for Leo

feature request - insert headline before current

2013-09-22 Thread jkn
Hi Edward (Background - I am experimenting with changing my Leo Key bindings to make it work more closely to other (lesser ;-) outliners I am more used to than Leo) One thing that I think is missing from Leo is a primitive command 'insert headline before current'. I would like to bind

Re: feature request - insert headline before current

2013-09-23 Thread jkn
Hi Fidel Jacob Thanks both - that's very useful and just the sort of experimenting that will be good for me to have a go at ;-) Regards Jon N -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop

Re: feature request - insert headline before current

2013-09-23 Thread jkn
On Monday, 23 September 2013 14:19:05 UTC+1, Edward K. Ream wrote: [...] A good start, but the script does not handle undo properly. I'll attempt an improvement. Edward Heh - it was in part understanding the the undo functionality that put me off trying to 'replicate'

Re: feature request - insert headline before current

2013-09-23 Thread jkn
Hi Edward On Monday, 23 September 2013 15:45:49 UTC+1, Edward K. Ream wrote: On Mon, Sep 23, 2013 at 8:19 AM, Edward K. Ream edre...@gmail.comjavascript: wrote: A good start, but the script does not handle undo properly. I'll attempt an improvement. Rev 6030 adds the new

Re: feature request - insert headline before current

2013-09-23 Thread jkn
Hi Edward On Monday, 23 September 2013 19:18:26 UTC+1, Edward K. Ream wrote: On Mon, Sep 23, 2013 at 11:18 AM, jkn jkn...@nicorp.f9.co.ukjavascript: wrote: you might want to correct the docstring ;-o Fixed at rev 6032. EKR Looking good, thanks very much! And I can now see eg. def

Re: ellipsis on Command menu items?

2013-09-25 Thread jkn
On Friday, 13 September 2013 14:18:37 UTC+1, Terry wrote: On Fri, 13 Sep 2013 03:41:06 -0700 (PDT) rholland rod.h@gmail.com javascript: wrote: 1) no ellipsis for flyouts - the triangle provides the indication 2) use an ellipsis if the primary menu brings up a dialog box (or

Re: feature request - insert headline before current

2013-09-25 Thread jkn
Hi Edward Ah - I think you didn't quite get what I was asking. I've got it now, so have written it below for reference and clarity: A pane-specific keybinding is *created* with entries in @settings-@keys-@shortcuts like: scroll-down-page ! tree = Next but it is *reported* (eg. if I

Re: feature request - insert headline before current

2013-09-25 Thread jkn
On Wednesday, 25 September 2013 22:17:26 UTC+1, jkn wrote: Hi Edward Ah - I think you didn't quite get what I was asking. I've got it now, so have written it below for reference and clarity: A pane-specific keybinding is *created* with entries in @settings-@keys-@shortcuts like

Re: feature request - insert headline before current

2013-09-25 Thread jkn
(oops, apologies for double-posting ... Google Groups grr...) Spurred on by my triumph I have experimented with adding a new primitive of my own! This allows me to have a key combination to expend or contract a node depending on its current state. Apologies if there's already a way of doing

Re: feature request - insert headline before current

2013-09-26 Thread jkn
Hi Edward On Thursday, 26 September 2013 01:37:02 UTC+1, Edward K. Ream wrote: On Wed, Sep 25, 2013 at 5:00 PM, jkn jkn...@nicorp.f9.co.uk javascript: wrote: Spurred on by my triumph I have experimented with adding a new primitive of my own! Welcome to the world of Leo scripts

some novice scripting event handler questions

2013-09-29 Thread jkn
Hello there: 1) I'm starting to play with event handlers in scripts. I see that as well as registerHandler() (documented) there is also unregisterHandler() (seemingly undocumented). unregisterHandler() seems to require a/the handler function to be in the same node as the call, which seems a

Re: some novice scripting event handler questions

2013-09-29 Thread jkn
Hi Terry [...] I think it's the scope issue, you need to pass the handler back in to g.unregisterHandler. So if the unregister call is in a separate node, called separately, you probably need: Node 1 def foo(): blah() g._foo = foo

  1   2   3   4   5   6   >