Re: Moving Launchpad bugs to github: your requests please

2014-09-19 Thread Edward K. Ream
On Mon, Sep 15, 2014 at 2:15 AM, Matt Wilkie  wrote:
> My two:
>
> (a) Drag and drop target is smaller than the visual cursor indicates. Only
> existing nodes in the tree are targets, however the whole tree panel uses
> the [+] indicator. (this part is a bug) Suggestion: when a file is dropped
> into any part of the Leo window, if the cursor is not on a node it goes to
> the top or bottom of the tree as a root node.
> -- https://bugs.launchpad.net/leo-editor/+bug/1247270
>
> (b) It would be nice for Drag and drop files to have relative paths,taking
> into account the @path settings of the part of the tree they're dropped into
> (currently it is relative to the .leo file).
> -- https://bugs.launchpad.net/leo-editor/+bug/1028986
>
> If  there's no objection, I'll port these to Github issues later.

Please do so asap.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Edward K. Ream
On Mon, Sep 15, 2014 at 1:08 PM, Fidel N  wrote:

> Hi, just retested with latest Leo, and still get the same bug.
>

​In future, please send text tracebacks, not pictures.

Rev a616add, Leo build: 20140919061341 appears to fix this bug.
It works for me on Windows and Ubuntu.

Part of the fix was straightforward: properly defining w in two methods.

But I disable some truly weird code at the end of lqlw.tab_callback:
setting the c.k.autoCompleter.klass ivar.

I have no memory of this hack and I don't believe I wrote it, though git
blame says otherwise.
It may be that the code existed before we changed to git.

If anyone knows why this code exists, please tell me.  Otherwise it will be
removed.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Find / replace issue

2014-09-19 Thread Edward K. Ream
On Mon, Sep 15, 2014 at 1:27 PM, Fidel N  wrote:

> In the "Find" tab, check the "suboutline only"
>
> Select an outline, and search for any text on its subtree, for instance "a".
> This outline shouldnt have "a" within its text.
>
> Now select another outline (that should have "a" within its text), then
> click "Find next" or just do "F3"
>
> It should make the search again, this time within the subtree of the
> selected node, but instead, it will give you "not found 'a'"

Thanks for this report.  Initing such searches is surprisingly tricky,
so I'm not hugely surprised that there remain bugs in this area.  It's
on the list.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Moving Launchpad bugs to github: your requests please

2014-09-19 Thread jkn
Hi Edward
selfishly, I'd be keen for my wishlist bug
"ability to specify numeric keypad keys in bindings"

to be looked at:

https://bugs.launchpad.net/leo-editor/+bug/1207421

(though I appreciate it might be a pain...). Shall I migrate it to github?

Cheers, Jon N



-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Fidel N
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??

Just updated from a very recent version and this Leo version has something 
wrong with the GUI. The completion works, but the GUI truly doesnt, here is 
a snap:
I touched nothing from one to another. The borders of minibuffer, buttons, 
menus, etc, all have disappeared.



-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


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.com/howto/windows-vista/copy-to-the-clipboard-from-the-windows-command-prompt/


Not sure why Microsoft in their infinite wisdom decided that the console 
wouldn't ever have a valuable bit of text to copy...


-->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.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread 'Terry Brown' via leo-editor
On Fri, 19 Sep 2014 06:21:25 -0500
"Edward K. Ream"  wrote:

> But I disable some truly weird code at the end of lqlw.tab_callback:
> setting the c.k.autoCompleter.klass ivar.

Is it anything to do with @bool use_qcompleter = True ?

Probably not - I know there was a launchpad bug to use the QCompleter
with dynamic abbreviation expansions,
https://bugs.launchpad.net/leo-editor/+bug/1141122
which is what sprang to mind, but seeing I just do a local monkey patch
to get that behavior, I guess that's not it.

Cheers -Terry

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Delayed loading of large nodes

2014-09-19 Thread Edward K. Ream
On Wednesday, September 17, 2014 3:03:27 PM UTC-5, Fidel N wrote:
>
> it works great here, thanks for this Edward
>

Oops.  It appears to be impossible to cut or delete text from large nodes.

It's on my urgent list, but in the meantime I recommend setting::

@int max-pre-loaded-body-chars = 0

to disable the big buttons feature.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Fidel N
lol thanks Jake, next time it will be text hehe. Its way more comfortable
to share on this side too!

