Re: MD or RST?

2016-03-25 Thread Jacob Peck
Hi Rob, I use markdown (and also coded up the initial markdown support in Leo!) because I'm used to it. It's a much simpler (IMO) language to work with than RST for my needs. Plus, it's basically muscle memory for me. As for the comments thing -- markdown doesn't actually have comment synt

Re: Leo 5.2-b1 released

2016-03-15 Thread Jacob Peck
On 3/15/2016 10:41 AM, Edward K. Ream wrote: March 15, 2016 Beware the Ides of Leo :) Congratulations! Great news. -->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 from it, send

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

2016-02-12 Thread Jacob Peck
Probably overstepping here, but my input is mixed in below: On 2/12/2016 1:38 PM, john lunzer wrote: Well, I'm certainly happy to have been part of the conversation. On Thursday, February 11, 2016 at 6:12:20 PM UTC-5, Edward K. Ream wrote: I see these three statements as fundamental to the dat

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

2016-02-12 Thread Jacob Peck
Hi Edward, Fascinating stuff. I'm unclear on one thing though -- what you mean by 'attribute'. Is this just some arbitrary, user-definable key that would act as a name for a particular view/colored-thread? UI would be of paramount importance in this scheme -- there's lots of places visuall

Re: how to share @command functionality between nodes?

2016-02-05 Thread Jacob Peck
At the top of your @command node, you can do something like: eval(g.findTestScript(c,'@common code')) Where '@common code' is the name of a node somewhere in your outline. (Thanks to Edward for that one, 3 years ago now! Wow, hard to believe I've been using Leo that long...) -->Ja

Re: Looking to engage a Leo expert in a paid project

2016-01-22 Thread Jacob Peck
I know it's not quite exactly the same, but for a while I was using a home-brewed system I called LTD (Leo Things Done), that leveraged the power of Leo and a few custom plugins (now part of the codebase) to organize my life. I fell out of the habit, but it was quite effective for me for a whi

Re: Configuration Screipt Pattern

2015-12-21 Thread Jacob Peck
The convention tends to be using @settings trees and the appropriate c.config.getX() methods, but obviously that only works for scripts run within Leo. If you're writing a script for use both within and outside of Leo, you might want to go the other way. My personal Leo scripts tend to hold t

Re: Push/pop hoist?

2015-12-02 Thread Jacob Peck
The 'problem' with chapters, if you can call it that, is that they 'feel' more permanent -- you're making a change to the tree structure (with @chapter nodes) to accommodate it -- of course, they're disposable if you wish, just not transparently so. -->Jake On 12/2/2015 10:36 AM, Phil wrote:

Re: Push/pop hoist?

2015-12-02 Thread Jacob Peck
Hmm... Chapters provide a similar function. I use them all the time for this functionality. Hope this helps! -->Jake On 12/2/2015 9:44 AM, Phil wrote: Not 100% clear on your goal - basically cut / yank / push a subtree, which you're identifying by hoisting, to a stack, rather than

Re: My last lecture. Part 1: Why Leo is noteworthy

2015-10-27 Thread Jacob Peck
On 10/27/2015 11:34 AM, Edward K. Ream wrote: Imo, nobody could grok these advantages by reading documentation or reviews. I just had to immerse myself in the new language. Probably the same is true about Leo programming. I just have to say that this is perhaps the single most salient line in

Re: Monthly updates as advertising

2015-10-14 Thread Jacob Peck
Worked wonders for Firefox and Chrome, but both of those already had a significant userbase. On the other hand, the approach they take obsoletes minor versions -- nearly every release is a new major version, often without any super-important or super-visible new features. It feels like inflat

Re: Hip will be replaced on Sept 29

2015-09-28 Thread Jacob Peck
Don't worry about email! Focus on rest and healing. Who knows, perhaps the time away from the code will give you the big Aha! you're looking for right now :) Wishing you a speedy recovery, -->Jake On 9/27/2015 4:19 PM, Edward K. Ream wrote: I've been focusing on the upcoming surgery lately.

Re: Seeking juicy new problems: Leo as serious PIM for GTD?

2015-09-08 Thread Jacob Peck
Hi Don, I don't know if it helps any, but I was using Leo in a GTD-style way for a while. I used a suite of scripts, along with a few plugins I wrote, to automate most tasks. It worked for me for over a year, and I might just have to get back into it soon. I lapsed because, ironically, too

Re: Official Plugins

2015-08-04 Thread Jacob Peck
On 8/4/2015 2:59 PM, john lunzer wrote: I think it would be nice if there was a process in place to differentiate essential plugins in a community sanctioned, official, and at least partially objective way. They could be called "official plugins" and it would provide a much smaller subset of

