Re: OT: What's a raspberry pi good for?

2017-01-21 Thread gatesphere
On 1/21/2017 5:57 AM, Edward K. Ream wrote: On Fri, Jan 20, 2017 at 9:02 AM, Edward K. Ream > wrote: I was given a raspberry pi 3 for Christmas. It's still unopened. Anyone know a real use for it? ​Thanks for the replies. My concern is that the internet

Re: MD or RST?

2016-03-25 Thread gatesphere
On 3/25/2016 8:25 PM, Edward K. Ream wrote: On Fri, Mar 25, 2016 at 4:14 PM, 'Terry Brown' via leo-editor mailto:leo-editor@googlegroups.com>> wrote: Furthermore, why not have the "id" be WhateverProvider.__class__.__name__? This works provided that each Provider class actually has a distinct

Re: Leo's future

2015-08-18 Thread gatesphere
Good question... and one I'm entirely unqualified to answer! ...Edward? -->Jake On 8/18/2015 9:35 PM, David McNab wrote: How does @clean handle it when a teammate does a major restructure of a module? For example, refactors a Python class into a base, a derived plus a mixin, and moves 4 globa

Re: xkcd: Bwahahaha.

2015-08-16 Thread gatesphere
On 8/16/2015 11:11 AM, Edward K. Ream wrote: On Sat, Aug 15, 2015 at 7:52 PM, john lunzer > wrote: I don't get it (even after doing research), I'm definitely not cool enough for the internet, but xkcd often makes me feel like an inferior life form. ​Private

Re: Simple interactive scripts

2015-07-16 Thread gatesphere
Or, much simpler, leverage the power of the GUI: s = g.app.gui.runAskOkCancelStringDialog(c,'Input','Please input a value:') if s is not None: g.es('user supplied', s) else: g.es('user cancelled dialog') Simple! :) There's also a runAskOkCancelNumberDialog, if you need a float. Ot

Re: c global var getting locked to a window?

2015-07-09 Thread gatesphere
It's a bit hacky, but you can replace 'c' with 'g.app.log.c' to get the current active commander. I think. YMMV. -->Jake On 7/9/2015 3:22 PM, john lunzer wrote: I'm working on a plugin that right now I have implemented as a @command. I'm creating a floating window that I would like to persis

Re: A cute idea: replay the undo stack as a screencast

2015-04-19 Thread gatesphere
On 4/19/2015 11:57 AM, Edward K. Ream wrote: I got the idea from thinking about making a video called, "watch over Edward's shoulder as he fixes a bug". The command would "rewind" the undo stack to the beginning, and then show the screen after each operation, with, say, a 2-second pause betwe

Off topic: Programmer Collective Nouns

2015-04-12 Thread gatesphere
https://gist.github.com/mariusGundersen/6925246 So, if it's an Indentation of Pythonistas... are we a Vnode of Leonistas here? :P A Clone? A Subtree (with Edward as our root)? :P -->Jake -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To uns

Re: More is more :-)

2015-03-20 Thread Gatesphere
You could use Leo to write markdown, vr2 to render it, and then copy+paste the rendered html into your Google groups message box. I think. > On Mar 20, 2015, at 3:42 PM, Edward K. Ream wrote: > > I've been astounded at how much I enjoy writing notes in Leo's bug pages. > Look at all the coo

Re: Howto define a global rst3 stylesheet_name?

2015-03-17 Thread Gatesphere
Yup! On Mar 17, 2015, at 12:11 PM, frakel12 wrote: >> >> Please file a bug report. Either the rst3 command should handle the >> "external" options or the options should be removed. Probably the former. > Is this the right place for bug-reports: > https://github.com/leo-editor/leo-editor/

Re: @persistence (related to @auto-rst)

2015-02-16 Thread gatesphere
On 2/16/2015 3:15 PM, Edward K. Ream wrote: The default for this new setting will always be False, so the @persistence nodes will never be created without the user's knowledge. However, power users might prefer that @persistence nodes *are* created when needed, and setting the new setting to

Re: @persistence (related to @auto-rst)

2015-02-16 Thread gatesphere
On 2/16/2015 12:36 PM, Edward K. Ream wrote: ​The place to search first is LeoDocs.leo. I feel like that line itself should be documented in big boldface type on Leo's website. -->Jake -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscr

Re: @auto-rst vs. @nosent

2015-02-14 Thread gatesphere
On 2/14/2015 1:13 PM, Edward K. Ream wrote: On Sat, Feb 14, 2015 at 9:55 AM, Largo84 > wrote: ​...when I change my @auto-rst files to @nosent files, the resulting files do not contain the RST section headers that were automatically added by @auto-rst. ​