On Fri, Sep 19, 2014 at 4:15 PM, Jacob Peck  wrote:

>
> 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.com/howto/windows-vista/copy-to-the-clipboard-from-the-windows-command-prompt/
>
> Not sure why Microsoft in their infinite wisdom decided that the console
> wouldn't ever have a valuable bit of text to copy...
>
> -->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.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 9:15 AM, Jacob Peck  wrote:

> Not sure why Microsoft in their infinite wisdom decided that the console
> wouldn't ever have a valuable bit of text to copy...

It's easy to copy text from a console:  e s 

Every Windows programmer should be using the  menu instead
of the mouse.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 9:25 AM, 'Terry Brown' via leo-editor
 wrote:

> Is it anything to do with @bool use_qcompleter = True ?

That's my default assumption.  Having said that, I have not yet been
able to reproduce the bug.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread 'Terry Brown' via leo-editor
On Fri, 19 Sep 2014 10:30:57 -0500
"Edward K. Ream"  wrote:

> On Fri, Sep 19, 2014 at 9:25 AM, 'Terry Brown' via leo-editor
>  wrote:
> 
> > Is it anything to do with @bool use_qcompleter = True ?
> 
> That's my default assumption.  Having said that, I have not yet been
> able to reproduce the bug.

I didn't mean "does the bug have anything to do with @bool
use_qcompleter = True", but "does the weird klass code you found have
anything to do with @bool use_qcompleter = True", but I suspect not.

Cheers -Terry

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Delayed loading of large nodes

2014-09-19 Thread Zoltan Benedek
Hi,

Unfortunately I have an issue with delayed loading:

https://github.com/leo-editor/leo-editor/issues/58

and I could not disable it by:

@int max-pre-loaded-body-chars = 0

On Friday, September 19, 2014 6:05:47 PM UTC+3, Edward K. Ream wrote:
>
> On Wednesday, September 17, 2014 3:03:27 PM UTC-5, Fidel N wrote:
>>
>> it works great here, thanks for this Edward
>>
>
> Oops.  It appears to be impossible to cut or delete text from large nodes.
>
> It's on my urgent list, but in the meantime I recommend setting::
>
> @int max-pre-loaded-body-chars = 0
>
> to disable the big buttons feature.
>
> 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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Fidel N
Edward, I also get, whenever I open a new Leo file (control+n), this
conveniently copied log from the windows console:

Could not parse stylesheet of widget 0x27db690

I guess we narrowed the options a bit :D

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 12:08 PM, Fidel N  wrote:
> Edward, I also get, whenever I open a new Leo file (control+n), this
> conveniently copied log from the windows console:
>
> Could not parse stylesheet of widget 0x27db690
>
> I guess we narrowed the options a bit :D

Ctrl-N works for me.  Please send the output of print-style-sheet command.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 11:02 AM, 'Terry Brown' via leo-editor
 wrote:

> I didn't mean "does the bug have anything to do with @bool
> use_qcompleter = True", but "does the weird klass code you found have
> anything to do with @bool use_qcompleter = True", but I suspect not.

The line::

c.k.autoCompleter.klass = completion

occurs in LeoQListWidget.tab_callback, so yes, absolutely the "klass"
hack has/had something to do with the qcompleter code.

The actual code affected is k.autocompleter.compute_completion_list.
Unless somebody can explain why this wretched code exists I am going
to delete it.  But no, not today ;-)

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Moving Launchpad bugs to github: your requests please

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 8:48 AM, jkn  wrote:
> Hi Edward
> selfishly, I'd be keen for my wishlist bug
>
> "ability to specify numeric keypad keys in bindings"
>
> to be looked at:
>
> https://bugs.launchpad.net/leo-editor/+bug/1207421
>
> (though I appreciate it might be a pain...). Shall I migrate it to github?

Yes.  Bugs that won't be fixed right away, and this is certainly one
of those, must migrate to github to jog my memory.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Fidel N
The focus goes to the log, but nothing is reported when I do
print-style-sheet

On Fri, Sep 19, 2014 at 9:14 PM, Edward K. Ream  wrote:

