[PATCH] change semantics of "delete" LFUNs again (was: Re: Assertion from command-sequence)
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Feb 21 14:10:00 UTC 2022
Le 21/02/2022 à 03:27, Scott Kostyshak a écrit :
> On Sun, Feb 20, 2022 at 07:20:24PM +0100, Jean-Marc Lasgouttes wrote:
>> I really wonder why this special behavior is by default, since it is only
>> useful for interactive edition.
>>
>> I would prefer to have
>> char-delete-forward confirm
>> bound to the <del> key.
>
> That sounds reasonable to me.
Here is what I came up with. Scott, please tell me whether the bit in
release notes makes sense.
What is missing here is the prefs2prefs_lfun.py part. I tried it a bit,
but python does not like me. Could somebody help for this part?
The interesting functions are (word|char)-delete-(for|back)ward
If the argument is `force', remove it.
If it is another argument, actually remove it too (although it should
not happen)
I really do not understand how this magic python thing works. I have not
been able to make it match any of my regexes.
Thoughts?
JMarc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixup-71623b88-change-semantics-of-delete-LFUNs-agai.patch
Type: text/x-patch
Size: 6951 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220221/f9554764/attachment.bin>
More information about the lyx-devel
mailing list