Re: New @nosent operation described in Leo's tutorial

2015-02-12 Thread Gatesphere
Another +1 from me :) -->Jake On Feb 12, 2015, at 4:47 PM, Kent Tenney wrote: >> Perhaps the proper @auto importer could be used > > if that would mean a new @nosent got brought in > with the simple elegance of @auto: > +1 > > I'm not fond of menu->import file->browse->click > ... file app

Re: File management potential in Leo

2015-01-30 Thread gatesphere
On 1/30/2015 2:18 PM, Don Dwiggins wrote: Just to add a bit of weight to this: In the ancient PIM I use, and which I'm hoping to replace with Leo, you can have multiple "notepads", each a view on some part of an underlying structure. This allows me to have separate notepads for various aspect

Re: What is the recommended way to install on Linux?

2014-11-17 Thread gatesphere
On 11/17/2014 6:33 PM, Chris George wrote: Heh. The deb file includes the hidden directories. .git contains 121.5MB of stuff. Correcting now. .git is a hidden killer. Tell your friends! On Monday, November 17, 2014 3:24:39 PM UTC-8, Chris George wrote: Good question. All I did was c

Re: Traceback - bigdash.py

2014-09-19 Thread gatesphere
Help-for-command provides the docstrings of alt-x commands, not the plugins. So, /Alt-x global-search / would give you the docstring of global-search (if it had one defined). Unfortunately, the docstrings are the only documentation for many (all?) plugins, so the plugin authors really should

Re: Git hooks for version reporting

2014-08-16 Thread gatesphere
On 8/16/2014 6:42 AM, Edward K. Ream wrote: On Fri, Aug 15, 2014 at 7:48 AM, Jacob Peck wrote: Done as of the current commit. Leo now reports the following on startup: Leo 4.11 final, build 20140815084439, Fri Aug 15 08:44:39 2014 Git repo info: branch = master, commit = 2cda89f4411b Pytho

Re: vim bindings reports

2014-08-14 Thread gatesphere
I just noticed this: In real vim, when you're in colon-mode, escape cancels out of the minibuffer. Leo's vim mode does the same thing, except on the commands which use the file completion. Escape there literally appends the string 'Escape' to the entry in the file completion process. -->Ja

Re: Vim emulation: ready for testing!

2014-08-14 Thread gatesphere
As a data point, '@settings -> @bool vim-mode = True' enables Vim-mode with proper : handling for me, and I'm running on: Leo 4.11 final, build 4f355e273b8d (branch: master), 2014-08-14 21:21:05 Python 2.7.3, PyQt version 4.8.4 Windows 7 AMD64 (build 6.1.7601) SP1 I didn't run with an empty c

Re: Internal (Wiki-like) link support in Leo?

2014-08-14 Thread gatesphere
I use a combination of the backlink and graphcanvas plugins for this. The new nodetags plugin might help too. Terry and others swear by the bookmarks plugin. None of those options allows clickable links within the body of a node, however. I imagine ctrl-clicking on a UNL would work, though.

Re: A quick-and-dirty tag API can now be had with the nodetags.py plugin

2014-08-04 Thread gatesphere
On 8/4/2014 4:15 PM, dufriz wrote: I can't believe it. What's next? Now the UI displays the tags for the currently selected node, and those tags act as selectors for displaying all nodes with that tag. The only things left are: - UI for adding tags to nodes - UI for removing tags from nod

Re: Good luck with the hips

2014-06-14 Thread gatesphere
Agreed. I wish you a speedy recovery :) -->Jake On 6/14/2014 4:42 PM, duf...@gmail.com wrote: Good luck, Edward. All the best. -- 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, sen

Re: log window version numbers

2014-06-12 Thread gatesphere
Hi Terry, In Win7/Py 2.7/PyQt4 I get: Leo 4.11 final, build 5d56a98ee77c (branch: master), 2014-06-12 20:12:12 Python 2.7.3, qt version 4.8.4 Windows 7 AMD64 (build 6.1.7601) SP1 Was your Win7 copy not checked-out from git? There's some fall-back code in leoVersion.py that goes back to read

Re: Support for Qt5 has begun