> On Fri, Sep 19, 2014 at 12:08 PM, Fidel N  wrote:
> > Edward, I also get, whenever I open a new Leo file (control+n), this
> > conveniently copied log from the windows console:
> >
> > Could not parse stylesheet of widget 0x27db690
> >
> > I guess we narrowed the options a bit :D
>
> Ctrl-N works for me.  Please send the output of print-style-sheet command.
>
> 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 this group, send email to leo-editor@googlegroups.com.
> Visit this group at http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Delayed loading of large nodes

2014-09-19 Thread Edward K. Ream
On Friday, September 19, 2014 10:05:47 AM UTC-5, Edward K. Ream wrote:

> Oops.  It appears to be impossible to cut or delete text from large nodes.

Fixed at rev 80e5693, Leo build: 20140919143910

The fix was simple, setting w.leo_big_text = None in two places, so perhaps 
the code is solid now.

Please let me know if it isn't...

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Will the next release be called 5.0.0?

2014-09-19 Thread Edward K. Ream
On Friday, September 12, 2014 10:34:14 AM UTC-5, Edward K. Ream wrote:

> I plan to release Leo 5.0a1 in a week (more likely two) from today.
> We can expect 3 to 5 releases, one per week, until 5.0 final, which means 
that we can expect 5.0 final in late October.  My, how time flies...

After a week of intense work, there are one or two more bugs on the list 
than before ;-)  As a result, I'll spend at least another week fixing 
bugs.  This is more important than an arbitrary schedule.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Moving Launchpad bugs to github: your requests please

2014-09-19 Thread Matt Wilkie
I'm travelling right now, limited connectivity, will do best can now and
polish/extend later.

-matt

On Fri, Sep 19, 2014 at 4:02 AM, Edward K. Ream  wrote:

> On Mon, Sep 15, 2014 at 2:15 AM, Matt Wilkie  wrote:
> > My two:
> >
> > (a) Drag and drop target is smaller than the visual cursor indicates.
> Only
> > existing nodes in the tree are targets, however the whole tree panel uses
> > the [+] indicator. (this part is a bug) Suggestion: when a file is
> dropped
> > into any part of the Leo window, if the cursor is not on a node it goes
> to
> > the top or bottom of the tree as a root node.
> > -- https://bugs.launchpad.net/leo-editor/+bug/1247270
> >
> > (b) It would be nice for Drag and drop files to have relative
> paths,taking
> > into account the @path settings of the part of the tree they're dropped
> into
> > (currently it is relative to the .leo file).
> > -- https://bugs.launchpad.net/leo-editor/+bug/1028986
> >
> > If  there's no objection, I'll port these to Github issues later.
>
> Please do so asap.
>
> 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 this group, send email to leo-editor@googlegroups.com.
> Visit this group at http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


large body text reprise

2014-09-19 Thread 'Terry Brown' via leo-editor
Just pushed a revamp of the large body text delayed load UI.

I intended to preserve two commits, one where I moved the UI stuff to a
class, and another where I manually applied the "can't edit large body
text" fixes in 80e5693, but I git gaffed and merged both commits into
master as one commit.

Anyway, it all seems to be working.

The underlying Qt bug is quite nasty, I though my new UI had
(serendipitously, this wasn't the main goal) locked the user out until
it was safe to edit the text, but it hasn't, with a really long text
you just have to watch for the scroll bar to stop shrinking - ish.

Any response from Qt on that bug?

Anyway, I think my enhancements are, um, enhancements :-)

The reason for making a new "dialog" widget - Edward you had two
buttons handled separately, I wanted four, and handling them separately
was too much repeated code.

All of this was prompted by the issue Zoltan brought up - I think the
default value of @int max-pre-loaded-body-chars is probably too low,
although I guess on a slow / heavily loaded machine it might need to be.

Cheers -Terry

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: large body text reprise

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 5:06 PM, 'Terry Brown' via leo-editor
 wrote:
> Just pushed a revamp of the large body text delayed load UI.

I think you forgot to add /qt_big_text.py

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: large body text reprise

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 5:06 PM, 'Terry Brown' via leo-editor
 wrote:

> I think the default value of @int max-pre-loaded-body-chars is probably too 
> low,
> although I guess on a slow / heavily loaded machine it might need to be.

Happily, I have just set it to zero (effective infinity), so the
missing file won't crash Leo.

EKR

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: large body text reprise

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 5:06 PM, 'Terry Brown' via leo-editor
 wrote:

> Any response from Qt on that bug?

No.  And even if there were a response, we are on our own until *all*
Leo users upgrade to a version of Qt that fixes it.

Clearly the bug exists.  We don't need Qt to tell us that.  I would be
happily shocked if there were any way to prevent data loss using
signals.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Enable Abbreviations

2014-09-19 Thread bobS
My expectation, after reading doc, and settings information in 
leoSettings.leo,etc, is that after making sure that i have
@settings
   @boot enable-abbreviations = True
   @data abbreviations
  stuff;;=stuffing

was that typing stuff;; would result in stuffing appearing where stuff;; 
had been entered. Since this doesn't happen
in my Leo 4.11a1, please tell me where I'm going wrong.

Thanks.

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Completion bug

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 2:28 PM, Fidel N  wrote:
> The focus goes to the log, but nothing is reported when I do
> print-style-sheet

The command prints to the console.  Please run Leo from a console and try again.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: large body text reprise

2014-09-19 Thread 'Terry Brown' via leo-editor
On Fri, 19 Sep 2014 17:17:17 -0500
"Edward K. Ream"  wrote:

> On Fri, Sep 19, 2014 at 5:06 PM, 'Terry Brown' via leo-editor
>  wrote:
> > Just pushed a revamp of the large body text delayed load UI.
> 
> I think you forgot to add /qt_big_text.py

Sheesh, so I did.

> Happily, I have just set it to zero (effective infinity), so the
> missing file won't crash Leo.

hmm, but while it might "cause confusion for newbies and the feature is
not well tested at present", not enabling leaves the user exposed to an
almost invisible data loss potential, doesn't it?

Perhaps a higher value, like 5 would be better, so it won't kick in
in typical use (like it did for Zoltan), but might get between the user
and the data loss in the cases where the data loss is most likely to
occur?

Cheers -Terry

> 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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Traceback - bigdash.py

2014-09-19 Thread lewis
Just ran commit cdf3b9d59d74.
Here is the traceback:

Leo Log Window
Leo 4.11 final, build 20140919173856, Fri Sep 19 17:38:56 CDT 2014
Git repo info: branch = master, commit = cdf3b9d59d74
Python 3.4.1, PyQt version 4.8.6
Windows 7 AMD64 (build 6.1.7601) SP1
[snip]
reading settings in 
C:\Python34\Lib\site-packages\leo-editor\leo\config\leoSettings.leo
reading settings in C:\Users\lewis\.leo\myLeoSettings.leo
loadOnePlugin: exception loading plugin: leo.plugins.bigdash
Traceback (most recent call last):
  File "C:\Python34\Lib\site-packages\leo-editor\leo\core\leoPlugins.py", 
line 565, in loadOnePlugin
init_result = result.init()
  File "C:\Python34\Lib\site-packages\leo-editor\leo\plugins\bigdash.py", 
line 51, in init
ok = g.app.gui.guiName() == "qt"
AttributeError: 'NoneType' object has no attribute 'app'
http serving enabled at 127.0.0.1:8130, version 0.99
reading settings in C:\Users\lewis\.leo\workbook.leo
loadOnePlugin: exception loading plugin: leo.plugins.bigdash
Traceback (most recent call last):
  File "C:\Python34\Lib\site-packages\leo-editor\leo\core\leoPlugins.py", 
line 565, in loadOnePlugin
init_result = result.init()
  File "C:\Python34\Lib\site-packages\leo-editor\leo\plugins\bigdash.py", 
line 51, in init
ok = g.app.gui.guiName() == "qt"
AttributeError: 'NoneType' object has no attribute 'app'
loadOnePlugin: can not load enabled plugin: leo.plugins.bigdash
reading: C:\Users\lewis\.leo\workbook.leo


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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Traceback - bigdash.py

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 6:05 PM, lewis  wrote:
> Just ran commit cdf3b9d59d74.
> Here is the traceback:

Thanks for this.  It's good to know somebody is using this plugin.

I'll fix it immediately.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: large body text reprise

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 5:45 PM, 'Terry Brown' via leo-editor
 wrote:


> Perhaps a higher value, like 5 would be better, so it won't kick in
> in typical use (like it did for Zoltan), but might get between the user
> and the data loss in the cases where the data loss is most likely to
> occur?

