Re: leo4sqlite plugin

2018-01-18 Thread Edward K. Ream
On Wed, Jan 17, 2018 at 6:59 PM, tscv11 wrote: > I thought you might want to review the current docstring for leo4sqlite, > so here it is. > Hopefully reST is okay - I saw it in another plugin's docstring so I went > ahead. > ​I'm not a database guy, so I'll let others

Re: leo4sqlite plugin

2018-01-18 Thread tscv11
*I thought you should have the latest version because of these changes:* a) I fixed a 'fatal' error in @g.command('sqlite-extract-blob'), thanks to some previous advice from you. b) I also fixed dozens of pyflakes errors - everything checks out clean now and the script appears to function as

Re: leo4sqlite plugin

2018-01-17 Thread tscv11
I thought you might want to review the current docstring for leo4sqlite, so here it is. Hopefully reST is okay - I saw it in another plugin's docstring so I went ahead. tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Re: leo4sqlite plugin

2018-01-16 Thread T C
todos make sense. With plugins > there's typically just the plugin, and no accompanying .leo file, so > moving the content in the readme into the docstring will make it easier > for people to see how to get started. The docstring is what's seen > when you select Plugins -> leo4sqlit

Re: leo4sqlite plugin

2018-01-16 Thread Terry Brown
On Tue, 16 Jan 2018 19:42:42 -0800 (PST) tscv11 <tsc.v...@gmail.com> wrote: > Nice job, me! Yes, indeed, nice job :-) In terms of suggestions, your own todos make sense. With plugins there's typically just the plugin, and no accompanying .leo file, so moving the content in t

Re: leo4sqlite plugin

2018-01-16 Thread tscv11
Nice job, me! Yes, I finally finished it, and no one can take that away from me, whether I ever hear from any of them again or not, whether anyone even looks at it or not, *I *know I did *good*. Well done, me, it was worth the effort! I think I'll work on a YAML database application next. Sounds

gitarchive plugin

2018-01-04 Thread Terry Brown
On Wed, 3 Jan 2018 20:51:49 -0800 (PST) tscv11 <tsc.v...@gmail.com> wrote: > I hope this isn't too out of place. I just want to ask how to use > the gitarchive plugin. It crashes Leo with a perpetual loop when > I try to use it. > > Thank you, > > tsc It's a sep

Re: NEW: cloud storage plugin for Leo

2017-12-01 Thread Terry Brown
On Wed, 18 Oct 2017 08:51:07 -0500 "Edward K. Ream" <edream...@gmail.com> wrote: > On Sun, Sep 24, 2017 at 3:40 PM, Terry Brown <terrynbr...@gmail.com> > wrote: > > The new leo_cloud plugin allows subtrees within a .leo file to be > > stored in the clou

Re: Tweaked tags plugin for leo_cloud support

2017-11-21 Thread Edward K. Ream
On Tuesday, November 21, 2017 at 9:26:26 AM UTC-6, Terry Brown wrote: > > https://github.com/leo-editor/leo-editor/commit/fec44e0 > casts tags to sets in case the subtree was stored in the cloud via > leo_cloud, which stores v.uA as JSON, which can't represent sets. > > I don't think this

Tweaked tags plugin for leo_cloud support

2017-11-21 Thread Terry Brown
https://github.com/leo-editor/leo-editor/commit/fec44e0 casts tags to sets in case the subtree was stored in the cloud via leo_coud, which stores v.uA as JSON, which can't represent sets. I don't think this will have any impact, but just pointing it out in case anyone notices anything. Cheers

Re: 65db25e removes one hard binding to Ctrl-Shift-F in quicksearch plugin

2017-11-19 Thread Edward K. Ream
de: Keyboard shortcuts-->@keys EKR bindings--> @shortcuts Plugin-related commands The binding "takes" in all my by-hand tests. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group a

Re: 65db25e removes one hard binding to Ctrl-Shift-F in quicksearch plugin

2017-11-19 Thread Terry Brown
On Sun, 19 Nov 2017 08:49:31 -0800 (PST) "Edward K. Ream" <edream...@gmail.com> wrote: > Rev 65db25e removes this hard binding in quicksearch.py plugin: > > find-quick-selected = Ctrl-Shift-F > > My by-hand tests indicate that all aspects of #579 > <htt