2014-06-12 Thread gatesphere
Just updated Leo from github, and Win7/Python 2.7/PyQt4 gives me this error: exception importing plugin leo.plugins.viewrendered2 Traceback (most recent call last): File "C:\cygwin\home\Jake\programming\leo\leo-editor\leo\core\leoPlugins.py", line 548, in loadOnePlugin __import__(moduleN

Re: Using leoBridge from within Leo, or using several outlines from a "main" one

2014-05-05 Thread gatesphere
On 5/5/2014 6:56 AM, Fidel N wrote: Hi: Im trying to use another outline from within the current outline. Basically,the objective is to have another outline nodes and tree loaded as "virtual nodes" so I can work with them from within the currently open outline. The thing is that several outlin

Of interest w/r/t recent SherlockTracer work?

2014-03-30 Thread gatesphere
Google just open-sourced a python debugger that's capable of attaching to running processes and injecting code into them. https://github.com/google/pyringe Thought it might be of interest given Edward's recent work on g.SherlockTracer... -->Jake -- You received this message because you are

Re: Working on the VR2 plugin

2014-03-19 Thread gatesphere
On 3/19/2014 7:22 PM, lewis wrote: I have noticed that recent leo builds* don't render rst with the standard viewrendered.py Rendering of rst only works using viewrendered2.py Can anyone confirm this behaviour? * recent builds are 7b4c6bf82119, 0a9373836f71, and 042b3a51ba03 Regards Lewis Con

Re: Store and find exact UNL, even if there are repeated node names

2014-03-06 Thread gatesphere
On 3/6/2014 9:21 AM, Terry Brown wrote: On Thu, 6 Mar 2014 02:16:33 -0800 (PST) Fidel N wrote: Is there a reason why UNL's don't keep the number of nodes with the same node inside its string? Same way as xPath does? "Node name [number]->> Node name[Number]-->" Only that multiple same name

Re: Working on the VR2 plugin

2014-02-27 Thread gatesphere
On 2/27/2014 12:25 PM, Edward K. Ream wrote: I would like to take a break now and let Peter and Jake have a go at the code. Perhaps my definition of 'soon' is more lax than yours :) I may poke at this today or tomorrow, but I don't expect any of my work to begin in earnest until Saturday, and

Re: Working on the VR2 plugin

2014-02-27 Thread gatesphere
On 2/27/2014 11:31 AM, Edward K. Ream wrote: This thread will be for coordination among all those who are modifying the viewrendered2.py plugin. I've completed a thorough reorg of the code. This was a useful exercise for me. Still on my to-do list: 1. Complete the new code_directive method

Re: Gtk-CRITICAL error messages to Leo-Editor's standard error

2014-02-23 Thread gatesphere
More info: http://stackoverflow.com/questions/18416201/core-dump-with-pyqt4 The second answer seems to say that QObjects created without a parent are owned by Qt instead of Python, and when they are destroyed they call the destructor twice. -->Jake On 2/23/2014 4:59 PM, gatesphere wr

Re: Gtk-CRITICAL error messages to Leo-Editor's standard error

2014-02-23 Thread gatesphere
This seems to be a quirk of how python deletes objects after it's done with them. Here's what I found on StackOverflow: http://stackoverflow.com/questions/12433491/is-this-pyqt-4-python-bug-or-wrongly-behaving-code No clue how we could fix it, though... -->Jake On 2/23/2014 4:24 PM, SegundoB

Re: Leo program fails to show content of a certain Leo outline ...

2014-02-20 Thread gatesphere
On 2/20/2014 3:49 PM, Viktor Ransmayr wrote: Hello Edward & Community, @ Fidel, Terry & Ville: Thank you for your feedback on how I can improve my workflow. - I will adapt ... However, since I did not have any 'bad' experience with (the bzr snapshot version of) Leo so far, I have done *only*

Re: What happened to @@data abbreviations-examples?

2014-02-18 Thread gatesphere
On 2/18/2014 7:25 PM, Edward K. Ream wrote: Should this be in leoSettings.leo? Is it hiding somewhere? Edward -- During the Great leoSettings.leo Purge of November 2013, you moved them to leo/config/exampleSettings.leo: https://github.com/leo-editor/leo-editor/commit/dc43fa34ac95e93e1f9f2b502

Re: Comments & problems following the git migration script

2014-02-09 Thread gatesphere
On 2/9/2014 10:34 AM, Edward K. Ream wrote: I'm doing a trial run through Jake's git migration script at: https://gist.github.com/gatesphere/3705ae43f0327a510e7e 1. You have to install the bzr-fastimport plugin. NP.| 2. Attempting: | | # still in the 'leo-editor' (git

Re: I'm back

2014-02-08 Thread gatesphere
e importantly, we have a tested transition path from bzr to git: https://gist.github.com/gatesphere/3705ae43f0327a510e7e -->Jake -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

Re: Blog post: Leo scripting tutorial

2014-01-29 Thread gatesphere
On 1/29/2014 9:57 PM, Matt Wilkie wrote: On Wed, Jan 29, 2014 at 5:40 AM, Edward K. Ream > wrote: Anyway, this is a great addition to Leo's tutorial material. Many thanks for creating it. +1 here too :) Thanks! I think I tend to ramble when I write, so