Re: Simple Scripting Question

2015-07-31 Thread Jacob Peck
Try this: p = c.p.clone() dest = g.findNodeAnywhere(c,'ActionItems') p.moveToLastChildOf(dest) c.redraw() --- moveToLastChildOf is expecting a position, not a name. :) Hope this helps, -->Jake On 7/31/2015 12:01 PM, Tim Fuller wrote: Thank you very much for the quick reply. I'm feeling q

Re: @clean cr/lf problem

2015-07-15 Thread Jacob Peck
According to the screenshot, he's running a7e2e86. In IRC, he reported his python version as 3.4.3. -->Jake On 7/15/2015 3:35 PM, Edward K. Ream wrote: On Wed, Jul 15, 2015 at 1:19 PM, Jacob Peck <mailto:gatesph...@gmail.com>> wrote: That is most certainly a python 3

Re: @clean cr/lf problem

2015-07-15 Thread Jacob Peck
That is most certainly a python 3 bug. Once that's fixed, @lineendings crlf should work for you. Edward? -->Jake On 7/15/2015 2:15 PM, _spt_ wrote: ok, here we go again! two screen shots, spt_leo_ss1 shows one node a forth word, spt_leo_ss2 shows the @lang,@lineending crlf and @others.

Re: @clean cr/lf problem

2015-07-15 Thread Jacob Peck
Replied in IRC, but I'll post it here for clarity and 'the recordbooks': '@lineending crlf' is a directive, not a @setting -- directives go into node bodies. In your clean-strings.leo example, you had @lineending crlf in an @settings tree within your @clean file. That is not going to work.

Re: @clean cr/lf problem

2015-07-14 Thread Jacob Peck
Hi _spt_, The proper setting is: @lineending crlf Not @lineending cr / lf I just tested this with @clean and have a file that has CRLF line endings: $ file forth-test.txt forth-test.txt: ASCII text, with CRLF line terminators Hope this helps, -->Jake -- You received this message because y

Re: 5a78f7c: Leo shows line number in gutter by default

2015-07-01 Thread Jacob Peck
Nice work! Looks snazzy. The font-related settings don't work on my machine, for a few reasons in NumberBar.__init__: - "gutter_font_slant" is not "gutter_font_style" - "gutter_font_size" is completely ignored by LeoQtGui.getFontFromParams, because strings with 'px' or 'pt' don't cast to an

Re: plugin expfolder failing to install

2015-06-30 Thread Jacob Peck
The file leo/plugins/expfolder.ini no longer appears to be in the repo, so the plugin is bailing when trying to read it's init file. This is a good sign that the plugin hasn't been workable for ages. I don't see any author info in the plugin's docstring. I suppose someone could patch this up

OT: Org-mode + IPython interoperability

2015-06-09 Thread Jacob Peck
https://github.com/gregsexton/ob-ipython Perhaps someone will be interested in this? -- 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 leo-editor+unsubscr...@google

Re: To do: enabling/disabling plugins separately from loading plugins

2015-05-05 Thread Jacob Peck
On 5/5/2015 9:17 AM, 'Terry Brown' via leo-editor wrote: Seems to me replacing the whole plugins list loses the current capability of saying "in this outline I want my regular list of plugins plus this one" - after the change you'd have to copy your regular list of plugins, which would then not c

Off-topic: jiphy

2015-05-01 Thread Jacob Peck
A neat looking project: https://github.com/timothycrosley/jiphy -->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 from it, send an email to leo-editor+unsubscr...@googlegroups.com. T

Re: New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-05-01 Thread Jacob Peck
On 5/1/2015 9:29 AM, Edward K. Ream wrote: On Tuesday, April 28, 2015 at 2:06:56 PM UTC-5, Jacob Peck wrote: > Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. This is very cool. A few comments: 1. The code is based

New plugin: python_terminal.py, adds an interactive python session to your log pane

2015-04-28 Thread Jacob Peck
Hi all, Rev d30c0993f8 includes a new plugin, python_terminal.py, that adds an interactive python session to your log pane. Here's the docstring: Leo.plugins.python_terminal Provides an interactive python terminal in the log pane. By Jacob M. Peck Usage Enabling this plugin will add a

Re: adding node with headline string

2015-04-28 Thread Jacob Peck
In a script or @button: # p is the position you'd like to insert after pos = p.insertAfter() pos.h = 'my string' c.redraw_now() Hope this helps! -->Jake On 4/28/2015 6:14 AM, jkn wrote: Hi All how can I programatically insert a node and set its headline to a given string please? I'm sure

