[LyX/master] Do not override (Back)Tab in Adv F&R when it is useful
Kornel Benko
kornel at lyx.org
Tue Jul 19 08:36:59 UTC 2022
Am Tue, 19 Jul 2022 10:10:04 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> Le 18/07/2022 à 14:44, Kornel Benko a écrit :
> >history. I think it is a design error. Looks good (if used manually). I never unbound
> >a key in tests. Have to prepare the
> > scripts.
> > Also I have to know the binding, like
> > \unbind "Tab" "command-alternatives
> > completion-accept;cell-forward;tab-insert;outline-in;depth-increment"
> >
> > which makes the 'unbind' inflexible if used in keytest.py
>
> I have no idea why unbind can request to give the value. There is no
> reason in git hostory; this looks like a design mistake.
>
> It is trivial to remove the test for the value that is passed. The best
> would be to transform syntax from
> \unbind "sequence" "func"
> to
> \unbind "sequence"
>
> However, I am not sure how to implement the prefs2prefs part, firstly
> because one have to handle quotes (or absence thereof) and spaces and
> secondly because I am bad at python.
>
> So do we want to do this for 2.4? I can do all the non-python part.
>
> JMarc
>
Why not simply ignore the second part, so that
\unbind "xyzzy" "some (non) emty string"
would still work.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220719/279a3025/attachment-0001.asc>
More information about the lyx-devel
mailing list