Re: Traveling Monday

2014-01-19 Thread gatesphere
On 1/19/2014 5:19 PM, Edward K. Ream wrote: I'll be traveling tomorrow. Rebecca's mother is ill, and I'll be spending an unknown amount to time in Naples. I'll have my laptop with me, so I should be able to work on Leo from time to time. Edward I wish you and yours all the best. -->Jake --

Re: Getting started with git workflow

2014-01-08 Thread gatesphere
On 1/8/2014 9:35 PM, Terry Brown wrote: On Wed, 08 Jan 2014 18:59:45 -0500 gatesphere wrote: On 1/8/2014 6:01 PM, Terry Brown wrote: branches (which I know are just tags) They are more than tags, less than forks. They are *not* tags. And a deleted branch once merged into master has no

Re: Getting started with git workflow

2014-01-08 Thread gatesphere
On 1/8/2014 6:01 PM, Terry Brown wrote: branches (which I know are just tags) They are more than tags, less than forks. They are *not* tags. And a deleted branch once merged into master has no real use -- the whole branch's history is contained in the merge commit. -->Jake -- You received

Re: Bigger dreams for Leo

2014-01-07 Thread gatesphere
On 1/7/2014 6:30 PM, Offray Vladimir Luna Cárdenas wrote: Hi, El 26/04/12 13:44, Terry Brown escribió: On Thu, 26 Apr 2012 07:40:56 -0700 (PDT) "Edward K. Ream" wrote: 3. I'd like Vim windows, Emacs windows and Inkscape windows to *be* Leo windows. Or vice versa. I've been thinking it wou

Re: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-05 Thread gatesphere
On 1/5/2014 4:56 PM, Matt Wilkie wrote: Thank you very much Jake. Clearly something was wrong on my end! I followed your example and had a successful push within 20 minutes (including repacking and pruning; on-disk size of the repo shrank from 750mb to 63mb.). Glad to see it worked! After th

Re: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-05 Thread gatesphere
On 1/5/2014 2:42 PM, Matt Wilkie wrote: On Sun, Jan 5, 2014 at 10:53 AM, Terry Brown > wrote: I get 1.1 Mb / sec. downloand :-) but 87 Kb / sec. upload good point. I was thinking of standard dnld speeds. Unfortunately I've no idea what the upload pay

Re: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-05 Thread gatesphere
On 1/5/2014 2:50 PM, Ville M. Vainio wrote: Well, I don't think we want a 3 gig repository for daily work. That's just the raw, plaintext history. The git repo will be optimized for size, hopefully. The current repo is ~halfway done exporting, and I've got ~10GB in my dumpfile... -->Jake

Re: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-05 Thread gatesphere
On 1/5/2014 2:42 PM, Matt Wilkie wrote: On Sun, Jan 5, 2014 at 10:53 AM, Terry Brown > wrote: I get 1.1 Mb / sec. downloand :-) but 87 Kb / sec. upload good point. I was thinking of standard dnld speeds. Unfortunately I've no idea what the upload pay

Re: Fw: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-05 Thread gatesphere
On 1/5/2014 1:47 PM, Matt Wilkie wrote: On Sun, Jan 5, 2014 at 10:05 AM, gatesphere <mailto:gatesph...@gmail.com>> wrote: Matt, I saw the leo-cvs-2002-2006 repo -- are you going to do different repos for different points in Leo's history? If so, we could probab

Re: How to make Leo run a node-script automatically when the file is opened?

2014-01-05 Thread gatesphere
On 1/5/2014 1:36 PM, Fidel N wrote: Great, thanks Jacob! No problem :) I recommend reading the mod_scripting docstring -- it has a lot of lesser-known features, like @args, tucked away under the covers. -->Jake -- You received this message because you are subscribed to the Google Groups "

Re: How to make Leo run a node-script automatically when the file is opened?

2014-01-05 Thread gatesphere
On 1/5/2014 1:23 PM, Fidel N wrote: Hey: Anyone knows how to make Leo run a node-script automatically when the file is opened? -- Make an @script node, and make sure '@bool scripting-at-script-nodes = True' is set in myLeoSettings.leo. Be careful, it's dangerous if you're opening .leo files

Re: Fw: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-05 Thread gatesphere
To help with this process, I've renamed the current github leo-editor repo to leo-editor-mirror, so that the true repo can now occupy leo-editor, when it is created. I've also updated all the scripting and ReadTheDocs settings to reflect this. Once the migration to git is complete, I'll remov

Re: Fw: [Leo Editor] "Emacs needs to move to git" (from bzr)