Re: Traceback leo.plugins.printing

2015-04-24 Thread Jacob Peck
Hi Lewis, The printing.py plugin was recently removed from the repo because it was integrated into core. Apparently, it was still in leoSettings.leo... I've fixed that as of rev 59a5eb225a8f. Pull latest and this should be fixed. Additionally, you should remove it from your @enabled-plugin

Re: Jake Peck: 8e54e1a moves printing commands into Leo's core

2015-04-21 Thread Jacob Peck
Hi Edward, Thanks for promoting my plugin! I pushed some minor fixes and introduced some new commands at rev 4b98c93. The new commands are: preview-expanded-body preview-expanded-html print-expanded-body print-expanded-html These supplement the existing (print|preview)-tree* commands, by r

Re: Help: Conflicts in commit_timestamp.json after doing a clean git clone

2015-04-14 Thread Jacob Peck
On 4/14/2015 9:29 AM, Edward K. Ream wrote: ​ Hmm. What I want is for commits to always update the .json file, but for pulls to overwrite it silently. Surely this should be possible. Edward Somehow I doubt that's possible -- git has a strong policy of no unannounced data loss (whether or not

Re: Leo 5.2 will be about porcelain, not plumbing

2015-04-13 Thread Jacob Peck
The wiki could easily be on github -- that keeps code and notes in one place :) https://github.com/leo-editor/leo-editor/wiki The old zwiki (I think) could be revived too, but much of what's out there is outdated. -->Jake On 4/13/2015 10:28 AM, Edward K. Ream wrote: Git's distinction betwee

Re: Travails of a newbie

2015-03-16 Thread Jacob Peck
On 3/15/2015 7:57 PM, Ross Burnett wrote: I'm an old dog trying to learn new tricks. I have been learning Python and using PyCharm IDE when I discovered Leo. I use Win 7 on a fast PC I assembled myself. I have been a Cobol developer since the early 70's but now more of a systems consultant

Re: Something I need, Word? (haha)

2015-02-27 Thread Jacob Peck
Hmm. You could use viewrendered, and then copy+paste the vr pane's contents into word. Word retains formatting on paste, so it just might work :) As for imports... no clue. There seems to be a deprecated word plugin though. Perhaps someone could take up the charge and work on that? -->Ja

Re: Characters changed in @nosent xml files

2015-02-23 Thread Jacob Peck
Add the following line to the node:: # -*- coding: utf-8 -*- This tells Leo the correct encoding to use and all should be well. Edward -- That works for python files, but IIRC not for other file types (like .xml files). Perhaps Leo needs an @encoding directive? -->Jake -- You received

Re: uA's practical usage questions

2015-02-20 Thread Jacob Peck
uA's are really only useful with scripts and plugins -- but several plugins use them to store data. For example, the nodetags.py plugin uses them to store tags. It has a UI that lets you deal with this rather than writing scripts :) There's also the attrib_edit.py plugin (I think?) which pro

Re: An xslt prototype for a read-only version of Leo as a web app

2015-02-18 Thread Jacob Peck
On 2/18/2015 10:54 AM, Edward K. Ream wrote: 1. Visiting http://leoeditor.com/xslt-test.leo does not work. The browser renders xslt-test.leo xml, not html. That is, the browser does not perform the xslt transformations. Your web server is configured to send .leo files as MIME type 'text/pla

Re: How to close quotes

2015-02-05 Thread Jacob Peck
I suppose a quick way to prototype such a feature would be with the existing abbreviations code. Just add proper abbreviations in your myLeoSettings.leo file and see what happens :) -->Jake On 2/5/2015 6:13 AM, Fidel N wrote: I believe this to be somewhat related to recent discussions about u

Re: New Install

2015-01-28 Thread Jacob Peck
That would be kind of hard without PyQT! I suppose a fallback into tkinter could be used for this. -->Jake On 1/28/2015 7:24 AM, Fidel N wrote: I also had troubles back in the time when installing, and it also was because of unproperly / not installed pyqt. Perhaps a warning message/GUI shoul

Re: Initial node tagging support -- functionally complete

2015-01-23 Thread Jacob Peck
27; for most uses. Enjoy! -->Jake On 1/23/2015 9:21 AM, Jacob Peck wrote: Hi Mehrdad, I'll look into adding wildcards today. Shouldn't be too hard... (famous last words). It's a good idea, and adding wildcards would definitely allow freeform tag hierarchy :) The second b

Re: Initial node tagging support -- functionally complete

