Re: remove enter key assignment

2023-08-15 Thread chr...@gmail.com
OK, I got it.

On Tuesday, August 15, 2023 at 11:06:18 AM UTC+2 chr...@gmail.com wrote:

> Hello,
>
> How do I "unassign" the Enter key from switching to the text panel?
> I've looked in settings and in the code but couldn't find where this is 
> defined.
>
> Thanks in advance
>
> Chris
> Windows 10/11
> Leo 6.7.2
>

-- 
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/18a8628d-fcfb-409f-b4db-b42a832117b4n%40googlegroups.com.


Re: Discuss: Remove read-outline-only command?

2023-08-15 Thread Thomas Passin
I suppose this command exists in case something goes wrong with an external 
file such that Leo can't open the outline.  I don't know if that is 
possible or not.  Suppose it's possible.  I would open a new outline, and 
try to import that external file in the hopes that I could figure out the 
problem.  I wouldn't want to keep trying with the original outline in case 
it were to get damaged.

So I agree, I would scrap this command unless we wear from others that it 
has been helpful to them.

On Tuesday, August 15, 2023 at 3:21:50 AM UTC-4 Edward K. Ream wrote:

> #3492  suggests 
> fixing an interface problem with Leo's read-outline-only command.
>
> Instead, I propose removing this command entirely:
>
> - It has no apparent use.
> - Saving the resulting outline might corrupt external files.
>
> Does anyone use this command? Does anyone see any reason for keeping it?
>
> 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/f7ae8b24-3d36-4e0c-a3a7-963bdb2dda38n%40googlegroups.com.


remove enter key assignment

2023-08-15 Thread chr...@gmail.com
Hello,

How do I "unassign" the Enter key from switching to the text panel?
I've looked in settings and in the code but couldn't find where this is 
defined.

Thanks in advance

Chris
Windows 10/11
Leo 6.7.2

-- 
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/6afb72f8-e702-467e-874d-27957a41d190n%40googlegroups.com.


Re: Option key Mac

2023-08-15 Thread Edward K. Ream
On Fri, Aug 11, 2023 at 12:03 PM kilivor  wrote:

I am using macOs Ventura with Spanish keyboard layout. The key Option+2,
> instead of @, shows 'call tips On' / 'Off'. Is there anything I should
> configure?


In leoSettings.leo, the binding for toggle-calltips is Alt-2, which I
suppose is the same as Option+2 on the mac. See the node `@shortcuts Other
commands` in `@keys EKR bindings`.

Just disable this binding in your myLeoSettings.leo.

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/CAMF8tS0X3%2B4E8NkefUROt5LcTnMLduEYEjTpwfA%2BQLMZRpdTYg%40mail.gmail.com.


ENB: Using alt generators properly

2023-08-15 Thread Edward K. Ream
 

Yesterday I made an instructive mistake. In PR #3473 
, I attempted to fix a 
hang in Leo's paste-node command using alt generators. Instead, I should 
have looked for the actual cause of the hang.


*c.recompute_all_parents* must use a VNode-based generator because the 
v.parents arrays are invalid. As a result, Position-based generators won't 
work. But this situation is uncommon!


Rather than relying on alt generators, it's preferable to restore the 
integrity of Leo's data as soon as possible!


For example, the new paste-node code hangs because the command tries to 
compute the position of the to-be-pasted node *after *c.unarchive_to_vnode 
invalidates Leo's data. Doh! paste-node should do this *before *calling 
c.unarchive_to_vnode.


After several hours of aimless flailing I trashed all my work with `git 
checkout .`


*Summary*


VNode base (alt) generators are worth having, but they are not cure-alls. 
Alt generators are essential only in a few limited situations. Otherwise 
they are, at best, minor optimizations. They are no cure for logic bugs.


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/aa5ff2c6-bf8e-4ef7-8206-3355ed5beb54n%40googlegroups.com.


Discuss: Remove read-outline-only command?

2023-08-15 Thread Edward K. Ream
#3492  suggests 
fixing an interface problem with Leo's read-outline-only command.

Instead, I propose removing this command entirely:

- It has no apparent use.
- Saving the resulting outline might corrupt external files.

Does anyone use this command? Does anyone see any reason for keeping it?

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/5f25b426-7846-4adf-9382-67d1c8bc67a7n%40googlegroups.com.