65db25e removes one hard binding to Ctrl-Shift-F in quicksearch plugin

2017-11-19 Thread Edward K. Ream
Rev 65db25e removes this hard binding in quicksearch.py plugin: find-quick-selected = Ctrl-Shift-F My by-hand tests indicate that all aspects of #579 <https://github.com/leo-editor/leo-editor/issues/579> work as expected, so if you want this binding you should

Please fix pylint complaints in leo_cloud plugin

2017-10-24 Thread Edward K. Ream
The complaints are: Module leo.plugins.leo_cloud E:421,18: Class 'LeoCloud' has no 'recursive_hash3' member; maybe 'recursive_hash'? (no-member) W:608,-1: String statement has no effect (pointless-string-statement) The "pointless" string statement is a triple-quoted string that comments out

Re: NEW: cloud storage plugin for Leo

2017-10-18 Thread Edward K. Ream
On Sun, Sep 24, 2017 at 3:40 PM, Terry Brown <terrynbr...@gmail.com> wrote: The new leo_cloud plugin allows subtrees within a .leo file to be > stored in the cloud. ​Rev cd45289 adds a mention of leo_cloud.py to LeoDocs.leo and adds a lightly edited version of the rest of

Re: Leo crashes when using iPython plugin

2017-10-18 Thread Edward K. Ream
On Thu, Oct 5, 2017 at 5:25 AM, Andreas Gehrmann <a...@srms.asia> wrote: > > Hi, I try to execute python code from Leo with the iPython plugin. > > I start Leo from the windows terminal with python leolauch.py --ipython > and as expected a Jupity QTconsol is opening. >

Re: Leo crashes when using iPython plugin

2017-10-12 Thread Andreas Gehrmann
thanks for this. How about the python terminal plugin, also no way to provide manual inputs? On Tuesday, October 10, 2017 at 11:55:22 PM UTC+8, john lunzer wrote: > > I would sort of expect a crash like this. I don't believe there is > anything built into the Leo-IPython bridge wh

Re: Leo crashes when using iPython plugin

2017-10-10 Thread john lunzer
keyboard input. On Sunday, October 8, 2017 at 9:31:35 PM UTC-4, Andreas Gehrmann wrote: > > > Hi, I try to execute python code from Leo with the iPython plugin. > > I start Leo from the windows terminal with python leolauch.py --ipython > and as expected a Jupity QTconsol is o

Leo crashes while using iPython plugin

2017-10-08 Thread Andreas Gehrmann
Hi, I try to execute python code from Leo with the iPython plugin. I start Leo from the windows terminal with python leolauch.py --ipython and as expected a Jupity QTconsol is opening. If I run a print("hello world") via ipython excec it shows the result s expected. However, if I ru

Leo crashes when using iPython plugin

2017-10-08 Thread Andreas Gehrmann
Hi, I try to execute python code from Leo with the iPython plugin. I start Leo from the windows terminal with python leolauch.py --ipython and as expected a Jupity QTconsol is opening. If I run a print("hello world") via ipython excec it shows the result s expected. However, if I ru

Re: NEW: cloud storage plugin for Leo

2017-10-04 Thread Kent Tenney
they mostly involve rsync and > > inotify, > > Take a look at Jake's sftp plugin, I think that's basically what that > does. I don't think there's much real difference between sftp and scp. > > It adds @sftp nodes. > > Cheers -Terry > > -- > You rec

Re: NEW: cloud storage plugin for Leo

2017-09-28 Thread Terry Brown
mostly involve rsync and > inotify, Take a look at Jake's sftp plugin, I think that's basically what that does. I don't think there's much real difference between sftp and scp. It adds @sftp nodes. Cheers -Terry -- You received this message because you are subscribed to the Google Gr

Re: NEW: cloud storage plugin for Leo