2015-01-23 Thread Jacob Peck
ut this is not a trivial thing, I guess. Best regards Mehrdad Am Mittwoch, 6. August 2014 21:47:45 UTC+2 schrieb Jacob Peck: Hi all, I've put the last bit of planned functionality into the Tagging UI (nodetags.py plugin) today. It's available in the latest commit.

Re: Leo *for* web apps vs. Leo *as* a web app

2015-01-14 Thread Jacob Peck
On 1/14/2015 11:28 AM, Edward K. Ream wrote: Is there any impediment to using Leo with files that are in the local DropBox folder? ​Not that I know of. I just created @file \Dropbox\test.py​ ​and saved it. Changed test.py in the Dropbox folder. The changes appear when I reloaded

Re: Leo *for* web apps vs. Leo *as* a web app

2015-01-14 Thread Jacob Peck
On 1/14/2015 10:55 AM, Edward K. Ream wrote: Writing to a local device involves having a server running on that device. Nope -- HTML5 brought support for localstorage and the FileSystem API. Web apps can write persistent files to client devices. http://www.noupe.com/design/html5-filesystem-ap

Re: Leo *for* web apps vs. Leo *as* a web app

2015-01-14 Thread Jacob Peck
On 1/14/2015 10:38 AM, Edward K. Ream wrote: The question is, would wLeo be an improvement over plain Leo. At present, I do not see how. For example, plain Leo will have *much* better drawing and file-related performance than wLeo​ ​ . And if wLeo is merely going to deal with local files the

Re: Leo *for* web apps vs. Leo *as* a web app

2015-01-14 Thread Jacob Peck
On 1/14/2015 7:31 AM, Edward K. Ream wrote: Web apps are connected to severs that (surprise) actually serve up content (from data bases or news feeds or something else). But what would wLeo serve up? Well, a .leo file, presumably on a *local* machine. That being so, we might as well use Leo

Typos in documents (as reported in IRC)

2015-01-12 Thread Jacob Peck
IRC user lf94 has found a few typos in Leo's docs: http://leoeditor.com/tutorial-programming.html#basic-markup bullet #3: <> should be << docstring >> (missing space) Also, in CheatSheet.leo#Startup-->@settings, **Imortant** should be **Important** (missing 'p'). -->Jake -- You received th

Typo on Leo's homepage

2015-01-06 Thread Jacob Peck
A buddy just noticed this one: The second bullet after "Furthermore" on the homepage is missing a verb (is): Leo _/*is*/_ aPyQt app that runs on Linux, Windows and MacOS. -->Jake -- You received this message because you are subscrib

OT: fun game to boost your regex skills

2014-12-09 Thread Jacob Peck
http://regexcrossword.com/ I'm enjoying it -- it's pretty fun, plus I always need brushing up on my regex skills... -->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 from it, send

Re: Help! rev b435458 is causing problems

2014-12-09 Thread Jacob Peck
Try: git revert b4354581c19c916c9614436a3b88c35c20c1abbf git commit -am "Revert commit b4" git push Hopefully that will undo the commit without rewriting history on master. -->Jake On 12/9/2014 12:30 PM, Edward K. Ream wrote: Rev b435458 was intended to add rope as a submodule, but instead

Re: The plan: Leo 5.0 final in about a week

2014-11-14 Thread Jacob Peck
On 11/14/2014 6:42 AM, Edward K. Ream wrote: Any comments? Just one: WHOO! Way to go, Leo dev team (esp. Edward + Terry)! -->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 from it

Re: Clickable links in editing pane?

2014-10-28 Thread Jacob Peck
On 10/27/2014 6:14 PM, Dufriz wrote: I really believe that the requested feature, which could be advertized a "wiki support", is very useful and that it would take Leo to a whole new level. Not quite on topic, but I find I can get a combination of wiki-like and mindmap-like behavior out of Leo

Re: Ville: ok to put setup.py in leo/dist folder?

2014-10-27 Thread Jacob Peck
+1. Best of all worlds. On 10/27/2014 10:46 AM, 'Terry Brown' via leo-editor wrote: On Mon, 27 Oct 2014 09:40:36 -0500 "Edward K. Ream" wrote: On Mon, Oct 27, 2014 at 8:08 AM, Kent Tenney wrote: how about mentioning setup.py in the installation instructions? If people actually read those

Perhaps worth supporting -- a cross-editor configuration file for source code formatting

2014-10-17 Thread Jacob Peck
http://editorconfig.org/ Stumbled across this today. Seems like it would be useful to look at, if not support. A plugin to format @ according to those simple rules would be trivial, I feel. Famous last words... -->Jake -- You received this message because you are subscribed to the Google

