Re: .js importer still has problems

2020-01-26 Thread 'tfer' via leo-editor
I wrote an earlier reply, but it did not post, ah web interfaces...

The error with the mixed up line numbers below, is from the console from 
which I'm running Leo and have to do with the import, the don't exist in 
any file.

On Sunday, January 26, 2020 at 4:48:56 AM UTC-5, Edward K. Ream wrote:
>
> On Wednesday, January 22, 2020 at 3:36:08 PM UTC-5, tfer wrote:
>
>
>> To this end I tried import the main engine of reveal, the file reveal.js, 
>> Leo creates an @auto node, and creates a subtree. I get the following in 
>> the cmd shell I started Leo from:
>>
>>
>> ---
>> = PERFECT IMPORT FAILED = reveal.js
>> len(s1): 4810 len(s2): 4810
>> first mismatched line: 3174
>>
>
> You are using the same file as I am, strange that you are getting only a 
warning.  I'm am running under an up to date devel branch.
 

> I am not able to reproduce this failure.  I git cloned reveal.js from 
> https://github.com/hakimel/reveal.js/, then used the perfect import 
> script.
>

As to this warning, the import should be under the effect of a "@tabwidth 
2" directive, which actually was hard to have happen, I post that in 
another thread. 

It warned that it converted tabs to blanks, but otherwise all went well.
>
> The line that starts "// Once the video does start playing, hide the 
> controls" appears at line 4069 of my file, not line 3173 as in your file. 
> Please send your copy of reveal.js to me at edre...@gmail.com.
>

As I mentioned above, there is no such file, I can send my 
"nthD-exploration.leo" file which preserves the import, but I'm planning to 
copy that node an hand curate it into an @auto node as it should have been 
imported, change the filename in the node so it will generate the file on 
save and allow me to diff it against the original.  Might be more useful to 
wait for that.

Tom

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ff4fe41a-095c-4ff5-b6bb-533379b06b3e%40googlegroups.com.


Re: Leo for organizing notes?

2020-01-26 Thread Thomas Passin


On Thursday, January 23, 2020 at 5:18:17 PM UTC-5, Matt Wilkie wrote:
>
>
> [later] After reading http://leoeditor.com/slides/plugins.html#unl-py I 
> see there is also @url for use in headlines. It's smart enough to open a 
> specific node, not just the file
>
> @url 
> D:/code/studies/study-shortcutter.leo#MyChanges-->create_shortcut-->Docs
>
> This does work - it's almost like magic to ctrl-click on the node and see 
the Leo outline open in Leo right at the specified node.  Other file types 
seem to get opened by their standard system file handlers, like the text 
editor for .txt files.. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c63a85d0-e866-448f-9522-2b215cf036aa%40googlegroups.com.


Re: .js importer still has problems

2020-01-26 Thread Edward K. Ream
On Wednesday, January 22, 2020 at 3:36:08 PM UTC-5, tfer wrote:


> To this end I tried import the main engine of reveal, the file reveal.js, 
> Leo creates an @auto node, and creates a subtree. I get the following in 
> the cmd shell I started Leo from:
>
>
> ---
> = PERFECT IMPORT FAILED = reveal.js
> len(s1): 4810 len(s2): 4810
> first mismatched line: 3174
>

I am not able to reproduce this failure.  I git cloned reveal.js from 
https://github.com/hakimel/reveal.js/, then used the perfect import script. 
It warned that it converted tabs to blanks, but otherwise all went well.

The line that starts "// Once the video does start playing, hide the 
controls" appears at line 4069 of my file, not line 3173 as in your file. 
Please send your copy of reveal.js to me at edream...@gmail.com.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/7df8106e-d682-4b1f-849c-d2a442a2f4b9%40googlegroups.com.


Re: Leo and the Best of the Rest

2020-01-26 Thread Edward K. Ream
On Sat, Jan 11, 2020 at 11:48 PM Thomas Passin  wrote:

> One of Leo's strong points for me has been that you can break up a module
into nodes that don't have to correspond to functions and classes...

> One of the weaknesses has been that it's hard to see the code from such
nodes in sequence with its neighboring nodes. Viewrendered3 will be able to
do this (with some limitations), which is one reason I've been plugging
away at it.

It's a frequently requested feature to be able to see the "flat" file. I'll
look forward to vr3.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0T_CsTxKEKbrrDrQR2oFko%2BtexFyME-cG5Kr90RLqHuw%40mail.gmail.com.