2017-09-28 Thread Kent Tenney
@scp-auto and @scp-clean file types. Just saying. Thanks, Kent On Sun, Sep 24, 2017 at 3:40 PM, Terry Brown <terrynbr...@gmail.com> wrote: > The new leo_cloud plugin allows subtrees within a .leo file to be > stored in the cloud. It should be possible to support various cloud

Re: NEW: cloud storage plugin for Leo

2017-09-28 Thread Terry Brown
On Thu, 28 Sep 2017 04:48:46 -0700 (PDT) john lunzer <lun...@gmail.com> wrote: > sFTP might be nice to have for people behind restrictive firewalls Would a dependency on paramiko be an issue for you? That seems to be the python lib. for sFTP. Jake's @sftp plugin uses it. Chee

Re: NEW: cloud storage plugin for Leo

2017-09-28 Thread Terry Brown
itLab in this context doesn't mean you're using git / need to understand git, it just means your using those services to provide cloud storage. Cheers -Terry > Great job, thank you for your contributions. > > On Sunday, September 24, 2017 at 4:41:02 PM UTC-4, Terry Brown wrote: > >

Re: NEW: cloud storage plugin for Leo

2017-09-28 Thread john lunzer
, September 24, 2017 at 4:41:02 PM UTC-4, Terry Brown wrote: > > The new leo_cloud plugin allows subtrees within a .leo file to be > stored in the cloud. It should be possible to support various cloud > platforms, currently git is supported (i.e. you can use GitLab or > GitHub or

Re: NEW: cloud storage plugin for Leo

2017-09-25 Thread Edward K. Ream
On Sun, Sep 24, 2017 at 3:40 PM, Terry Brown <terrynbr...@gmail.com> wrote: > The new leo_cloud plugin allows subtrees within a .leo file to be > stored in the cloud. It should be possible to support various cloud > platforms, currently git is supported (i.e. you can use Git

Re: NEW: cloud storage plugin for Leo

2017-09-24 Thread Terry Brown
p.s. for the Git cloud adapter, `git` needs to be on the path. -- 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. To post to

NEW: cloud storage plugin for Leo

2017-09-24 Thread Terry Brown
The new leo_cloud plugin allows subtrees within a .leo file to be stored in the cloud. It should be possible to support various cloud platforms, currently git is supported (i.e. you can use GitLab or GitHub or your own remote git server). A leo_cloud subtree has a top node with a headline

Re: New plugin line_numbering

2017-08-16 Thread Adrian
m/leo-editor/leo-editor/commit/7fe3217e5fd2ab32b5a5c92647b2a285cf805e4b> > contains > new plugn line_numbering.py. > > This plugin when used with setting '@bool use-gutter=True', will show real > line numbers (as they are in external file) in gutter. The effect of this > plu

Re: New plugin line_numbering

2017-08-12 Thread vitalije
> > > RuntimeError: generator didn't yield > > Please fix this :-) I don't think Leo's plugin handlers have a chance of > catching exceptions in callbacks. > Fixed at 2e9b9e5 <https://github.com/leo-editor/leo-editor/commit/2e9b9e53843d2040e418efd602de1b935d8d8

Re: New plugin line_numbering

2017-08-12 Thread Edward K. Ream
hot(200, lambda:renumber(c)) File "c:\leo.repo\leo-editor\leo\plugins\line_numbering.py", line 97, in renumber with number_bar_widget(c) as w: File "c:\Anaconda3\lib\contextlib.py", line 61, in __enter__ raise RuntimeError("generator didn't yield") fro

Re: New plugin line_numbering

2017-08-12 Thread vitalije
I don't know if it solved flicker, but rev a8c9ffc2 <https://github.com/leo-editor/leo-editor/commit/a8c9ffc2700dfa591460e076b6d783be4dc9382f> contains some code aimed to skip unnecessary redraws. If you look at onSelect handler in line_numbering plugin it merely calls request_update:

Re: New plugin line_numbering

2017-08-11 Thread Edward K. Ream
On Fri, Aug 11, 2017 at 3:48 AM, vitalije wrote: > I would like to eliminate the momentary flash between the calculation of >> the initial "local" line numbers and the eventual "global" numbers. >> > > IIRC I have intentionally put some delay in renumbering body, because it

Re: New plugin line_numbering

2017-08-11 Thread vitalije
> > I would like to eliminate the momentary flash between the calculation of > the initial "local" line numbers and the eventual "global" numbers. > Vitalije, are you willing to look into this? > Sorry for delayed response. The last few days I was not at home. IIRC I have intentionally put

Re: New plugin line_numbering

2017-08-10 Thread Edward K. Ream
On Thursday, July 27, 2017 at 5:23:34 PM UTC-5, vitalije wrote: Revision 7fe3217e > <https://github.com/leo-editor/leo-editor/commit/7fe3217e5fd2ab32b5a5c92647b2a285cf805e4b> > contains > new plugin line_numbering.py. > The more I use this plugin, the more I like it. I

Re: Bookmarks plugin - crashes saving layout

2017-08-01 Thread lewis
Console gui is working again with commit 8d3c368. Apologies for being slightly off topic :/ Regards Lewis -- 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

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread lewis
Console gui doesn't run, here is console log: *launchleo.py --gui=console* *[snip]* *Found /help/replace TypeDict: None is not a valid key traverse,visitNode,doData,setcan not create curses gui.createDefaultGui: Leo requires Qt to be installed.Leo 5.5, build 20170731192022, пон,

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread lewis
All fixed. Thank you Vitalije. Regards Lewis -- 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. To post to this group, send

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread Terry Brown
On Mon, 31 Jul 2017 11:28:47 -0700 (PDT) vitalije wrote: > Is it necessary to have TZ set? If it needs to be UTC maybe it would > be better to use {date -u}. > > Vitalije Yes, `date -u` is better, just wasn't aware of it. Thanks. -- You received this message because

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread vitalije
Is it necessary to have TZ set? If it needs to be UTC maybe it would be better to use {date -u}. Vitalije -- 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

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread vitalije
I figured it out. It was enough just to insert a line: LC_ALL=en_US.utf-8 in commit-msg hook. The next commit will have English date in asctime field. Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread Terry Brown
On Mon, 31 Jul 2017 10:24:22 -0700 (PDT) vitalije wrote: > Thanks. I have installed hooks now and made first commit/push. I hope > it worked now. > > It changed asctime to localized representation of time. I don't know > if it matters. > > Vitalije Ha, well, I think it

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread vitalije
Thanks. I have installed hooks now and made first commit/push. I hope it worked now. It changed asctime to localized representation of time. I don't know if it matters. Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread Terry Brown
On Mon, 31 Jul 2017 09:42:37 -0700 (PDT) vitalije wrote: > > > > > > > > As an aside, Vitalije, I see you don't have the git commit hooks > > > that update the build number for Leo - a1043408d36f is more > > > recent than 20170721094758. > > > > > > Cheers -Terry > > >

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread vitalije
> > > > As an aside, Vitalije, I see you don't have the git commit hooks that > > update the build number for Leo - a1043408d36f is more recent than > > 20170721094758. > > > > Cheers -Terry > > > > I am not aware of this hooks. How can I install them? Vitalije -- You received this

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread vitalije
Fixed at dcc57b01f . Sorry for the inconvenience. It was my fault in implementing `__get_item__` of new cache object. It didn't raise KeyError for non existent keys, but rather was returning None. I

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread Terry Brown
On Mon, 31 Jul 2017 09:43:03 -0500 Terry Brown wrote: > On Mon, 31 Jul 2017 07:04:07 -0700 (PDT) > lewis wrote: > > > Running latest Leo 5.5, build 20170721094758, Fri Jul 21 09:47:58 > > CDT 2017 Git repo info: branch = master, commit =

Re: Bookmarks plugin - crashes saving layout

2017-07-31 Thread Terry Brown
On Mon, 31 Jul 2017 07:04:07 -0700 (PDT) lewis wrote: > Running latest Leo 5.5, build 20170721094758, Fri Jul 21 09:47:58 CDT > 2017 Git repo info: branch = master, commit = a1043408d36f > Python 3.6.2, PyQt version 5.9.1 > Windows 10 AMD64 (build 10.0.15063) SP0 >

Bookmarks plugin - crashes saving layout

2017-07-31 Thread lewis
Running latest Leo 5.5, build 20170721094758, Fri Jul 21 09:47:58 CDT 2017 Git repo info: branch = master, commit = a1043408d36f Python 3.6.2, PyQt version 5.9.1 Windows 10 AMD64 (build 10.0.15063) SP0 isPython3: True Leo loads but my bookmarks aren't showing. Here is message in log pane:

Re: New plugin line_numbering

2017-07-29 Thread Edward K. Ream
On Fri, Jul 28, 2017 at 8:29 PM, zhaohe wang wrote: > Why dose linenumber start from 3 not 1 after run line-numbering-toggle? > ​Probably because there are two hidden sentinel comment lines preceding the first "visible" lines of the external file. Edward -- You received

Re: New plugin line_numbering

2017-07-28 Thread zhaohe wang
>> >> Revision 7fe3217e >> <https://github.com/leo-editor/leo-editor/commit/7fe3217e5fd2ab32b5a5c92647b2a285cf805e4b> >> contains >> new plugn line_numbering.py. >> >> This plugin when used with setting '@bool use-gutter=True', will show >> r

Re: New plugin line_numbering

2017-07-28 Thread zhaohe wang
f many nodes, if an exception was > thrown Leo would report some line number where the exception was thrown. > Using this plugin one can see where is that line, if start of script is > marked with '*toggle-line-numbering-root*' command. > > I hope that this explanation is more cle

Re: New plugin line_numbering

2017-07-28 Thread vitalije
ne-numbering-root*'. Invoking it again clears that mark and its children would be counted as separate files. While developing script consisting of many nodes, if an exception was thrown Leo would report some line number where the exception was thrown. Using this plugin one can see where

Re: New plugin line_numbering

2017-07-27 Thread zhaohe wang
tains > new plugn line_numbering.py. > > This plugin when used with setting '@bool use-gutter=True', will show real > line numbers (as they are in external file) in gutter. The effect of this > plugin can be temporarily turned off and on using new command > 'line-numbering-toggle'. T

New plugin line_numbering

2017-07-27 Thread vitalije
Revision 7fe3217e <https://github.com/leo-editor/leo-editor/commit/7fe3217e5fd2ab32b5a5c92647b2a285cf805e4b> contains new plugn line_numbering.py. This plugin when used with setting '@bool use-gutter=True', will show real line numbers (as they are in external file) in gutter. The

Re: Additional Plugin Dirs

2017-06-06 Thread Edward K. Ream
On Tuesday, June 6, 2017 at 6:13:35 AM UTC-5, Edward K. Ream wrote: > > This script loads ~/leo-plugins/test-plugin without changing PYTHONPATH. > It changes sys.path instead: > All very well, but typically the module name must be on the *default* sys.path, that is, PYTH

Re: Additional Plugin Dirs

2017-06-06 Thread Edward K. Ream
se where they must be in leo/plugins might be >>when the name in enabled-plugins ends in .py >> > > ​Thanks, Terry. > Rev 8d463c3 updates the relevant docstrings to emphasize that using module names allows plugins to be loaded outside leo/plugins. This script loads ~/leo-plu

Re: Additional Plugin Dirs

2017-06-06 Thread Edward K. Ream
On Sat, Jun 3, 2017 at 2:34 PM, Terry Brown wrote: > > => Leo searches Python's path for, well, for modules, but in effect for >plugins. I think the case where they must be in leo/plugins might be >when the name in enabled-plugins ends in .py > ​Thanks, Terry. A

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
t 6:41:27 PM UTC-5, Adrian Calvin wrote: >> >> Is there a way to add additional plugin directories to leo just as one >> might add additional paths to python? >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "le

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Ah I see, yes. You are correct. On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: > > Is there a way to add additional plugin directories to leo just as one > might add additional paths to python? > -- You received this message because you are subscribed to the G

Re: Additional Plugin Dirs

2017-06-03 Thread Terry Brown
On Sat, 3 Jun 2017 16:43:14 -0500 Adrian Calvin <developer.adr...@gmail.com> wrote: > Right, thanks. I am pretty close. I am just trying to make the code > more tidy. It was not quite as I thought. Since the plugin name > cannot have more than one ".", on

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
n Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: >> >> Is there a way to add additional plugin directories to leo just as one >> might add additional paths to python? >> > -- You received this message because you are subscribed to the Google Groups &quo

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
It might be better to replace the "." with "/" to seem more like a true file path. if "/" in fn: return fn.replace("/", ".")[:-3] @enabled-plugins adrianmod/hey_colorize.py On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
the module is in the python path. On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: > > Is there a way to add additional plugin directories to leo just as one > might add additional paths to python? > -- You received this message because you are subscribed to the Google Gr

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Right, thanks. I am pretty close. I am just trying to make the code more tidy. It was not quite as I thought. Since the plugin name cannot have more than one ".", one can scan for the number of "." to decide which course of action to take. On Sat, Jun 3, 2017 at 2:34 PM, T

Re: Additional Plugin Dirs

2017-06-03 Thread Terry Brown
il.com> wrote: > > > > > Is there a way to add additional plugin directories to leo just as > > > one might add additional paths to python? > > > > Yes. > > > > I think, from memory, the rule for plugins named in > > @enabled-plugins i

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Thanks I'll do my best..New to both python and Leo. On Sat, Jun 3, 2017 at 1:18 PM, Edward K. Ream wrote: > On Sat, Jun 3, 2017 at 10:57 AM, Adrian Calvin > wrote: > >> I see. I have never submitted code to github, but I will work on a >>

Re: Additional Plugin Dirs

2017-06-03 Thread Edward K. Ream
On Sat, Jun 3, 2017 at 10:57 AM, Adrian Calvin wrote: > I see. I have never submitted code to github, but I will work on a > solution, if you are accepting of the idea? > ​Yes, I think the idea is a good one. Edward -- You received this message because you are

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
I see. I have never submitted code to github, but I will work on a solution, if you are accepting of the idea? On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: > > Is there a way to add additional plugin directories to leo just as one > might add additional paths

Re: Additional Plugin Dirs

2017-06-03 Thread Edward K. Ream
On Fri, Jun 2, 2017 at 9:44 PM, Terry Brown <terrynbr...@gmail.com> wrote: > On Fri, 2 Jun 2017 16:41:27 -0700 (PDT) > Adrian Calvin <developer.adr...@gmail.com> wrote: > > > Is there a way to add additional plugin directories to leo just as > > one might add ad

Re: Additional Plugin Dirs

2017-06-03 Thread Edward K. Ream
On Fri, Jun 2, 2017 at 6:41 PM, Adrian Calvin <developer.adr...@gmail.com> wrote: > Is there a way to add additional plugin directories to leo just as one > might add additional paths to python? > ​I thought there was an enhancement request for something like this, but I can't f

Re: Additional Plugin Dirs

2017-06-02 Thread Terry Brown
On Fri, 2 Jun 2017 16:41:27 -0700 (PDT) Adrian Calvin <developer.adr...@gmail.com> wrote: > Is there a way to add additional plugin directories to leo just as > one might add additional paths to python? Yes. I think, from memory, the rule for plugins named in @enabled-plugins is

Additional Plugin Dirs

2017-06-02 Thread Adrian Calvin
Is there a way to add additional plugin directories to leo just as one might add additional paths to python? -- 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 ema

Re: traceback using at_produce.py plugin

2017-05-15 Thread Edward K. Ream
On Mon, May 15, 2017 at 7:14 AM, lewis wrote: > running ce217ef > > File "N:\git\leo-editor\leo\plugins\at_produce.py", line 142, in runList > f.write( txt ) > TypeError: write() argument must be str, not bytes > ​This should be fixed at 9388fc4, although perhaps

Re: traceback using at_produce.py plugin

2017-05-15 Thread lewis
running ce217ef [snip] Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\lewis\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner self.run() File "C:\Users\lewis\AppData\Local\Programs\Python\Python36\lib\threading.py",

Re: traceback using at_produce.py plugin

2017-05-15 Thread Edward K. Ream
On Mon, May 15, 2017 at 6:31 AM, lewis <lewisn...@operamail.com> wrote: > I get this traceback with at_produce.py plugin running > *at-produce-selected* command on a node: > ​...​ > > > File "N:\git\leo-editor\leo\plugins\at_produce.py", line 137, in runLis

traceback using at_produce.py plugin

2017-05-15 Thread lewis
I get this traceback with at_produce.py plugin running *at-produce-selected* command on a node: Leo 5.5, build 20170514184942, Sun May 14 18:49:42 CDT 2017 Git repo info: branch = master, commit = 326e94863831 Python 3.6.1, PyQt version 5.8.0 Windows 10 AMD64 (build 10.0.15063) SP0 reading

Re: can not load enabled plugin: leo.plugins.xml_edit

2017-05-02 Thread tscv11
I see. I thought maybe it was specific to Leo. I understand now (good old pip!) Thanks again. -- 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

Re: can not load enabled plugin: leo.plugins.xml_edit

2017-05-02 Thread Terry Brown
On Tue, 2 May 2017 19:14:45 -0700 (PDT) tscv11 <tsc.v...@gmail.com> wrote: > ImportError: No module named 'lxml' > loadOnePlugin: can not load enabled plugin: leo.plugins.xml_edit Ah, you need to install lxml, which is backed by a C library. In Ubuntu, sudo apt install

can not load enabled plugin: leo.plugins.xml_edit

2017-05-02 Thread tscv11
Sorry to jump right back in with another one, but this is really a continuation of my earlier post... I would like to get the xml_edit plugin working now. I've just switched to a fresh download of the latest snapshot, but when I try enabling the xml_edit plugin I get the following error

Re: Bookmarks plugin - user guide and setup

2017-04-28 Thread Terry Brown
On Fri, 28 Apr 2017 17:20:23 -0700 (PDT) lewis wrote: > Hi Terry, > > Regarding these steps when setting up bookmarks: > - click [Action] and click [bookmarks] > - a blank bookmarks pane will appear > [snip] > Arranging your bookmarks pane > - Improve the position of

Re: Bookmarks plugin - user guide and setup

2017-04-28 Thread lewis
Hi Terry, Regarding these steps when setting up bookmarks: - click [Action] and click [bookmarks] - a blank bookmarks pane will appear [snip] Arranging your bookmarks pane - Improve the position of your bookmarks pane: If possible, why not just insert the new pane directly above the outline

Re: Quicksearch plugin - docstring clarity

2017-04-28 Thread Edward K. Ream
On Wed, Apr 26, 2017 at 8:50 AM, lewis wrote: > Suggested changes to improve readability: > ​Done at e6c71d5. Thanks for these suggestions. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Quicksearch plugin - docstring clarity

2017-04-26 Thread lewis
Suggested changes to improve readability: 1. The docstring should make it clear that quicksearch only searches node headlines. Maybe: "Quicksearch searches node headlines only, `not` body text" 2. Improve formatting and readability of docstring by adding a line before the list: The search

Re: Bookmarks plugin - user guide and setup

2017-04-15 Thread Edward K. Ream
On Fri, Apr 14, 2017 at 3:36 AM, lewis <lewisn...@operamail.com> wrote: > Even as a user of the Bookmarks plugin, I found the current docstring a > little daunting so I prepared an updated "User Guide + Bookmark pane > setup". > ​Excellent work. Leo has needed some

Re: Bookmarks plugin - user guide and setup

2017-04-14 Thread lewis
If you approve of the update, please put it in the doc string. I don't have write access. Thanks Lewis On Saturday, April 15, 2017 at 6:12:22 AM UTC+10, Terry Brown wrote: > > Thanks for this - did you put it / want to put it in the doc string? > > Cheers -Terry > -- You received this

Bookmarks plugin - user guide and setup

2017-04-14 Thread lewis
Even as a user of the Bookmarks plugin, I found the current docstring a little daunting so I prepared an updated "User Guide + Bookmark pane setup". I used your most helpful video Terry Brown demos bookmarks <https://vimeo.com/77720098> at http://leoeditor.com/screencasts.

e617860: enables screen_capture.py plugin by default

2017-04-03 Thread Edward K. Ream
This plugin is way too good to hide :-) Edward -- 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. To post to

Re: Writing a Plugin. plugins\examples folder

2017-03-15 Thread Edward K. Ream
On Wed, Mar 15, 2017 at 10:18 AM, Edward K. Ream <edream...@gmail.com> wrote: > On Wed, Mar 15, 2017 at 6:32 AM, lewis <lewisn...@operamail.com> wrote: > > ​> ​ > after enabling [override_commands.py] I get a message in the log pane: > ​ ​ > loadOnePlugin:

Re: Writing a Plugin. plugins\examples folder

2017-03-15 Thread Edward K. Ream
On Wed, Mar 15, 2017 at 6:32 AM, lewis <lewisn...@operamail.com> wrote: ​> ​ after enabling [override_commands.py] I get a message in the log pane: ​ ​ loadOnePlugin: can not load enabled plugin: leo ​​ .plugins.override_commands ​Thanks for this report. I'll fix today. Edward

Writing a Plugin. plugins\examples folder

2017-03-15 Thread lewis
I was reading about how to write a plugin at http://leoeditor.com/writingPlugins.html and having a look at the override_commands.py plugin. I only chose that plugin because it's in leo\plugins\examples folder. I wanted to study a small uncomplicated file :) However after enabling it I get

67159ee: a rewrite of leomail.py plugin

2017-02-28 Thread Edward K. Ream
The leomail plugin reads .mbox mail archive files into a tree of Leo nodes. This saves a lot of work. Google " archive to mbox" for instructions on generating .mbox files. The new code contains the following improvements: 1. It works with both Python 2 and 3. *The old code could co

Re: How to use the detect_url.py plugin

2017-02-25 Thread Edward K. Ream
On Fri, Feb 24, 2017 at 11:31 PM, xgid <xgdomi...@gmail.com> wrote: > Hi all, following the advice of @edreamleo > <https://github.com/leo-editor/leo-editor/issues/343#issuecomment-278291088>, > I'm gonna ask this question here: > > Does anybody know anything about

How to use the detect_url.py plugin

2017-02-24 Thread xgid
rls-py : Colorizes URLs everywhere in node’s body on node selection or saving. > Double click on any URL launches it in default browser. > > URL regex: (http|https|file|ftp)://[^s’”]+[w=/] > > Related plugin: contextmenu.py > but trying to activate the plugin gives an er

ENB: improving the demo.py plugin

2017-02-07 Thread Edward K. Ream
This is an Engineering Notebook post. Feel free to ignore it. Part of me wants to rush right in on demo.py. However, this post will be pre-writing for the official docs , so I may as well talk out loud. *Classes and

Re: Ahas re the demo plugin

2017-02-01 Thread Edward K. Ream
On Wednesday, February 1, 2017 at 6:52:12 AM UTC-6, lewis wrote: May I suggest updating the demo.py docstring to > /leo-editor/leo-editor/blob/demo/leo/doc/demo.md > " > As a side effect of deleting the demo branch, this url

Re: Ahas re the demo plugin

2017-02-01 Thread Edward K. Ream
On Wed, Feb 1, 2017 at 6:52 AM, lewis <lewisn...@operamail.com> wrote: > Hi Edward, > > May I suggest updating the > ​​ > demo.py docstring > ​to > "A plugin that makes making Leo demos easy. For full details, see > https://github.com/leo-editor/leo-editor/bl

Re: Ahas re the demo plugin

2017-02-01 Thread lewis
Hi Edward, May I suggest updating the demo.py docstring from "A plugin that makes making Leo demos easy. For full details, see leo/docs/demo.md." to "A plugin that makes making Leo demos easy. For full details, see https://github.com/leo-editor/leo-editor/blob/demo/

Ahas re the demo plugin

2017-02-01 Thread Edward K. Ream
When I awoke just now several important ideas about the demo plugin appeared. This post is pre-writing for a new section in demo.md <https://github.com/leo-editor/leo-editor/blob/demo/leo/doc/demo.md>. *tl;dr:* See the bold headings. But really, this post is worth careful study. *N

<    1   2   3   4   5   6   7   8   9   10   >