Re: Leo not reloading external scripts

2014-10-03 Thread Jacob Peck
On 10/3/2014 12:17 PM, brian wrote: *Node:* *def scriptWrapper(usr, pwd ):* *exec(g.findTestScript(c,'setupPath')) * *setupPath()* *from pyLib.doSomething import doSomthing* ** *a = doSomthing()* *a.login(usr, pwd)* ** *return( True )* Change this to: *def scriptWrapper(usr, pwd ):*

Re: Completion bug

2014-09-19 Thread Jacob Peck
On 9/19/2014 10:04 AM, Fidel N wrote: Edward, I send pictures when "copy/paste" is not allowed, since the reports happen on the un-responsive console that appears in Windows when I open leo from a .bat file. Is there a way to copy that text?? It's well hidden, but yes: http://www.howtogeek.c

Re: OT: LMAO: Read these reviews

2014-09-17 Thread Jacob Peck
Some of my favorites: http://www.amazon.com/Images-SI-Uranium-Ore/product-reviews/B000796XXM/ref=cm_cr_dp_see_all_summary?ie=UTF8&showViewpoints=1&sortBy=byRankDescending and http://www.amazon.com/JL421-Badonkadonk-Land-Cruiser-Tank/product-reviews/B00067F1CE/ref=cm_cr_dp_see_all_summary?ie=UTF

Re: For Terry: status report re new settings

2014-09-16 Thread Jacob Peck
On 9/16/2014 9:07 AM, Edward K. Ream wrote: This morning I thought to google *validate* qt style sheets rather than *check* qt style sheets. I found this: http://qt-project.org/doc/qt-5/stylesheet-designer.html However, the assertion that Qt Designer actually helps validate style sheets is,

Re: view all parents and navigate?

2014-08-27 Thread Jacob Peck
It's really kind of inconvenient, but... 1.) Enable the nodewatch.py plugin myLeoSettings.leo 2.) In your outline, create a top-level @settings node (if it doesn't exist already) 3.) Underneath that node, create a '@nodewatch parents' node (name doesn't really matter, just that it starts with @

Re: Cmments please: proposal to eliminate tab cycling in completions pane

2014-08-18 Thread Jacob Peck
On 8/18/2014 7:52 AM, Kent Tenney wrote: At present, when entering command names (but *not* file names) in the minibuffer, hitting tab repeatedly cycles through the list of names shown. are you describing command name completion or something else? If you do: Alt-X pr You'll see the complet

Re: traceback

2014-08-15 Thread Jacob Peck
Good catch. Updated the repo to use absolute path. Care to try again? -->Jake On 8/15/2014 1:56 PM, Kent Tenney wrote: right, and I have it too, maybe it needs to be absolute instead of relative. On Fri, Aug 15, 2014 at 12:53 PM, Jacob Peck wrote: Very strange... the file does ind

Re: traceback

2014-08-15 Thread Jacob Peck
Very strange... the file does indeed exist in the current repo: https://github.com/leo-editor/leo-editor/blob/master/leo/core/commit_timestamp.json -->Jake On 8/15/2014 1:46 PM, Kent Tenney wrote: current trunk (venv)ktenney@lappy:~/develop$ leo Traceback (most recent call last): File "/home/k

Re: task plugin not connected to undo-mechanism

2014-08-15 Thread Jacob Peck
Many plugins are not connected to the undoer (yet?). The harsh truth is that the undoer code is confusing, but it's in many ways the simplest thing that could work... Basically, this isn't so much a bug as it is a lack of a feature ;) You can remove all todo-related things from a node through

Re: Git hooks for version reporting

2014-08-15 Thread Jacob Peck
On 8/14/2014 5:51 PM, 'Terry Brown' via leo-editor wrote: But someone (Jacob?) still needs to update the code which prints the build info. in the log window so that it displays that timestamp as the Leo build ID. Done as of the current commit. Leo now reports the following on startup: Leo 4.11

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

2014-08-12 Thread Jacob Peck
On 8/12/2014 11:24 AM, dufriz wrote: How is the work on the tags' UI coming along, Jake? It's functionally complete -- give it a shot! (Should work in PyQt5 now, too, thanks to Terry) Be sure to read the plugin notes (plugin menu -> nodetags) -->Jake -- You received this message because

Re: PyQt5 problems (plugins requiring PyQt4)

