I recently became interested in trying Leo as a PIM after learning that it does outlining with CLONES -- WOOHOO!
But I'm having some problems: ISSUE 1 - pythonw.exe won't run Leo ------------- I can run the Leo editor via python.exe, but not via pythonw.exe. For example, it works to run any of the following, which use python.exe: - C:\Leo\launchLeo.py - C:\Python33\python.exe C:\Leo\launchLeo.py - C:\Windows\py.exe C:\Leo\launchLeo.py However, when I try to use pythonw.exe, the splash screen and a small window open and then quickly close, and the editor never opens, e.g.: - C:\Python33\pythonw.exe C:\Leo\launchLeo.py - C:\Windows\pyw.exe C:\Leo\launchLeo.py Interestingly, pythonw.exe does work if I run it from a batch file with > Log.txt, like this: C:\Python33\pythonw.exe C:\Leo\launchLeo.py > Log.txt I can then close the command window, and the editor remains open. (I got the idea to try that from this post): https://groups.google.com/d/msg/leo-editor/bSgl7p9mPJ8/MUm2HhH2qEEJ Here are posts where other people reported the same or similar problems: https://groups.google.com/d/msg/leo-editor/hDHIBAaAeIs/DcDzPx4J0YwJ https://groups.google.com/d/msg/leo-editor/oDZh2MHuwMY/ss9agOodEk8J https://groups.google.com/d/msg/leo-editor/r7bEAuqFxBE/sd3MNKXUkhcJ https://groups.google.com/d/msg/leo-editor/aS8DcFwP4c0/G1l21E-7l_0J https://groups.google.com/d/msg/leo-editor/qglPWiqnyog/0IZKAcVBhK0J ... Yeah, I know, it's probably because I'm running *Vista* ... ISSUE 2 - clipboard shenanigans ------------- When I run Leo, after the editor opens, a large quantity of text has been placed on my clipboard, including a lengthy excerpt from - of all things - *War and Peace!* :o At the bottom of this post I have pasted some of what gets copied to my clipboard. The entire clipboard contents are a whopping 5628 characters. But even MORE unnerving is that after I close the Leo editor, if I type something in my text editor (NoteTab) and then paste from the clipboard, it DELETES whatever I just typed!! ISSUE 3 - setting an external editor ------------- I can't figure out how to set NoteTab as my external editor. In quickstart.leo there's a headline called "Using your favorite editor to edit nodes," but its instructions go WAY over my head. It contains a command, so I thought, maybe if I just execute it, a lovely dialog will pop up and ask me for the path of my text editor! But when I pressed Ctrl+B, I just got an error in the Log. I tried copying the command (g.app.db['LEO_EDITOR'] = "gvim") to a separate headline and executing it, and at first I assumed it didn't do anything, because I got no message in the Log... But later I discovered that my context menu had changed from "Edit in Notepad" to "Edit in gvim" ... Wait a minute! And of course, running that didn't do anything either. So I changed the code to g.app.db['LEO_EDITOR'] = "NoteTab", so now my context menu LOOKED great: "Edit in NoteTab"... but of course it still didn't do anything. So I added the full path for the NoteTab executable to the code, but I just got another error... Oh, the trials of being a noob... So... I'm excited about Leo's potential, but tbh, it's making me a little nervous the way it keeps "sneaking around" on me! ;) I will be most grateful for any help. :) ----- EXCERPT FROM CLIPBOARD ----- <?xml version="1.0" encoding="utf-8"?> <!-- Created by Leo (http://leoeditor.com/leo_toc.html) --> <?xml-stylesheet ekr_test?> <leo_file xmlns:leo="http://www.leo-editor.org/2011/leo" > <leo_header file_format="2"/> <vnodes> <v t="ekr.20131030071311.18723"><vh>The rst3 tutorial</vh> <v t="ekr.20131030071311.18732"><vh>@rst ~/myDocument.html</vh> <v t="ekr.20131030071311.18733"><vh>Chapter I</vh> <v t="ekr.20131030071311.18734"><vh>@rst-ignore</vh></v> </v> <v t="ekr.20131030071311.18735"><vh>@rst-ignore-tree Chapter 2+</vh> <v t="ekr.20131030071311.18736"><vh>Chapter II</vh> <v t="ekr.20131030071311.18737"><vh>translation</vh></v> </v> </v> <v t="ekr.20131030071311.18738"><vh>Chapter XII</vh></v> <v t="ekr.20131030071311.18739"><vh>@rst-no-head The End</vh></v> </v> <v t="ekr.20131102044158.16563"><vh>~/myDocument.html.txt</vh></v> </v> </vnodes> <tnodes> <t tx="ekr.20131030071311.18723">Here is an expanded version of the example from http://leoeditor.com/tutorial-rst3.html Control-click the URL above to open the page in your browser. Notes: 1. The Startup node in this file contains the settings for the rst3 command. If you use sphinx, **set @bool rst3_call_docutils = False**. 2. Leo will not create ~/myDocument.html automatically. Only the rst3 command does that. 3. Executing the make-sphinx command will do everything needed to make myDocument.html. The @button make-sphinx node (a child of the Startup node) creates the make-sphinx command. 4. The node myDocument.html.txt is the intermediate file produced by the rst3 command. </t> <t tx="ekr.20131030071311.18732">############# War and Peace ############# by Leo Tolstoy/Tolstoi BOOK ONE: 1805 </t> <t tx="ekr.20131030071311.18733">"Well, Prince, so Genoa and Lucca are now just family estates of the Buonapartes. But I warn you, if you don't tell me that this means war, if you still try to defend the infamies and horrors perpetrated by that ... (see what I did there? ;) -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
