Re: Ready to release 5.8 final?

2018-09-27 Thread Sapphira Armageddos
There might be these bugs were filed earlier for editing files with an 
external editor:

https://github.com/leo-editor/leo-editor/issues/981
https://github.com/leo-editor/leo-editor/issues/977

I think the root cause is the same. I did write a fix for my local copy of 
Leo, but wanted to know if there was a reason Leo behaved like this for 
editing with an external editor.

On Wednesday, September 26, 2018 at 3:02:12 AM UTC-7, Edward K. Ream wrote:
>
> There seem to be no significant bugs reported against 5.8 b1.
>
> Matt, are you good with releasing 5.8 final?
>
> 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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev 9cce9a: tweaks to key handling

2018-09-27 Thread Edward K. Ream


On Thursday, September 27, 2018 at 7:49:38 AM UTC-5, Edward K. Ream wrote:
>
>
> While working on screen shots, I discovered that trying to execute a 
>> command could escape out of find mode.
>>
>> Rev 9cce9a in devel supposedly fixes this...
>>
>
> Drat.  Now the Home and End keys don't work in the minibuffer.
>

Rev ca0c2b778 in devel appears to work properly. The fix was minimal, which 
a good thing.

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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


A script to make screen shots

2018-09-27 Thread Edward K. Ream
There is a screenshots plugin, but the following @button script seems more 
useful:

@button screen-shot @key=ctrl-1

'''
Create a screenshot of the present Leo outline and
save it to .leo/screen_captures.
'''
#  --window-size=682x1264 is recommended.
from leo.core.leoQt import isQt5, QtGui
import time
base = r'C:\Users\edreamleo\.leo\screen_captures'
assert g.os_path_exists(base), repr(base)
window = g.app.gui.qtApp.activeWindow()
w = window.grab() if isQt5 else QtGui.QPixmap.grabWindow(window.winID())
fn = '%s.png' % time.strftime('%Y-%m-%d-%H-%M-%S')
path = g.os_path_finalize_join(base, fn)
w.save(path, 'png')
g.es_print('saved: %s' % path)

This script must be bound to a keystroke so that it can run without 
disturbing Leo's present state. Rev 9cce9a in devel is required to make 
everything work smoothly when gathering arguments, but this rev breaks 
other features. Back to the drawing board.

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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev 9cce9a: tweaks to key handling

2018-09-27 Thread Edward K. Ream


On Thursday, September 27, 2018 at 7:40:41 AM UTC-5, Edward K. Ream wrote:
>
> While working on screen shots, I discovered that trying to execute a 
> command could escape out of find mode.
>
> Rev 9cce9a in devel supposedly fixes this.  All unit tests pass, but there 
> are no guarantees that everything works exactly as before.  Please report 
> any problems.
>

Drat.  Now the Home and End keys don't work in the minibuffer.  I'll have 
to rethink the approach. It's tricky.

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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Rev 9cce9a: tweaks to key handling

2018-09-27 Thread Edward K. Ream
While working on screen shots, I discovered that trying to execute a 
command could escape out of find mode.

Rev 9cce9a in devel supposedly fixes this.  All unit tests pass, but there 
are no guarantees that everything works exactly as before.  Please report 
any problems.

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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Reversing relationships

2018-09-27 Thread Israel Hands
Thanks Terry - will dip my toe in back links when I get home next week.

ta

IH

On Wednesday, 26 September 2018 02:48:03 UTC+1, Terry Brown wrote:
>
> Possibly the backlinks plugin might be useful to you, not sure. 
>
> Cheers -Terry 
>
> On Tue, 25 Sep 2018 15:58:32 -0700 (PDT) 
> Israel Hands > wrote: 
>
> > Assuming my information tree is only one child deep and looks a bit 
> > like this- 
> > 
> > Parent 1 
> > Contains nodes - A B C D 
> > 
> > Parent 2 
> > Contains nodes B C D E 
> > 
> > Parent 3 
> > Contains nodes A C D E 
> > 
> > etc. 
> > 
> > and I want the best way to reverse the relationship - 
> > 
> > So 
> > 
> > Node A 
> > Is in - Parent 1 and Parent 3 
> > 
> > Node B 
> > Is in - Parent 1 and Parent 2 
> > 
> > Node C 
> > is in - Parent 1 and Parent 2 and Parent 3 
> > 
> > a view or filter would be fine rather than a restructuring. But it 
> > would be nice if it could be displayed in the 'Edit' pane rather than 
> > the output of a search in the log pane - is that possible? Well I 
> > know it is possible but is there some clever Leonine way that already 
> > exists to do this? 
> > 
> > ta 
> > 
> > IH 
>

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.