2014-08-11 Thread Jacob Peck
This morning I fixed up my GUI plugins to use leoQt: nodetags nodewatch printing sftp The following plugins still have PyQt4 specific imports: attrib_edit nav_qt notebook projectwizard stickynotes screen_capture ctagscompleter screencasts screenshots richtext threadutil codewisecompleter bzr_qc

Initial node tagging support -- functionally complete

2014-08-06 Thread Jacob Peck
Hi all, I've put the last bit of planned functionality into the Tagging UI (nodetags.py plugin) today. It's available in the latest commit. Here's the new docstring: Provides node tagging capabilities to Leo By Jacob M. Peck API === This plugin registers a controller object to c.theTagC

Re: Sometimes it just pays to ask.

2014-08-06 Thread Jacob Peck
How to make it 'stick': 1) Get Leo set up the way you like it. 2) Right-click -> "Save Layout", give it a name like 'default' That's it! Not sure about locking the vr2 pane, though. There's no straight-forward way that I can see of grabbing a vr2 widget from c... -->Jake On 8/6/2014 2:06 P

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

2014-08-06 Thread Jacob Peck
That's only for the tagtest.leo file, the function in the API has such a check. That tagtest.leo file was just hacked together to demonstrate some things and shouldn't be considered bug free :) I've attached a fixed version though, just in case. In fixing that... I found another subtle bug.

Re: key logging

2014-08-05 Thread Jacob Peck
On 8/5/2014 2:05 PM, Fidel N wrote: Is there a way to check the recent keys written in Leo? alt-X 'view-lossage' prints this data out to the log. It looks like you can access this data with g.app.lossage... g.es(list(reversed(g.app.lossage))) Looks like they're tuples, where [0] is a char, an

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

2014-08-05 Thread Jacob Peck
claimer: IANAP What is the easiest way for me to add and remove tags? Chris On Tuesday, August 5, 2014 6:43:05 AM UTC-7, Jacob Peck wrote: On 8/4/2014 11:39 PM, 'Terry Brown' via leo-editor wrote: > Very minor - if, for some odd reason, you have two nodes with the same

Re: OT

2014-08-05 Thread Jacob Peck
The article links to this: https://github.com/digego/extempore Looks like it's a custom flavor of Scheme, which is a dialect of Lisp. -->Jake On 8/5/2014 9:29 AM, Kent Tenney wrote: It's got to be one of the Lisps. -- You received this message because you are subscribed to the Google Groups

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

2014-08-05 Thread Jacob Peck
On 8/4/2014 11:39 PM, 'Terry Brown' via leo-editor wrote: Very minor - if, for some odd reason, you have two nodes with the same name but different tag sets, it lists both of them, but doesn't show the different tag sets when you click on the different nodes. This was a bigger bug than I expecte

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

2014-08-05 Thread Jacob Peck
On 8/4/2014 11:39 PM, 'Terry Brown' via leo-editor wrote: On Mon, 04 Aug 2014 13:59:38 -0400 Jacob Peck wrote: I just added a minimal tag browser UI. Very cool. And of course you can move it out of the tabs window with the free-layout options on the pane divider context menus.

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

2014-08-04 Thread Jacob Peck
On 8/4/2014 4:15 PM, dufriz wrote: I can't believe it. What's next? Hopefully, adding and removing tags without writing scripts :p THANKS again, Jake. No problem :) -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this grou

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

2014-08-04 Thread Jacob Peck
There is now a browser UI for this plugin. It supports searching only, at the moment. It allows for fancy complex queries based on set algebra to filter on multiple criteria, for example: foo&bar|baz&hot|cold-water^fire This would filter as follows: - Find nodes with the tag 'foo' - Fro

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

2014-08-04 Thread Jacob Peck
Correction: All vnodes have a v.u, which creates v.unknownAttributes on demand, if it doesn't exist already. Fixed in the latest commit. Good to know, for future reference... -->Jake On 8/4/2014 3:41 PM, Jacob Peck wrote: Umm... what? All vnodes have an unknownAttributes attribute!

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

2014-08-04 Thread Jacob Peck
Umm... what? All vnodes have an unknownAttributes attribute! I have no clue what's going on here... -->Jake On 8/4/2014 3:30 PM, Kent Tenney wrote: AttributeError: 'VNode' object has no attribute 'unknownAttributes' -- You received this message because you are subscribed to the Google Group

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

2014-08-04 Thread Jacob Peck
You'd need the latest version of Leo, from github: https://github.com/leo-editor/leo-editor/archive/master.zip On 8/4/2014 1:29 PM, duf...@gmail.com wrote: Jake, could you please provide the link for downloading nodetags.py? I googled "commit b9a764c59de263fbdb47969f1d318759b955c442" but got no

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