Somewhere between 20K and 50K seems reasonable.  But let's make this
feature optional (value 0) for a few more days.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Traceback - bigdash.py

2014-09-19 Thread Edward K. Ream
On Fri, Sep 19, 2014 at 6:16 PM, Edward K. Ream  wrote:
> On Fri, Sep 19, 2014 at 6:05 PM, lewis  wrote:
>> Just ran commit cdf3b9d59d74.
>> Here is the traceback:

Fixed, I think, at rev 2647e83.

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 this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Enable Abbreviations

2014-09-19 Thread 'Terry Brown' via leo-editor
On Fri, 19 Sep 2014 14:34:38 -0700 (PDT)
bobS  wrote:

> My expectation, after reading doc, and settings information in 
> leoSettings.leo,etc, is that after making sure that i have
> @settings
>@boot enable-abbreviations = True

It's bool, not boot, short for boolean, although I can see how boot
makes sense too.  

>@data abbreviations
>   stuff;;=stuffing
> 
> was that typing stuff;; would result in stuffing appearing where
> stuff;; had been entered. Since this doesn't happen
> in my Leo 4.11a1, please tell me where I'm going wrong.

If boot -> bool doesn't fix it, can you post the top part of the output
in the Leo log window, unfortunately most versions of Leo report 4.11

E.g. I get

Leo Log Window
Leo 4.11 final, build 20140919170459, Fri Sep 19 17:04:59 CDT 2014
Git repo info: branch = master, commit = 627f387aaea2
Python 2.7.6, PyQt version 4.8.6
linux2

Cheers -Terry

> Thanks.
> 

-- 
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Traceback - bigdash.py

2014-09-19 Thread lewis
Thanks for the quick fix.

I know you aren't the author of bigdash plugin (Ville I think) but I've 
just been reminded of some usability aspects of some plugins in Leo.
With leo running the only documentation in Leo is via Plugins>bigdash.py 
which displays: 

 Leo.plugins.bigdash 
 Global search window
 To use full text search, you need to install Whoosh library ('easy_install 
Whoosh'). The fts_max_hits setting controls the maximum hits returned. 

This gives no information at all about how to use the plugin.
It should say enter Alt-x keys then type *global-search* into the Minibuffer
  *or* Type global-search directly into the Minibuffer 

Also there is no listing of bigdash at http://leoeditor.com/plugins.html

Checked http://leoeditor.com/writingPlugins.html#documenting-plugins for a 
template guide. 
I tried the *Help for Command (F11)*  in the Minibuffer but it returns 
*bigdash.py no 
docstring available* 

Even for the well documented plugin mod_http.py F11 only returns:
*mod_http.py *
*no docstring available *

So I'm not sure if the docstring does not exist or the *Help for Command* 
is not working?

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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Traceback - bigdash.py

2014-09-19 Thread gatesphere
Help-for-command provides the docstrings of alt-x commands, not the 
plugins.  So, /Alt-x global-search / would give you the docstring 
of global-search (if it had one defined).


Unfortunately, the docstrings are the only documentation for many (all?) 
plugins, so the plugin authors really should touch that up.

-->Jake

On 9/19/2014 10:25 PM, lewis wrote:

Thanks for the quick fix.

I know you aren't the author of bigdash plugin (Ville I think) but 
I've just been reminded of some usability aspects of some plugins in Leo.
With leo running the only documentation in Leo is via 
Plugins>bigdash.py which displays:


 Leo.plugins.bigdash
 Global search window
 To use full text search, you need to install Whoosh library 
('easy_install Whoosh'). The fts_max_hits setting controls the maximum 
hits returned.


This gives no information at all about how to use the plugin.
It should say enter Alt-x keys then type /global-search/ into the 
Minibuffer

_or_ Type global-search directly into the Minibuffer

Also there is no listing of bigdash at http://leoeditor.com/plugins.html

Checked 
http://leoeditor.com/writingPlugins.html#documenting-plugins for a 
template guide.
I tried the _Help for Command (F11)_  in the Minibuffer but it returns 
/bigdash.py no docstring available/


Even for the well documented plugin mod_http.py F11 only returns:
/mod_http.py /
/no docstring available /

So I'm not sure if the docstring does not exist or the _Help for 
Command_ is not working?


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 email to leo-editor@googlegroups.com 
.

Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


--
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 email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.