Re: Terry, why does g.do_exec exist?

2013-05-01 Thread Edward K. Ream
On Tue, Apr 30, 2013 at 11:22 PM, Terry Brown terry_n_br...@yahoo.comwrote: On Tue, 30 Apr 2013 18:29:23 -0500 Edward K. Ream edream...@gmail.com wrote: I'd like to eliminate g.do_exec unless there is a good reason not to do so. Do you agree? I've removed it. Thanks! Edward -- You

Re: border crossing heads up...

2013-05-01 Thread Edward K. Ream
On Thu, Apr 11, 2013 at 2:01 PM, Terry Brown terry_n_br...@yahoo.comwrote: I know the current implementation replaces a previous implementation which was implicated in the scroll jumping bug, but the point is there should be no implementation at all, it should be pure style sheet, with no

Re: Importing java file using @auto. How do I adjust Leo to ignore whitespace and indentation irregularities?

2013-05-01 Thread Edward K. Ream
On Fri, Apr 5, 2013 at 6:35 AM, Eoin eoinmccar...@fastmail.fm wrote: I'm using @auto to import java files into my Leo project. [snip] However, the whitespace in the Java files isn't completely regular. In particular, debug logging is always placed in column 1 - regardless of the surrounding

Re: Leo does not display all content of a node ...

2013-05-01 Thread Edward K. Ream
On Sat, Oct 20, 2012 at 9:51 AM, Terry Brown terry_n_br...@yahoo.comwrote: On Sat, 20 Oct 2012 05:28:56 -0700 (PDT) Viktor Ransmayr viktor.ransm...@gmail.com wrote: even at the latest revision (rev. 5500) Leo does not display all content of larger nodes - Larger nodes approximately

Re: Background Images in body pane?

2013-05-01 Thread Edward K. Ream
On Fri, Jul 13, 2012 at 3:57 PM, tfer tfethers...@aol.com wrote: I was wondering if the Qt widget used for body text has a provision for background images? Sorry for the delay in responding. Leo's body pane is a QTextBrowser: http://qt-project.org/doc/qt-4.8/qtextbrowser.html a subclass of

Re: @paragraph(s)

2013-05-01 Thread Edward K. Ream
On Fri, Jun 15, 2012 at 5:46 PM, Offray Vladimir Luna Cárdenas off...@riseup.net wrote: Now I think that is time to start hacking Leo for a better support of my work flow and the first thing I would like to have is a @paragraph directive that works the same as @rst-no-head but can be used in

Re: Garbled text with BOM-marked files

2013-05-01 Thread Edward K. Ream
On Tue, Jul 10, 2012 at 4:00 AM, Chema Cortes pych...@gmail.com wrote: I have some external files encoded with utf8 and utf16-le with BOM marks. Leo ignores these marks, become these files garbled. I cannot fix this problem with @enconding directives. Reading the code, I can see the problem

Re: execute script with parameters?

2013-05-01 Thread Kent Tenney
On Tue, Apr 30, 2013 at 5:35 PM, Edward K. Ream edream...@gmail.com wrote: On Sat, Nov 17, 2012 at 12:53 AM, Matt Wilkie map...@gmail.com wrote: I'm working on a python command line script and am spening a lot of time swtiching back and forth between a console window and Leo. Is there a way

Re: I can't make Leo-Editor start in a full-screen window under openSUSU 12.1

2013-05-01 Thread Edward K. Ream
On Sat, Apr 28, 2012 at 11:24 AM, SegundoBob bhoss...@ieee.org wrote: Thanks for the suggestion. But doing a save does not help with my problem. I was already aware that some parameters are only remembered when a save is done--and this is a minor annoyance. Wouldn't it be better, more

Re: execute script with parameters?

2013-05-01 Thread Jacob Peck
On 5/1/2013 9:19 AM, Kent Tenney wrote: I often find myself wanting to run os stuff from Leo, when I do, subprocess ends up consuming too much time. Since I've found 'sh' https://pypi.python.org/pypi/sh/1.08 I haven't looked back, so far it has always just done what I want. I know you are

Re: border crossing heads up...

2013-05-01 Thread Terry Brown
On Wed, 1 May 2013 03:11:10 -0500 Edward K. Ream edream...@gmail.com wrote: In this case, I don't understand the @ stuff. I assume it's some macro-like thing you added. Right? I don't think it's part of qt stylesheets. Correct, the stylesheet is parsed for constructs like @identifier =