2014-01-04 Thread gatesphere
On 1/3/2014 11:55 PM, Terry Brown wrote: Matt and Jacob - it seemed that between you you'd kind of done most of the leg-work for getting Leo's VCS history in one place and moving it to git - I'm not saying we should move right now, but just wondering how high the barrier is, not very, perhaps? On

Re: How can I have a @md and @auto node?

2014-01-02 Thread gatesphere
On 1/2/2014 3:37 PM, Jack Kuan wrote: Hi, basically, I'm trying to achieve the effect that a @md node will be saved to a file without sentinels. This way, I can edit the markdown file in Leo with a nice preivew. I've tried various combinations of using @md node and @auto node but none of them

Re: How do you configure a plugin that is already loaded?

2014-01-02 Thread gatesphere
On 1/2/2014 3:56 PM, Jack Kuan wrote: ok, after looking at the code, I see that the plugin actually never look at the setting! It simply determines the kind of node from the headline of the node or returns self.kind if the headline is not at directive(starts with @). self.kind is set to 'rst' d

Re: How do you configure a plugin that is already loaded?

2014-01-02 Thread gatesphere
On 1/2/2014 3:15 PM, Jack Kuan wrote: Hi, I'm trying to configure the @string view-rendered-default-kind setting of the viewrendered plugin, however, since this plugin is enabled by default in leoSettings.leo it gets loaded before I have the chance to set the setting. Is there a way to update

Edward: Plugin Release Notes for 4.11.1

2013-12-20 Thread gatesphere
As requested on IRC, here are new plugin release notes that I'm aware of. New plugins: - nodewatch.py... I can't explain it terribly well, please see the docstring. Basically it's a scriptable jump-list of nodes with a UI pane. Yet another option instead of clones/bookmarks/backlinks/UNLs.

Re: Various improvements for newbies

2013-12-15 Thread gatesphere
On 12/15/2013 12:27 PM, gatesphere wrote: Also, for some reason, help-for-scripting won't render when '@string view-rendered-default-kind = md' is active -- but this is due to my own markdown work. I'll work on a patch that makes viewrendered default to rst when calling c

Re: Various improvements for newbies

