On Thursday, November 23, 2017 at 1:40:25 AM UTC-6, Edward K. Ream wrote:
So we have a dilemma. One the one hand, it's *always* better to use
> classes to encapsulate related functions. Otoh, it would be intolerable
> for text transformations to introduce subtle bugs in commander commands.
On Thursday, November 23, 2017 at 1:27:38 AM UTC-6, Edward K. Ream wrote:
> *The Aha*
> The @c.command decorator, defined in leoCommands.py, will define a
> command, just like g.command. And (Aha!) the decorator will *also *inject
> the function (as a method) into the Commands class.
>
It
> You probably take this in to account already, but a lot of these things
>> are "recommends" rather than "requires" kind of dependencies.
>>
>
> Indeed. The way to cut through all this morass is to use the Anaconda
> distribution. This gives you almost everything you ever need, except
>
On Wed, Nov 22, 2017 at 6:20 PM, Terry Brown wrote:
> markdown.py would be a much lighter dependency than pandoc, although a
> bit less featurefull. My goal is to have leo_edit_pane replace
> viewrendered. LEP will use either.
>
> You probably take this in to account
thanks!
pypandoc is a wrapper around the pandoc commandline utility, allowing a
person to use pandoc from within python using python style syntax. It's a
sledgehammer solution to the small hammer problem I faced converting Leo's
markdown readme to restructured text for Pypi.org. However pandoc is
markdown.py would be a much lighter dependency than pandoc, although a bit less
featurefull. My goal is to have leo_edit_pane replace viewrendered. LEP will
use either.
You probably take this in to account already, but a lot of these things are
"recommends" rather than "requires" kind of
pyxml is required if you want to import xml files.
pandoc is required for users if they wish to view markdown files using
viewrendered. I am not sure of the difference between pandoc and pypandoc.
Chris
On Wed, Nov 22, 2017 at 12:34 PM, Matt Wilkie wrote:
> I'm in the
On Wed, Nov 22, 2017 at 2:14 PM, Matt Wilkie wrote:
> http://leoeditor.com/ is redirecting to
> http://leoeditor.com/cgi-sys/suspendedpage.cgi with the text "Contact
> Support" as the page title.
>
Thanks for this. I'll contact my brother when I can.
Edward
--
You
I'm in the closing stretch for Issue #586, separating end user dependencies
from developer requirements. This is what I have now, is anything missing?
~~~
user_requires = [
'docutils', # Sphinx, rST plugin
'pyxml', # ?
'pyenchant', # spell check support
'PyQt5; python_version >=
> With regard to dependencies, do you recall what docutils, pyxml, and
> pyenchant required for? I don't have them in my list, but haven't
>
seen any errors about them either.
>
Nevermind, answered a couple myself, and am starting new thread to collect
all dependencies
Matt
--
You received
Thanks for the recipe Chris. Steps 2 & 3 are about to get a whole lot
easier, pending resolution of issue # 586 which I'm nearing the end of.
With regard to dependencies, do you recall what docutils, pyxml, and
pyenchant required for? I don't have them in my list, but haven't seen any
errors
http://leoeditor.com/ is redirecting to
http://leoeditor.com/cgi-sys/suspendedpage.cgi with the text "Contact
Support" as the page title.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails
On Wednesday, November 22, 2017 at 7:01:39 AM UTC-6, Edward K. Ream wrote:
>
> Rev fee9130 simplifies the declutter code significantly, but this remains
> experimental code.
>
Recent revs update the declutter docs in LeoDocs.leo and leoSettings.leo.
Both have been pushed to master.
At present
I never use viewrendered except to read about plugins. :-)
Chris
On Wed, Nov 22, 2017 at 9:02 AM, Josef wrote:
>
>
>> 2. Install the prerequisites for Leo. These I usually install using pip
>> or the package manager in the distribution. Try pip first.
>>
>> docutils, pandoc,
>
> 2. Install the prerequisites for Leo. These I usually install using pip or
> the package manager in the distribution. Try pip first.
>
> docutils, pandoc, pyxml, pyenchant, git
>
> thank you for the tip. Installing docutils seems to have fixed my problem
with the viewrendered plugin.
-
I followed a suggestion of Chris George to install several dependencies of
Leo and it seems since I installed docutils, viewrendered works again.
Thanks Chris
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and
Hi Chris,
thanks for the tips. In fact, I have installed Leo in a pretty similar way
as you (and I also use Leo already for several years). My problem was the
file association, which you avoided.
Also, for a while I was not able to use the viewrendered plugin any more,
and I am surprised you
Rev fee9130 simplifies the declutter code significantly, but this remains
experimental code.
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
Hello Josef,
I am a writer and a longtime Linux Mint user. I recently switched to Chakra
as Mint dropped KDE. I am not a programmer.
I have been using Leo for ten years as my primary editor. (Wow, time flies).
Here is how I install Leo.
1. Install the latest Anaconda from here:
On Wednesday, November 22, 2017 at 5:09:21 AM UTC-6, Edward K. Ream wrote
Instead of contortions trying to specify \1, the declutter mechanism should
> support this:
>
> RULE :([\w_@]+:)+\s*$
> REPLACE-HEAD
>
> This tells the declutter code to replace the headline by the text *preceding
> *the
Although I used python occasionally since version 1.3, programming is not
my main occupation.
So far I have installed leo from git, but I am missing a straightforward
way to configure it on my Xubuntu 16.04 machine.
I do not know how to create a new mime type for it and associate it with
leo
I noticed that in the conda/pip installed versions of python3 and PyQt5
there is the QtWebKitWidgets module missing, which I believe is a
prerequisite for viewrendered.
In the xubuntu 16.04 provided packages the modules QtWebKitWidgets and
PySvg are both present, but it still does not load.
On Wednesday, November 22, 2017 at 4:11:10 AM UTC-6, Edward K. Ream wrote:
> the org-mode importer regex is much simpler, because the code only needs
> to recognize the trailing tags themselves, not the head.
>
This suggests a much easier way to specify org-mode regex patterns. I knew
about
The ability to organize @data nodes has been around for some time. It's a
great feature.
The new nodes are here: leoSettings.leo#Declutter-->@data
tree-declutter-patterns
Please report any problems.
Edward
--
You received this message because you are subscribed to the Google Groups
On Wednesday, November 22, 2017 at 4:05:25 AM UTC-6, Edward K. Ream wrote:
> This thread...[focuses] exclusively on the declutter regex.
I should add that the org-mode importer regex is much simpler, because the
code only needs to recognize the trailing tags themselves, not the head.
Indeed,
This thread is a continuation of
"ENB: Completing #578: support for org-mode tags", focused exclusively on
the declutter regex.
*tl;dr:* Read the summary.
My original attempt was:
RULE ^([^:]*):([\w_@]+:)+\s*$
REPLACE \1
This is *almost* what we want. It will compute \1 properly for these
On Tuesday, November 21, 2017 at 10:55:15 AM UTC-6, Edward K. Ream wrote:
>
> On Tue, Nov 21, 2017 at 10:34 AM, Edward K. Ream
> wrote:
>
> Unless I hear objections, I am going to comment out the code in the org
>> mode reader and writer that inserts or delete tags.
>>
>
>
27 matches
Mail list logo