Re: SyntaxError: Non-ASCII character '\xc3' in file

2017-10-25 Thread derwisch
Am Mittwoch, 25. Oktober 2017 11:46:57 UTC+2 schrieb Edward K. Ream: > > On Wed, Oct 25, 2017 at 12:29 AM, derwisch < > johannes...@med.uni-heidelberg.de > wrote: > > When I am using non-ASCII characters in heading or body of a node, I get >> the above error message.

SyntaxError: Non-ASCII character '\xc3' in file

2017-10-24 Thread derwisch
When I am using non-ASCII characters in heading or body of a node, I get the above error message. Is it possible to make Leo cope with unusual characters? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop

Re: Error starting Leo: 'NoneType' object has no attribute 'QObject'

2017-10-24 Thread derwisch
Am Dienstag, 24. Oktober 2017 15:18:10 UTC+2 schrieb Chris George: > > Hope this helps. > > This helps indeed, thank you! > On Tue, Oct 24, 2017 at 5:54 AM, lewis > wrote: > >> Johannes appears to have followed the installation guide exactly as per >>

Re: Error starting Leo: 'NoneType' object has no attribute 'QObject'

2017-10-24 Thread derwisch
Am Dienstag, 24. Oktober 2017 11:10:35 UTC+2 schrieb Edward K. Ream: > > > Does that help? > > Edward > Sadly, no. Still the same messages: Traceback (most recent call last): File "launchLeo.py", line 8, in leo.core.runLeo.run() File

Error starting Leo: 'NoneType' object has no attribute 'QObject'

2017-10-24 Thread derwisch
I am trying to install Leo on my 32bit Intel machine running Debian Stretch, with Python 2.7.13 installed. I downloaded the latest sources using git clone. Then I tried to install Leo typring cd ~/leo-5.5 sudo python setup.py install and got the error message "cd: Too many arguments". Then, I

Re: Leo reimagined: a tree/dag/view for every attribute!!!

2016-07-06 Thread derwisch
Am Dienstag, 21. Juni 2016 15:04:34 UTC+2 schrieb Edward K. Ream: > > > Yes, I thought my Aha was important, but at present I don't see much use > for multi-colored threads. ​They look like a solution in search of a > problem. Otoh, the "perfect problem" might exist :-) > > Hm. I remember

Re: Why is Leo great?

2016-07-06 Thread derwisch
Am Dienstag, 5. Juli 2016 22:02:21 UTC+2 schrieb Propadovic Nenad: > > I don't mean that I'm entitled to this kind of hand-holding; it's more, I > think that this would be the kind of information that would draw many more > Python programmers, and potentially other programmers to Leo. > >

Re: RST3 to ODT and/or RTF?