2013-12-15 Thread gatesphere
On 12/15/2013 11:27 AM, Edward K. Ream wrote: Rev 6413 contains the last of a series of improvements aimed at making it easier to learn Leo: - Added help-for-scripting and help-for-creating-external-files commands. In help-for-scripting: ''' As discussed below, execute-script predefines three

Re: Can 'sidecar' files carry outline structure?

2013-12-12 Thread gatesphere
On 12/12/2013 9:18 PM, Largo84 wrote: Advance apology if this has already been considered and discarded as impractical, stupid or whatever (since I'm not a programmer),but I work with raw image files in photography that have 'sidecar' files (XMP) that carry the metadata and editing instruct

Re: Is there a minimal leo bridge?

2013-12-09 Thread gatesphere
On 12/9/2013 9:45 PM, Terry Brown wrote: On Mon, 09 Dec 2013 21:09:40 -0500 gatesphere wrote: On 12/9/2013 8:59 PM, Terry Brown wrote: On Mon, 09 Dec 2013 18:45:35 -0500 gatesphere wrote: Hi all, Is there a minimal Leo-bridge? I.e. just enough of the Leo API to read + write outlines, and

Re: Is there a minimal leo bridge?

2013-12-09 Thread gatesphere
On 12/9/2013 8:59 PM, Terry Brown wrote: On Mon, 09 Dec 2013 18:45:35 -0500 gatesphere wrote: Hi all, Is there a minimal Leo-bridge? I.e. just enough of the Leo API to read + write outlines, and iterate through nodes, in a way that doesn't require a full-blown installation of Leo? Th

Re: Is there a minimal leo bridge?

2013-12-09 Thread gatesphere
On 12/9/2013 7:48 PM, Edward K. Ream wrote: On Mon, Dec 9, 2013 at 5:45 PM, gatesphere <mailto:gatesph...@gmail.com>> wrote: Hi all, Is there a minimal Leo-bridge? I.e. just enough of the Leo API to read + write outlines, and iterate through nodes, in a way that doesn&

Is there a minimal leo bridge?

2013-12-09 Thread gatesphere
Hi all, Is there a minimal Leo-bridge? I.e. just enough of the Leo API to read + write outlines, and iterate through nodes, in a way that doesn't require a full-blown installation of Leo? Thanks, -->Jake -- You received this message because you are subscribed to the Google Groups "leo-edito

Re: right-click menu on node body, contextmenu.py, URLs, etc.

2013-12-07 Thread gatesphere
On 12/7/2013 11:36 AM, Fidel N wrote: webbrowser.open('http://www.google.com/#'+urlencode({'q': StringToSearch})) @settings -> @command search-in-google @language python import webbrowser import urllib selection = c.frame.body.getSelectedText() g.es(selection) webbrowser.open('http://w

Re: Planet Leo - baby steps

2013-12-04 Thread gatesphere
Looks like it showed up eventually :) Github was slow today, took ~20m to show one of my buddy's commits earlier. -->Jake On 12/4/2013 5:00 PM, Matt Wilkie wrote: Thanks Jake :) I added your feed, regenerated the pages and pushed to Github. http://leo-editor.github.io/planet-leo/ doesn't sho

Re: minor key binding quirk - Qt-related?

2013-11-28 Thread gatesphere
I have the same behavior on Windows 7, python 2.7. Additional note -- even when I bind Shift-Insert to 'do-nothing' (the standard way of disabling a key, as far as I know), shift-insert still executes 'insert-node', despite showing up in the print-bindings as correctly assigned to 'do-nothing'

Re: computeLeadingWhitespaceWidth in leoGlobals.py

2013-11-24 Thread gatesphere
In '@settings' -> '@data contextmenu_commands', add the following lines: delete-node Delete Node copy-node Copy Node paste-node Paste Node cut-node Cut Node The contextmenu.py plugin is your friend :) -->Jake On 11/24/2013 2:24 PM, Chris George wrote: What a useful addition, Fidel. I

Re: viewrendered.py Question

2013-11-22 Thread gatesphere
Did you set 'nodename' and 'rstnodename' correctly? That error says that it can't find your @rst node, I think. -->Jake On 11/22/2013 11:55 PM, Chris George wrote: No @rst or @slides nodes in selected tree done exception executing script AttributeError: 'NoneType' object has no attribute

Re: viewrendered.py Question

2013-11-22 Thread gatesphere
Ah, small issues -- I missed a command and mistyped another: Replace the code with the new version (works for me, I tested it and everything!): @language python ''' usage: 1. modify nodename below to exactly match the headline of the node you wish vr to render (your @auto node

Re: viewrendered.py Question

2013-11-22 Thread gatesphere
On 11/22/2013 11:32 PM, Chris George wrote: Here is what it gives me on running the script. I followed the sequence exactly. I was looking at your script and I don't see the "Refresh From Disk" step. Is that part of c.readAtAutoNodes() ? rendering pane locked exception preprocessing script

Re: viewrendered.py Question

2013-11-22 Thread gatesphere
I assume it worked then? I don't use rst, so I couldn't really test it. Just went on a hunch ;) If so, glad to help :) -->Jake On 11/22/2013 11:11 PM, Chris George wrote: Thank-you Jacob. That is so helpful. And perfect timing. I am playing with final layouts for an assignment that is due

Re: viewrendered.py Question