2014-08-04 Thread Jacob Peck
much like the 'nav' tab. -->Jake On 8/4/2014 1:29 PM, 'Terry Brown' via leo-editor wrote: On Mon, 04 Aug 2014 11:53:07 -0400 Jacob Peck wrote: Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Nice.

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

2014-08-04 Thread Jacob Peck
Oh, sorry! You either need to add 'nodetags.py' to your @enabled-plugins node in myLeoSettings.leo, or set '@scripting-at-plugin-nodes = True' in myLeoSettings.leo. -->Jake On 8/4/2014 1:11 PM, duf...@gmail.com wrote: On Monday, 4 August 2014 16:53:11

Re: using leo to organize and manage my digital library composed of videos, audio, pdf, etc.

2014-08-04 Thread Jacob Peck
There's now a quick and dirty tagging API to use, if you're feeling brave and don't mind writing scripts/buttons for now: https://groups.google.com/forum/#!topic/leo-editor/HHleO2R2UPY But... it really needs a nice UI to shine. PiggyDB's UI looks promising! -->Jake On 8/4/2014 12:57 PM, Chri

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

2014-08-04 Thread Jacob Peck
Regarding tags, I hacked the nodetags.py plugin together, available at commit b9a764c59de263fbdb47969f1d318759b955c442. Attached is a test leo file for playing with it. This is only an API for tags, but I feel like it should simplify the process and allow someone to focus on the important bits

Re: using leo to organize and manage my digital library composed of videos, audio, pdf, etc.

2014-08-04 Thread Jacob Peck
Tagging support would be ideal, that's for sure. Once that is implemented, the rest would be a series of trivial scripts, I feel. I think this should be a push for a node-tagging plugin ;) The real question is the same as always -- how to do UI for tags? I feel like an 'invisible' tagging sys

Re: Vim emulation: ready for testing!

2014-08-04 Thread Jacob Peck
On 8/4/2014 9:45 AM, Edward K. Ream wrote: On Mon, Aug 4, 2014 at 7:37 AM, Jacob Peck wrote: On 8/4/2014 8:33 AM, Edward K. Ream wrote: BTW, I have just verified that you can indent/unindent selected lines (insert mode *only*) using tab/shift-tab. Perhaps in vim, but I live in vi (sans &#

Re: Vim emulation: ready for testing!

2014-08-04 Thread Jacob Peck
On 8/4/2014 8:33 AM, Edward K. Ream wrote: BTW, I have just verified that you can indent/unindent selected lines (insert mode *only*) using tab/shift-tab. Perhaps in vim, but I live in vi (sans 'm'). Solaris doesn't seem to have entered this decade :p -->Jake -- You received this message be

Re: Vim emulation: ready for testing!

2014-08-04 Thread Jacob Peck
On 8/3/2014 1:17 PM, Kent Tenney wrote: gg and G for jumping to beginning and end of file. :r filename put contents of filename at cursor position :!shell command :e directory name presents list of files in the directory, selecting and opens a file :tabnew filename opens filename in a new t

Re: Is it safe to have @file and @edit node for the same file?

2014-07-29 Thread Jacob Peck
(Another reason I think it would be a good idea to introduce @read-only nodes...) -->Jake On 7/29/2014 5:42 AM, Edward K. Ream wrote: On Tue, Jul 29, 2014 at 3:46 AM, Zoltan Benedek wrote: Hi, Sometimes I want to see the code entirely as is in the file. Should I have a separate leo file or ca

Re: Jake, have you told your turned-off friend that refresh-from-disk now works?

2014-07-29 Thread Jacob Peck
Yeah, I've mentioned it. He's mired in some heavy scala and java work at the moment, so I don't know if/when he'll give Leo another shot. He seemed happy that the bug(s) were fixed, though! -->Jake On 7/29/2014 5:54 AM, Edward K. Ream wrote: Hate to lose a Leo user ;-) Edward -- You receive

Duplicated effort - two identical markdown colorizers

2014-07-29 Thread Jacob Peck
Hi all, I see that Edward added a markdown colorizer at commit c34d978b3d6260035f59a61e351c818a25b1109d, in leo/modes/markdown.py. I added a markdown colorizer way back in February 2013, I think :) It's in leo/modes/md.py, and is applied whenever a node has '@language md' at the top. It app

Re: Writer plugins now operational. Warning: this affects @auto-rst