2014-09-26 Thread derwisch
Am Mittwoch, 24. September 2014 15:50:08 UTC+2 schrieb derwisch: I have edited leo_settings accordingly (along with verifying that rst3_generate_rst is True), then exited and restarted Leo (as I don't know how to re-read leoSettings.leo from Leo). However, the file with extension

Re: rst3 newbies, please try the rst3 tutorial

2014-09-26 Thread derwisch
Am Dienstag, 29. Oktober 2013 16:04:19 UTC+1 schrieb Edward K. Ream: The tutorial is at http://leoeditor.com/tutorial-rst3.html It would be very helpful if those with little or no experience with Leo's rst3 command try to follow the tutorial and report any problems, roadblocks or

setting ToDo status from script

2014-09-23 Thread derwisch
I am trying to set a priority of a node and all its ancestors. After reading the documentation in http://leo.zwiki.org/Todo, I am still uncertain what the object is the method should be applied to. Here's my code def markUpwards(p): for ancestor in p.self_and_parents():

rst3 test

2014-09-22 Thread derwisch
After some absence from the usage of Leo, I am trying to rekindle my interest. Currently I am trying to bridge the gap between what Leo produces and what my colleagues use. An export of an HTML document would be about halfway there. If I open the above file with Leo, enter the headline named

Re: rst3 test

2014-09-22 Thread derwisch
Am Montag, 22. September 2014 14:43:04 UTC+2 schrieb lewis: I opened your file and followed your alt-x rst3 steps. It produced a file versuch.html in the same directory. Do you have docutils installed? Didn't say I didn't but that seems to be the problem. Thanks for testing and

Re: Why Leo isn't more popular

2013-10-02 Thread derwisch
Am Montag, 30. September 2013 17:31:42 UTC+2 schrieb Terry: I think a lot of the problem is defining what Leo is. To me, it's to directed acyclic graphs what MS Excel is to tables. -- You received this message because you are subscribed to the Google Groups leo-editor group. To

Re: Macroes in leo

2010-09-21 Thread derwisch
On 20 Sep., 13:43, derwisch johannes.hues...@med.uni-heidelberg.de wrote: On 19 Sep., 10:25, Ivanov Dmitriy usr...@gmail.com wrote: For example, I have a LaTeX file, in which I must write subscripts for the line: A1, A2, ..., An transfer it to: $A_1$, $A_2$, ..., $A_n$ This can

Re: Macroes in leo

2010-09-20 Thread derwisch
On 19 Sep., 10:25, Ivanov Dmitriy usr...@gmail.com wrote: For example, I have a LaTeX file, in which I must write subscripts for the line: A1, A2, ..., An transfer it to: $A_1$, $A_2$, ..., $A_n$ This can be done by regexp replacing [A][0-9] by $\1_\2$. In Emacs. Don't know how this

Re: Feature request: automatically name new chunk

2010-04-27 Thread derwisch
On 26 Apr., 16:42, Ville M. Vainio vivai...@gmail.com wrote: On Mon, Apr 26, 2010 at 3:10 PM, derwisch johannes.hues...@med.uni-heidelberg.de wrote: At the moment I am missing a feature I would really like to have: When inserting a new node (normally by pressing Ctrl-I), I would like

Feature request: automatically name new chunk

2010-04-26 Thread derwisch
At the moment I am missing a feature I would really like to have: When inserting a new node (normally by pressing Ctrl-I), I would like to have Leo check if I am currently in the edit pane and if the current line starts with and ends with . If that's the case, set the inserted node's headString

Re: rst with show-comments-as-paragraph

2010-02-08 Thread derwisch
Is there anyone here who could help me on this? It would be really nice if I didn't have to restrain myself to comments only at the top of a node. On 4 Feb., 19:00, derwisch johannes.hues...@med.uni-heidelberg.de wrote: It seems that this option only works as expected for comments

rst with show-comments-as-paragraph

2010-02-04 Thread derwisch
It seems that this option only works as expected for comments at the beginning of a node. A Leo file with the following contents would be rendered with the second comment inside the PRE-element of the code paragraph. I am using Leo 4.7b2, build 2404 ?xml version=1.0 encoding=utf-8?

Leo-4.6-final (QT): Alt Gr modification on German keyboard not recognised

2009-10-22 Thread derwisch
It seems that Qt support under Windows comes with some problems, at least for me. The German keyboard has delegated some symbols unfamiliar in German texts, such as \ and @, to keystroke combinations with the key right to the space key, which is labelled Alt Gr on German keyboards. With Leo

Re: OT: The Monty Hall Problem

2009-10-09 Thread derwisch
On Oct 8, 4:28 pm, Edward K. Ream edream...@gmail.com wrote: On Thu, Oct 8, 2009 at 6:15 AM, derwisch Science is full of schools which rather resemble competing tribes than people presenting contradicting facts, and agreeing to a common mindset might rather accelerate than impede

Re: OT: The Monty Hall Problem

2009-10-08 Thread derwisch
On Oct 7, 3:35 pm, Edward K. Ream edream...@gmail.com wrote: On Wed, Oct 7, 2009 at 8:11 AM, Edward K. Ream edream...@gmail.com wrote: Imo, it is impossible to read any of the following and go away with the conclusion that evolutionary theory is anything but plain fact: One of the

Re: OT: The Monty Hall Problem

2009-10-05 Thread derwisch
I heard it so often that I can't really get it how one could not get it, although it took me myself a while to appreciate the problem. On Oct 5, 11:49 am, Ville M. Vainio vivai...@gmail.com wrote: I may be autistic or something, but I still don't get it. (Unless the game has a rule where

Re: A new group for newbies: leo-editor-newbies

2009-09-03 Thread derwisch
On Sep 2, 7:54 pm, Edward K. Ream edream...@gmail.com wrote: On Sep 2, 12:42 pm, Edward K. Ream edream...@gmail.com wrote: How about leo-users instead of newbies (newbie stage doesn't last forever anyway)? That would have been a better title.  Maybe I should create that group and

Re: rST export from leo 4.6.2

2009-07-20 Thread derwisch
On 14 Jul., 18:14, Edward K. Ream edream...@gmail.com wrote: [...] Please test all your reStructured text files immediately and report success or failure.  I haven't yet decided whether to make the new code part of the Leo 4.6 final release. Ouch. I haven't read your answer until now. I

Re: rST export from leo 4.6.2

2009-07-09 Thread derwisch
I seem to have another problem with rST export. Until recently, rst3, with the following file: ?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 global_window_position

Re: Coming in Leo 4.7: all clones are the same node

2009-07-09 Thread derwisch
On Jul 9, 10:57 am, Ville M. Vainio vivai...@gmail.com wrote: On Thu, Jul 9, 2009 at 11:54 AM, derwischjohannes.hues...@med.uni-heidelberg.de wrote: This would mean in order to restore uA's for relations, the members of v.children (currently v.t.children, if I read the code correcty)

Re: rST export from leo 4.6.2

2009-07-03 Thread derwisch
On 27 Jun., 04:16, Edward K. Ream edream...@gmail.com wrote: I think what you want is the rst3 command. Yes, and I think it's a good thing that it has been removed from the Edit section of the menu. It took me a bit to find out that Alt-x is for commands, in Emacs I habitually use ESC x,

Installing SIP on Python

2009-06-26 Thread derwisch
Could anyone give me a hand on how to install SIP on Windows? I know it's an offtopic question, so feel free to ignore, but I sometimes find it easier to ask a question in a group I know than to subscribe to a new mailing list in order to have one specific question answered. I have downloaded

Re: Installing SIP on Python

2009-06-26 Thread derwisch
On 26 Jun., 09:43, Ville M. Vainio vivai...@gmail.com wrote: There are binary installers at http://www.riverbankcomputing.co.uk/software/pyqt/download e.g.http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.5... Kiitos!

rST export from leo 4.6.2

2009-06-26 Thread derwisch
As I gather, rST export has wisely been moved into the core of Leo. How do I export *.html nodes to file now that the Edit -- Write Restructured Text menu item doesn't exist anymore? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

How to get into Qt

2009-06-26 Thread derwisch
As I am finally gyrating towards Qt, I feel I have to overcome initial difficulties. Especially i would like to have some Qt replacement for EditAttributes. What would be a good place to start in order to learn about the implementation of canvases, dialog boxes, buttons etc. in PyQt under Leo

Problems when installing Leo

2009-06-16 Thread derwisch
I am trying to install Leo 4.6 b1 under Windows XP by running Leo-4.6- b1.exe. After that, I tried to run launchLeo.py from cmd.exe. This is the error message I got: Traceback (most recent call last): File C:\Programme\Python25\Lib\site-packages\Leo-4-6- b1\launchLeo.py, line 8, in module

rst3 question: code section

2008-11-24 Thread derwisch
Dear all, could anybody tell me how to get rid of the code: headline above each code chunk in an rst3 rendered document? Greetings Johannes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups leo-editor group. To

Blog about headless IDEs

2008-10-31 Thread derwisch
http://orestis.gr/blog/2008/10/29/towards-headless-ides/ To me it seems that Leo plays quite well with the outside world, but I still hate to see how every editor has to be configured for every language for auto-completion and syntax-highlighting. Is there some hope that some of the highlighting

Re: Trouble with rst

2008-10-29 Thread derwisch
Look for invalid rst syntax. Cheers, that was it. These are the things that work so nice in Leo: Move-left the possibly offending node, re-export and presto. If none is apparent, use the divide-by-two method to narrow the problem to the top or bottom half of your sources, then continue

Re: small suggestions to improve the menus

2008-08-20 Thread derwisch
While we're at it: Each time after not having used rst3 for a while I must remind myself that the entry Write restructured text is to be found under Edit instead of File where I would expect it. Is it just me? --~--~-~--~~~---~--~~ You received this message

Re: Leo 4.5 b3 released

2008-08-19 Thread derwisch
Ok I admit I didn't load and test this version yet, but I found a small bug which I'll just assume persists in the current version: When I select Read file into node from the menu, the file selector dialog window has the title Read Outline Only. I thought I had selected the wrong menu entry.

Performance problems: displaying the tree

2008-08-18 Thread derwisch
We are experiencing considerable performance problems when working with larger documents. One of these documents has ~2000 nodes. When all of them are expanded, any action that changes the structure of the tree (collapsing a subtree, editing a headline) takes about 2 minutes to complete. It gets

Re: OT: Navigating between Tkinter elements

2008-07-18 Thread derwisch
(passing state?) On 17 Jul., 19:09, Terry Brown [EMAIL PROTECTED] wrote: you can also make instances of classes callable by defining __call__, class Mover(object):     def __init__(self, w, n):         self.w = w         self.n = n     def __call__(self):         for i in range(n):

Help with Python: mapping

2008-06-13 Thread derwisch
Greetings, I am stuck with a piece of code and I am in need of more eyeballs. Could anybody take the time and tell me where my error is? I am trying to select all nodes in a subtree of the current node that are Logic nodes in the Cleo meaning. @ Collect all nodes with archetype Logic.

Re: Help with Python: mapping

2008-06-13 Thread derwisch
I got it. In def collectRules(p):     return [node for node in p.self_and_subtree_iter() if Cleo.getat(node.v, 'archetype') == 'Logic'] it should read p.sef_and_subtree_iter(copy=True). Sorry for molesting this list. --~--~-~--~~~---~--~~ You received this

Re: $200 reward for gui plugins

2008-06-12 Thread derwisch
On Jun 10, 8:29 pm, Kayvan A. Sylvan [EMAIL PROTECTED] wrote: On Tue, Jun 10, 2008 at 08:21:46AM -0700, Edward K. Ream wrote: I agree.  One of the biggest marketing blunders in Leo's history was to position Leo as a literate programming tool. Well, I would not have known about LEO if it

Re: Weave as rsT

2008-06-12 Thread derwisch
I was victimized by my own tendency to avoid the read first, ask questions later principle. On Jun 5, 12:28 pm, derwisch [EMAIL PROTECTED] wrote: There is one function I am consistently missing. Maybe it is about time I scratch this itch myself. [...] Lacking these tools at my office PC, I

Weave as rsT

2008-06-05 Thread derwisch
There is one function I am consistently missing. Maybe it is about time I scratch this itch myself. Nonwithstanding Edwards arguments about the representation of a literate program as a tree rather than as a text (or as a dictionary rather than as a novel), sometimes I just need a documented set

Read file into node doesn't remember directory

2008-06-05 Thread derwisch
Hi all, when I repeatedly enter the read file into node command, the file seclection dialogue always starts with my home directory. It would be much nicer if it started at the directory from where the last file was read. Greetings Johannes --~--~-~--~~~---~--~~

Re: Read file into node doesn't remember directory

2008-06-05 Thread derwisch
when I repeatedly enter the read file into node command, the file selection dialogue always starts with my home directory. whoops I forgot: Leo 4.8.1, Mac OS X 10.3.9 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: parents problems

2008-05-02 Thread derwisch
On 28 Apr., 01:50, Edward K. Ream [EMAIL PROTECTED] wrote: But my real point is that the asymmetry between v.parents and v.t.children is that v.parents is in essence a set, while v.t.children is a list in which position matters (a lot). Perhaps this is the clearest way to demonstrate the

Re: vnodes, tnodes, and unknownAttributes

2008-04-16 Thread derwisch
On Apr 16, 5:01 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Wed, Apr 16, 2008 at 9:08 AM, Terry Brown [EMAIL PROTECTED] wrote: Ah, now I understand the two clones can share the same parent bit, I didn't get it until now.  But is there anything, in the most general of generalized