2013-11-22 Thread gatesphere
I wrote a quick @button script for you, to help you out. Put this in an '@button update-vr' node somewhere in your outline: @language python ''' usage: 1. modify nodename below to exactly match the headline of the node you wish vr to render (your @auto node) 2. modify rstno

Re: Is this the most exciting time in Leo's history?

2013-11-19 Thread gatesphere
On 11/19/2013 5:06 PM, Edward K. Ream wrote: On Tue, Nov 19, 2013 at 9:58 AM, Jacob Peck > wrote: > Better yet, the following works like a charm: The following makes open-irc-leo an official Leo command: @g.command('open-irc-leo') (headline) def openIrcLeo(event):

Re: Leo fixes critical OpenOffice/LibreOffice bug

2013-11-19 Thread gatesphere
+1 here too. More use cases = more fun! -->Jake On 11/19/2013 6:40 PM, Fidel N wrote: +1, It would be great to see that! Btw, shouldnt such examples go to some sort of leo-samples-files within a folder in Leo installation path so new users can explore and play with all the leo files samples

Re: Academic Writing

2013-11-18 Thread gatesphere
simple tools that work so well together. Here's my bare-bones setup: https://github.com/gatesphere/context-leo-make This could easily work with BibTeX, and with a bit of work would be just fine for LaTeX work as well. It's a far cry from what you've indicated, but it's a

Re: My first screencast: using clones in everyday workflow

2013-11-17 Thread gatesphere
On 11/17/2013 6:04 AM, Edward K. Ream wrote: A future screencast will be about getting help. This will include the print-bindings, print-commands and print-settings commands, as well as the help commands. In particular, the print-bindings command gives you all the binding/command associations

Re: Third screencast: Leo's Find/Change command

2013-11-16 Thread gatesphere
On 11/16/2013 10:04 PM, Terry Brown wrote: On Sat, 16 Nov 2013 21:03:33 -0500 gatesphere wrote: Well, Ville's wonderful quicksearch.py plugin, and Terry's bigdash.py bigdash.py is also Ville's Cheers -Terry Good to know! Sorry, Ville! -- You received this message

Re: Third screencast: Leo's Find/Change command

2013-11-16 Thread gatesphere
On 11/16/2013 8:59 PM, Edward K. Ream wrote: On Sat, Nov 16, 2013 at 7:19 PM, gatesphere <mailto:gatesph...@gmail.com>> wrote: Corrections: 1:30, screen says F3 when you're probably doing Ctrl+F. Thanks. Good catch. 2:15, the screen *looks* like Ctrl+_ (underscore)

Re: spellpyx.txt not valid

2013-11-16 Thread gatesphere
On 11/16/2013 8:57 PM, Largo84 wrote: Ahh, good catch. I re-installed Leo into a different directory and Leo created the spellpyx.txt file and I was able to copy over a newer one and have Leo 'clean' it. Thanks for the suggestion! Rob. Glad to help! Windows has far too many hang

Re: spellpyx.txt not valid

2013-11-16 Thread gatesphere
On 11/16/2013 8:42 PM, gatesphere wrote: Leo, Matt, and whomever else That was supposed to say Edward, not Leo. I need sleep. -->Jake -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop rec

Re: spellpyx.txt not valid

2013-11-16 Thread gatesphere
On 11/16/2013 8:35 PM, Largo84 wrote: I just installed Leo 4.11 final on both a Win7 and a Win8 machine (Leo 4.11 final, build 5020, 2012-02-26 13:18:08 -0600, Python 2.7.3, qt version 4.8.4, Windows 6, 2, 9200, 2) At first get this: can not create: C:\Program Files (x86)\Leo-4.11-final\leo\

Re: Third screencast: Leo's Find/Change command

2013-11-16 Thread gatesphere
On 11/16/2013 7:49 PM, Edward K. Ream wrote: http://www.screencast.com/t/lUv7sgJh This was a bit trickier than the first two. What I've learned so far is that the audio is by far the most important to get right. It's easy to wing it (create the script on the fly), provided that I stop and re

Re: Another screencast: Using Leo's Minibuffer

2013-11-16 Thread gatesphere
On 11/16/2013 2:21 PM, Edward K. Ream wrote: http://www.screencast.com/t/tEQ7brI4n6 Again, please view at full size for clearest text. Edward Good tutorial, and down to basics... but one small thing. Your body text was already sorted when the video started! It didn't show that the minibuff

Re: My first screencast: using clones in everyday workflow

2013-11-16 Thread gatesphere
On 11/16/2013 11:27 AM, Edward K. Ream wrote: http://www.screencast.com/t/jL9C9kLNZ4 Be sure to click on the "Full Size" tab at the top of the screen to get clearest text. It was easy to produce with Camtasia Studio, once I let go of my perfectionism :-) Psychologically, it was easier to p

An article on text editing, outlining, and words, from MIT Technology Review

2013-11-14 Thread gatesphere
http://www.technologyreview.com/review/520246/as-we-may-type/ Found this thumbing through this month's issue of MIT Technology Review. An interesting look at the new paradigms in editing, and the versatility of outliners. No mentions of Leo, but it certainly points towards unlimited possibil

Re: Making Leo look better out of the box

2013-11-12 Thread gatesphere
On 11/12/2013 6:36 PM, Matt Wilkie wrote: > > Both the headline, body & log pane is using a font that is (much) to big > > Same here, Win7. myLeoSettings.leo only has 2 nodes "@settings --> > @enabled-plugins", no theme or font stuff. I managed to get reasonable sizes agai

Re: A true vim mode is coming

2013-11-08 Thread gatesphere
On 11/8/2013 4:29 PM, Edward K. Ream wrote: On Fri, Nov 8, 2013 at 3:21 PM, Jacob Peck > wrote: Will this scheme allow vim-like regex replacements, like: :4,9 s/^/- /g (replaces the start of lines 4-9 with hyphen-space) Good question. Basically every

Re: nose and Leo : any success?

2013-11-02 Thread gatesphere
On 11/2/2013 3:10 PM, wgw wrote: Yup --that's me. Added :) Great instructions! Thanks. I try to keep things short and sweet, though I might assume readers know more than they do... I will try to get up to speed on github. (Ugh!) I'm with Matt, who complained about the burden of keeping up

Re: nose and Leo : any success?

2013-11-02 Thread gatesphere
On 11/2/2013 1:44 PM, wgw wrote: I'm not sure how to add to the Leo blog, though I have a (totally unused) github account. I wrote the instructions here, a few months ago (figuring they'd be handy... I guess I was right!): https://github.com/leo-editor/leo-blog#how-to-publish-on-the-leo-blog

Re: This, and *only* this, can make Leo more popular

2013-10-28 Thread gatesphere
On 10/28/2013 7:25 PM, Chris George wrote: html to rst seems to be possible but from there I think you might have to recreate the outline structure manually. I don't know if Leo has such a capability or not. It seems like @auto should do the trick. I think there's an importer for rst... --

Re: UNL address bar?

2013-10-28 Thread gatesphere
On 10/28/2013 4:42 PM, Segundo Bob wrote: On 10/28/2013 10:47 AM, Jacob Peck wrote: Does anything like a UNL address bar exist for Leo? Akin to an address bar in a web browser, where you could paste UNLs into it, and it would focus on said UNL in the outline? Is there a minibuffer command that

Re: How to collaborate using Leo

2013-10-24 Thread gatesphere
On 10/24/2013 6:33 PM, Edward K. Ream wrote: Our recent collaborative discussions have created a stunning new way to collaborate using Leo. Suppose a group contains L Leo users (Leonard, Lester, ...) and N non-Leo users (Nancy, Nadine,...). We may as well assume L > 1 and N > 1. Kent and Te

Re: Only in leo...

2013-10-24 Thread gatesphere
On 10/24/2013 3:03 PM, Terry Brown wrote: Well, maybe also in vim etc., but it's so easy in Leo... I want to insert a bunch of images into an rst doc. So I type: for i in range(13): c.p.b += "\n.. image:: etdemo%04d.png\n :width: 80%%\n"%(i+1) c.redraw() select those two lines, Ctrl-B, and

Re: Approaching Leo

2013-10-22 Thread gatesphere
On 10/22/2013 7:38 PM, Steve Litt wrote: On Mon, 21 Oct 2013 21:55:26 -0400 gatesphere wrote: Keep pushing! Here's another step-by-step: 1) Create a node, headline named "@file myfile.py" (henceforth "node A") 2) In the body of that node, put the following: @lan

Re: Leo in the wild

2013-10-21 Thread gatesphere
On 10/21/2013 9:36 PM, Zoom.Quiet wrote: > 2013/10/22 Edward K. Ream : >> On Mon, Oct 21, 2013 at 3:43 AM, Zoom.Quiet wrote: >> >> Please note Leo's new home address: http://leoeditor.com/ >> >> All links to http://webpages.charter.net are broken: in particular, the Leo >> link at the bottom of ht

Re: Approaching Leo

2013-10-21 Thread gatesphere
On 10/21/2013 8:00 PM, Steve Litt wrote: Hi all, I think this has some bearing on the recent discussion about increasing Leo's mindshare. Today I successfully completed Gatesphere's Leo "Hello World", and you know what I discovered? Leo, as it's documented currently, is impenetrable to all but

Re: Why is nobody on #leo?

2013-10-21 Thread gatesphere
Good point. I think I'll start idling on there... -->Jake (a.k.a. gatesphere) On 10/21/2013 8:08 PM, Steve Litt wrote: Hi all, There's a #leo IRC channel on FreeNode, devoted to Leo, but right now I (and Chanserve) are the only ones on it. For something as featureful as Leo, a

Re: This, and *only* this, can make Leo more popular

2013-10-20 Thread gatesphere
On 10/20/2013 3:51 PM, Steve Litt wrote: Does anyone have instructions for building a "Hello World" app in Leo? 1) Create a node 2) Fill it's body with the following text: g.es('hello, world!') 3) Ctrl-B (execute-script) on that node. Output should appear in the log pane. -> Jake -- You

Re: This, and *only* this, can make Leo more popular

2013-10-20 Thread gatesphere
On 10/20/2013 7:54 AM, Edward K. Ream wrote: I am pleased with Leo's new documentation, but as I have just indicated in the "Just one more chapter?" thread, I do not believe for a moment that better documentation for Leo has any chance of making Leo substantially more popular. So, what *would

Re: Including headings in @auto or @nosent files

2013-10-13 Thread gatesphere
On 10/13/2013 3:10 PM, wgw wrote: In short, can the user create a new file output directives (to go along with @file, @auto, @nosent, etc) ? From my quick jaunt into the source... not without hacking on Leo's core. You could write a script that would save a file in a particular format though,

Re: New plugin: rss.py - Leo is now a primitive RSS reader

2013-10-12 Thread gatesphere
This plugin has been updated as of rev 6139 to make it more configurable. Here's the relevant section of the docstring: Configuration Settings == This plugin is configured with the following @settings: @string rss-date-format --- Format strin

  1   2   >