2014-07-28 Thread Jacob Peck
x27;m running Leo with a console attached. -->Jake On 7/28/2014 1:25 PM, Jacob Peck wrote: Same here: Leo 4.11 final, build 7f25136c3cf9 (branch: master), 2014-07-28 13:17:57 Python 2.7.6, PyQt version 4.8.5 Windows 7 x86 (build 6.1.7601) SP1 can not import leo.plugins,importers.c.py can no

Re: Writer plugins now operational. Warning: this affects @auto-rst

2014-07-28 Thread Jacob Peck
Same here: Leo 4.11 final, build 7f25136c3cf9 (branch: master), 2014-07-28 13:17:57 Python 2.7.6, PyQt version 4.8.5 Windows 7 x86 (build 6.1.7601) SP1 can not import leo.plugins,importers.c.py can not import leo.plugins,importers.csharp.py can not import leo.plugins,importers.elisp.py can not im

Re: New persistence code ready for testing!

2014-07-16 Thread Jacob Peck
On 7/16/2014 8:59 AM, Edward K. Ream wrote: the simplest thing that could possibly work Ockham's Razor at work! Good :) Nice work, Edward. Keep it up! -->Jake -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: about @auto

2014-07-08 Thread Jacob Peck
On 7/8/2014 12:04 PM, 'Terry Brown' via leo-editor wrote: On Tue, 8 Jul 2014 08:18:04 -0500 Kent Tenney wrote: There is also a pretty old bug in 'refresh from disk' just saying ... https://groups.google.com/forum/#!topic/leo-editor/Qp4D74Ig_jY https://bugs.launchpad.net/leo-editor/+bug/125912

Re: Representing Leo outlines in git

2014-07-08 Thread Jacob Peck
On 7/8/2014 11:05 AM, Edward K. Ream wrote: On Tue, Jul 8, 2014 at 9:36 AM, Jacob Peck wrote: What it could allow is per-node versioning... but there are better ways of doing that. Kent's work, for example... Thanks, Jake, for this comment. I was wondering about that. I am also inter

Re: Representing Leo outlines in git

2014-07-08 Thread Jacob Peck
What it could allow is per-node versioning... but there are better ways of doing that. Kent's work, for example... -->Jake On 7/8/2014 10:16 AM, Fidel N wrote: could that become some short of collaborative outline editing for Leo maybe? On Tue, Jul 8, 2014 at 2:46 PM, Edward K. Ream

Re: about @auto

2014-07-08 Thread Jacob Peck
On 7/8/2014 9:28 AM, 'Terry Brown' via leo-editor wrote: On Tue, 8 Jul 2014 08:18:04 -0500 Kent Tenney wrote: Wondering about current status and potential direction: I'm wondering what the difference between @auto with persistence and @shadow is... is @shadow not trusted enough or has limita

Re: issues/bugs from launchpad to github - volunteers?

2014-07-02 Thread Jacob Peck
On 7/2/2014 11:28 AM, 'Terry Brown' via leo-editor wrote: I assume there's one for github https://github.com/jacquev6/PyGithub -->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 fro

Re: problems with the minibuffer

2014-06-27 Thread Jacob Peck
Perhaps related: https://bugs.launchpad.net/leo-editor/+bug/1244461 (In that it's minibuffer keyhandling being wonky. I think the minibuffer code needs a revisit at some point -- arrow keys are interesting to work with in the minibuffer as well). -->Jake On 6/27/2014 8:35 AM, Edward K. Ream

Re: Installing Leo Mint

2014-06-25 Thread Jacob Peck
On 6/25/2014 3:33 PM, 'Terry Brown' via leo-editor wrote: On Wed, 25 Jun 2014 20:07:19 +0100 dufriz wrote: On Wed, Jun 25, 2014 at 7:53 PM, 'Terry Brown' via leo-editor Leo hasn't made it into the Ubuntu and related repositories, mostly lack of developer time and developer knowledge, I don'

Re: @rclick now support submenus

2014-06-02 Thread Jacob Peck
Nice work! -->Jake On 6/2/2014 12:32 PM, 'Terry Brown' via leo-editor wrote: Looks like @rclick isn't well doc'ed, :-/ but it lets you add context menu items (right-click) to your custom @buttons. Anyway, it now supports submenus, any @rclick node with no non-whitespace body text will generate

Re: Hiding node-type markers. Proposing: type-dependent icons

2014-05-28 Thread Jacob Peck
On 5/28/2014 10:31 AM, 'Terry Brown' via leo-editor wrote: On Wed, 28 May 2014 10:11:04 -0400 Jacob Peck wrote: I think replacing them with icons and showing them on edit would be a good enhancement, especially with an easy way to define custom icons via @settings :) Definitely t

<    1   2   3   4   5   6   7   >