Re: border crossing heads up...

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 8:28 AM, Terry Brown terry_n_br...@yahoo.com wrote: I don't care much what you do, so long as focus borders work. If you can get rid of all the w.setStyleSheet calls, so much the better. Just let us know when you push what you have. At the moment your original

Re: execute script with parameters?

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 8:19 AM, Kent Tenney kten...@gmail.com wrote: I often find myself wanting to run os stuff from Leo, when I do, subprocess ends up consuming too much time. Since I've found 'sh' https://pypi.python.org/pypi/sh/1.08 I haven't looked back, so far it has always just done

Re: Leo does not display all content of a node ...

2013-05-01 Thread Terry Brown
On Wed, 1 May 2013 03:23:46 -0500 Edward K. Ream edream...@gmail.com wrote: Today (the outline's changed) it's not doing that, but I still notice the difference between inserting and immediately deleting a node (scroll position in A restored incorrectly), vs. inserting a node, selecting

Re: Background Images in body pane?

2013-05-01 Thread Terry Brown
On Wed, 1 May 2013 04:19:52 -0500 Edward K. Ream edream...@gmail.com wrote: On Fri, Jul 13, 2012 at 3:57 PM, tfer tfethers...@aol.com wrote: I was wondering if the Qt widget used for body text has a provision for background images? Sorry for the delay in responding. Leo's body pane

Re: Background Images in body pane?

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 8:42 AM, Terry Brown terry_n_br...@yahoo.com wrote: QTextEdit#richTextEdit { background-image: url('/home/tbrown/Desktop/cow2.jpg'); } in the stylesheet gives the effect attached (i.e. it works). If you wanted node specific backgrounds Leo would have to start

Re: Leo does not display all content of a node ...

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 8:36 AM, Terry Brown terry_n_br...@yahoo.com wrote: Although I still see the above behavior in my personal set up, I can't reproduce in vanilla Leo. I'll post a bug if I get something reproducible. Thanks. I've just created a to-do item to reopen the old bug.

Re: Centralizing focus handling (to make debugging easier)

2013-05-01 Thread Edward K. Ream
On Sun, Dec 23, 2012 at 2:30 PM, Ville M. Vainio vivai...@gmail.com wrote: I am having some problems wrapping my head around how focus behaves throughout leo. IMO it would be a good idea to have only one place in Leo where focus is explicitly set. E.g. g.setFocus(widget). This

Re: Coming soon: epydoc api's for Leo

2013-05-01 Thread Edward K. Ream
On Sat, May 26, 2012 at 6:59 AM, Edward K. Ream edream...@gmail.com wrote: At least a year ago Kent suggested using epydoc, http://epydoc.sourceforge.net/, to generate one form of Leo's documentation. It looks good to me. I'll put a link on Leo's home page to the generated docs when they are

Re: Open With ... how should it work?

2013-05-01 Thread Edward K. Ream
On Tue, May 29, 2012 at 11:00 AM, mdb mdbol...@gmail.com wrote: My apologies for not answering this question. It's been almost a year. Under the File menu item I see 'Open With ... ' and then a selection for IDLE But when I select this, I do not understand what should happen. The Open With

Re: Bat file launchers for nightly builds

2013-05-01 Thread Edward K. Ream
On Fri, Dec 14, 2012 at 1:59 AM, Matt Wilkie map...@gmail.com wrote: Inspired by the recent problem Nils reported with the 4.10 final installer, I've built a batch file to make running the development snapshots a little easier, attached. I'm going to file this under Leo/Install for now.

Desired outcomes for Leo

2013-05-01 Thread Edward K. Ream
I'm still reading Getting Things Done, but it's becoming clear that there are just a few desired outcomes to be accomplished before the next release of Leo: 1. Newbies can install Leo easily. 2. Newbies can learn Leo's main features easily. 3. *Good* documentation exists for all important

Rev 5755 adds sh.py to leo/extensions

2013-05-01 Thread Edward K. Ream
There was some interest in making this a part of the Leo distro, even if it isn't presently used by Leo's core. Extensions is a convenient place: code can use g.importExtension to import it. Edward -- You received this message because you are subscribed to the Google Groups leo-editor

Re: Cannot open Leo files by double-click in Windows Explorer?

2013-05-01 Thread Edward K. Ream
On Thu, Apr 19, 2012 at 3:50 AM, Eoin eoinmccar...@fastmail.fm wrote: I got the association working on Windows 7 using: ftype LeoFile=C:\Python322\pythonw.exe C:\Program Files (x86)\Leo-4.9-final\launchLeo.py %1 assoc .leo=LeoFile regsvr32 /i shell32.dll Thanks for this report. I've filed

Re: Really @edit can expand nodes?

2013-05-01 Thread Edward K. Ream
On Thu, Jul 5, 2012 at 6:21 PM, Chema Cortes pych...@gmail.com wrote: I was testing the @edit directive. I understand how it works and check that Leo does not allow adding new child nodes to an @edit node. Then, why does the documentation says that can expand sections, @other y @all on

Re: OMG: @nosent should put headlines as comments

2013-05-01 Thread Edward K. Ream
On Sat, Dec 15, 2012 at 11:05 AM, Ville M. Vainio vivai...@gmail.comwrote: I use @nosent for non-code text mostly, and it's not clear what comment should mean in that context. I for sure would like this kind of feature, but sometimes I'd like to have the headlines written as reST style

Re: distributed collaboration tool

2013-05-01 Thread Edward K. Ream
On Wed, Aug 15, 2012 at 2:07 PM, Miles Fidelman mfidel...@meetinghouse.netwrote: Hi Folks, A big Leo fan pointed me at Leo, and this group - indicated that sharing Leo documents has been talked about over the years, but not really implemented, and suggested that I post some details about a

Re: RST3 Tables @rst-no-head

2013-05-01 Thread Edward K. Ream
On Fri, Feb 8, 2013 at 5:29 AM, Craig Johnson cr...@hivemind.net wrote: Hi All, I hope that the post takes this time. I'm trying to use rst tables by using the table markup in the body text, with one node per table row. However it seems that the nodes are being preceded with a line-feed

Re: Outline to executable?

2013-05-01 Thread Edward K. Ream
On Wed, Sep 26, 2012 at 9:26 AM, Steve Litt sl...@troubleshooters.comwrote: Edward, I am sooo tired of all the hassle I need to go through to build an app with a GUI user interface. Qt, Gtk, PythonTk, Java+Swing, Rails, even Lazarus -- they're all such a clunky procedure for something that

Re: active_path issue

2013-05-01 Thread Edward K. Ream
On Tue, Oct 9, 2012 at 2:31 PM, Terry Brown terry_n_br...@yahoo.com wrote: On Fri, 5 Oct 2012 16:01:33 -0500 Kent Tenney kten...@gmail.com wrote: 'Load Recursive' does nothing. Noted - will try and take a look soon. Not that it's my business, but whatever happened to this? Does it need

Re: active_path issue

2013-05-01 Thread Terry Brown
On Wed, 1 May 2013 11:34:30 -0500 Edward K. Ream edream...@gmail.com wrote: On Tue, Oct 9, 2012 at 2:31 PM, Terry Brown terry_n_br...@yahoo.com wrote: On Fri, 5 Oct 2012 16:01:33 -0500 Kent Tenney kten...@gmail.com wrote: 'Load Recursive' does nothing. Noted - will try and take a

Templates with macro expansions

2013-05-01 Thread Jacob Peck
Hello all, I implemented something in a Leo outline yesterday, but I feel my code is absolutely atrocious. One of the ways I use Leo is as an information management/database for when I'm running tabletop RPGs. Such games involve a fair amount of similarly structure data. I set out to make

Re: Templates with macro expansions

2013-05-01 Thread Terry Brown
On Wed, 01 May 2013 13:07:26 -0400 Jacob Peck gatesph...@gmail.com wrote: similarly structure data. I set out to make a way of defining a template, and providing macro expansions within the template, so that the user could click a script button, be prompted for data, and be rewarded with

Re: distributed collaboration tool

2013-05-01 Thread Kent Tenney
On Wed, May 1, 2013 at 10:40 AM, Edward K. Ream edream...@gmail.com wrote: On Wed, Aug 15, 2012 at 2:07 PM, Miles Fidelman mfidel...@meetinghouse.net wrote: Hi Folks, A big Leo fan pointed me at Leo, and this group - indicated that sharing Leo documents has been talked about over the years,

Re: execute script with parameters?

2013-05-01 Thread Matt Wilkie
I often find myself wanting to run os stuff from Leo, when I do, subprocess ends up consuming too much time. Since I've found 'sh' https://pypi.python.org/pypi/sh/1.08 I haven't looked back, so far it has always just done what I want. {first} really excited! {later} Awww nuts,* ImportError: sh

Re: execute script with parameters?

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 1:42 PM, Matt Wilkie map...@gmail.com wrote: Awww nuts,* ImportError: sh 1.08 is currently only supported on linux and osx. please install pbs 0.110 (http://pypi.python .org/pypi/pbs) for windows support. * There are only two choices, imo. Leave sh.py in

Re: distributed collaboration tool

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 12:28 PM, Kent Tenney kten...@gmail.com wrote: My apologies for not responding sooner. That was really unfortunate. In my experience, the best way to ruin good ideas is to ignore them :-( OTOH, ideas which are really good and/or have a committed champion will keep

Re: Templates with macro expansions

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 12:20 PM, Terry Brown terry_n_br...@yahoo.comwrote: Haven't looked at it hard enough to evaluate code, but it doesn't seem too excessive for what it does. I agree. Code can usually be improved. Your interesting ideas are what are important. Once again, we have a

Re: active_path issue

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 11:48 AM, Terry Brown terry_n_br...@yahoo.comwrote: Not that it's my business, but whatever happened to this? Does it need a bug report? It's still on my to do list. I looked at it recently I think, but apparently without resolving it. Thanks for the update.

Re: putting a label for a section in Sphinx

2013-05-01 Thread Edward K. Ream
On Sun, Oct 7, 2012 at 1:50 AM, Joon Ro joonp...@gmail.com wrote: Actually, I think this functionality ( http://sphinx.pocoo.org/markup/inline.html#ref-role) is needed because sometimes I want to link to a section which is in different file. It would be great if there is an heading option

Re: Go anywhere from sublime text

2013-05-01 Thread Edward K. Ream
On Tue, Nov 6, 2012 at 3:33 PM, Ville M. Vainio vivai...@gmail.com wrote: I believe Leo could benefit from having the go anywhere feaure from sublime text. It's activated by ctrl+p, after which you just start typing. What's the status of this project? Edward -- You received this message

Re: go-anywhere a'la sublime text: first light

2013-05-01 Thread Edward K. Ream
On Tue, Nov 20, 2012 at 3:43 PM, Ville M. Vainio vivai...@gmail.com wrote: Trunk now has alt-x go-anywhere command handy Ah. This answers the question I just asked. I'll put this on the list of things to document. Edward -- You received this message because you are subscribed to the

Re: Parameterized template nodes

2013-05-01 Thread Edward K. Ream
On Wed, Nov 21, 2012 at 8:55 AM, João Alexandre Toledo jalexandretol...@gmail.com wrote: As I use Leo to write PL/SQL code, I need to write similar text several times, changing only small parts of it. It would be great if I could create a node with the template and then clone it everywhere

Re: importing a medium sized java project ~ 400 files

2013-05-01 Thread Edward K. Ream
On Thu, Nov 29, 2012 at 4:08 PM, Todd Greenwood-Geer t.greenwoodg...@gmail.com wrote: I'm currently wrapping up a project with about 400 java files and a handful of html/bash/python. As a test, I tried importing this project into leo, as follows: [snip] At this point, I have a few

Re: Issue 1 with build 5752

2013-05-01 Thread Viktor Ransmayr
Hello Edward, Am Montag, 29. April 2013 21:13:20 UTC+2 schrieb Viktor Ransmayr: Hello Edward, Am Montag, 29. April 2013 11:46:05 UTC+2 schrieb Edward K. Ream: On Sat, Apr 27, 2013 at 5:16 AM, Viktor Ransmayr viktor@gmail.comwrote: Based on your current understanding: Should the '@rst'

Re: Issue 1 with build 5752

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 2:29 PM, Viktor Ransmayr viktor.ransm...@gmail.comwrote: The funny part is that I see neither. - What happens in my case is that Leo changes from 3 to 4 tiles. [snip] I have now found a reliable way to create the HTML documentation from my log-outline. From my POV

Re: importing javascript

2013-05-01 Thread Edward K. Ream
On Sat, Dec 1, 2012 at 9:42 AM, Todd Greenwood-Geer t.greenwoodg...@gmail.com wrote: I have a project that I've imported. Upon read @auto nodes (or whenever I open this project in leo), I get the following error dialog: http://imgur.com/2oGfB On import, I get quite a few errors in the leo

Re: Autosaving when external file saved

2013-05-01 Thread Edward K. Ream
On Tue, Dec 11, 2012 at 5:55 AM, Ville M. Vainio vivai...@gmail.com wrote: My present plan is to write a helper, say c.write_vnode, that will discover the external file (if any) containing the vnode, and immediately write that external file *without* a prompt. If there is no external file,

Re: @wrap now suppresses horizontal scrolling

2013-05-01 Thread Edward K. Ream
On Tue, Dec 11, 2012 at 7:53 AM, redla radim.ha...@gmail.com wrote: There is one problem which is (IMHO) caused by this change: I have @wrap active and see my plain text wrapped properly. But if there is any long enough URL on the page (i.e. longer than the screen width), this is not wrapped

Re: Gauging interest: markdown processing addition to viewrendered?

2013-05-01 Thread Edward K. Ream
On Thu, Feb 7, 2013 at 1:45 PM, Jacob Peck gatesph...@gmail.com wrote: I've coded it up. While I was at it, I added colorizer and comment support for .md files as best as I understood. If someone wants to examine my code for possible inclusion in trunk2, it's on launchpad:

Re: Gauging interest: markdown processing addition to viewrendered?

2013-05-01 Thread Jacob Peck
On 5/1/2013 3:57 PM, Edward K. Ream wrote: Hi Jake. What's the present status of this code? Edward The mentioned branch is up, but I haven't merged anything from trunk since rev 5644... If I remember correctly, you were playing around with viewrendered after that, and I haven't had the

Re: distributed collaboration tool

2013-05-01 Thread Kent Tenney
On Wed, May 1, 2013 at 2:00 PM, Edward K. Ream edream...@gmail.com wrote: On Wed, May 1, 2013 at 12:28 PM, Kent Tenney kten...@gmail.com wrote: My apologies for not responding sooner. That was really unfortunate. In my experience, the best way to ruin good ideas is to ignore them :-(

Re: How do I create a Leo Blog entry?

2013-05-01 Thread tfer
Invite me in if you would, tfer on github as here. Tom On Tuesday, April 30, 2013 6:23:59 PM UTC-4, Ville M. Vainio wrote: Yes, you need to sign up with github: https://github.com/signup/free After that, we can invite you to leo-blog project and it'll be a similar story to committing stuff

Group's top sticky

2013-05-01 Thread tfer
I see on other groups, (e.g. Anki Users, AngularJS, Plover), that it is possible to have a welcome message, (with links), with a google group now, should we have one? Tom -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this

Re: towards a file rename button/command/thing

2013-05-01 Thread Edward K. Ream
On Mon, Feb 11, 2013 at 12:44 PM, Matt Wilkie map...@gmail.com wrote: I thought I'd try my hand at writing a leo button/command/thing to rename an external file to match the current node headline. I'm stuck at getting the previous headline contents. How does one get to the undo history? (and

Best way to synchronize/update myLeoSettings.leo and leoSettings.leo ?

2013-05-01 Thread wgw
For the moment, I use Meld to compare/update myLeoSettings.leo file. That seems a bit error-prone. Is there a better way? By update, I mean that, for example, in the bzr copy of LeoSettings.leo, the code_wise node says : True: use codewise completions. False: use leo-specific completions. This

Re: Templates with macro expansions

2013-05-01 Thread Fidel Pérez
Hey, as I said two days ago, Im new here, but I am preparing one Leo file which structures how we could make Leo super easy to learn, more interesting for a much wider public to use, and an extremely useful automation and learning tool. I want to structure that really well so its easy to

Re: Group's top sticky

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 3:22 PM, tfer tfethers...@aol.com wrote: I see on other groups, (e.g. Anki Users, AngularJS, Plover), that it is possible to have a welcome message, (with links), with a google group now, should we have one? Done. Please suggest improvements. Edward -- You received

Re: Gauging interest: markdown processing addition to viewrendered?

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 3:02 PM, Jacob Peck gatesph...@gmail.com wrote: On 5/1/2013 3:57 PM, Edward K. Ream wrote: Hi Jake. What's the present status of this code? Edward The mentioned branch is up, but I haven't merged anything from trunk since rev 5644... If I remember correctly, you

Re: Best way to synchronize/update myLeoSettings.leo and leoSettings.leo ?

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 3:26 PM, wgw wgwin...@gmail.com wrote: For the moment, I use Meld to compare/update myLeoSettings.leo file. That seems a bit error-prone. Is there a better way? By update, I mean that, for example, in the bzr copy of LeoSettings.leo, the code_wise node says : True: use

Re: distributed collaboration tool

2013-05-01 Thread Edward K. Ream
On Wed, May 1, 2013 at 3:11 PM, Kent Tenney kten...@gmail.com wrote: My apologies for not responding sooner. That was really unfortunate. In my experience, the best way to ruin good ideas is to ignore them :-( OTOH, ideas which are really good and/or have a committed champion will keep

Re: RST3 Tables with Nodes as Rows

2013-05-01 Thread Edward K. Ream
On Fri, Feb 8, 2013 at 4:13 AM, Craig Johnson cr...@hivemind.net wrote: I've been creating rst tables using rst markup directly in the body text. For field lists. As the same field apears in multiple programs, I would like to use Leo's cloning to reproduce a table row in several locations in

Re: RST3 Tables with Nodes as Rows

2013-05-01 Thread Edward K. Ream
On Mon, Feb 11, 2013 at 1:06 PM, wgw wgwin...@gmail.com wrote: No fix (sorry), but can confirm the problem -- it should go in the bug list. (I looked at the rst code, and fainted) Yeah, the code is hairy. I'm probably the only one that should touch leoRst.py. EKR -- You received this

Re: Desired outcomes for Leo

2013-05-01 Thread Edward K. Ream
On Wednesday, May 1, 2013 10:01:46 AM UTC-5, Edward K. Ream wrote: I'm still reading Getting Things Done, but it's becoming clear that there are just a few desired outcomes to be accomplished before the next release of Leo: 1. Newbies can install Leo easily. 2. Newbies can learn Leo's

Re: Templates with macro expansions

2013-05-01 Thread Fidel Pérez
Here is the list of ideas I couldn't explain better than with a Leo file. Im looking forward to your opinions, I will love to hear them (either positive or negative) I really think Leo would become a *mandatory* piece of software for absolutely anyone if it could do the suggested things. (Yes,

Re: Leo script to set .leo association (Windows)

2013-05-01 Thread Matt Wilkie
...and here's a version that actually works! (previous one just assigned python, and not leo, to the file type). {{{ ?xml version=1.0 encoding=utf-8? !-- Created by Leo (http://webpages.charter.net/edreamleo/front.html) -- ?xml-stylesheet ekr_test? leo_file

Leo button to publish selected node as Gist

2013-05-01 Thread Matt Wilkie
wow. Leo, python, and Github are frickin amazing. This leo script, when used as a buttton, will publish the currently selected node to Github as a Gist. Requires the requests module. Run from leo from python.exe in order to see the console messages. Here's the result:

Re: Leo button to publish selected node as Gist

2013-05-01 Thread gatesphere
On 5/1/2013 8:41 PM, Matt Wilkie wrote: wow. Leo, python, and Github are frickin amazing. This leo script, when used as a buttton, will publish the currently selected node to Github as a Gist. Requires the requests module. Run from leo from python.exe in order to see the console messages.

Re: Leo button to publish selected node as Gist

2013-05-01 Thread Terry Brown
On Wed, 1 May 2013 17:41:28 -0700 Matt Wilkie map...@gmail.com wrote: This leo script, when used as a buttton, will publish the currently selected node to Github as a Gist. Requires the requests module. Run from leo from python.exe in order to see the console messages. Very neat - what's

Re: towards a file rename button/command/thing

2013-05-01 Thread Matt Wilkie
So c.frame.tree.revertHeadline is initial contexts of the headline text. This might be enough for you. Thanks! {later} After some testing I think this is the wrong approach even though `c.frame.tree.revertHeadline` does actually work. Problems include *which* undo event does one want? and the

Re: Leo button to publish selected node as Gist

2013-05-01 Thread wgw
Great! This is like the sublime plugin: https://tutsplus.com/lesson/sexy-code-snippet-management-with-gists/ It would be great if leo branches could go there too I suppose it is do-able. At any rate, this looks like a great way to archive snippets and ideas. Thanks! Bill Le mercredi

Re: Best way to synchronize/update myLeoSettings.leo and leoSettings.leo ?

2013-05-01 Thread Matt Wilkie
Something in the leoSettings myLeoSettings [current workbook] cascade is a little wonky. There a few plugins and settings I've only been able to get working by having them in leoSettings instead of myLeoSettings. I've not filed a bug report yet as building a reproducible test case has been more