-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 29/01/2021 21:07, Bram Moolenaar wrote: > > Patch 8.2.2426 Problem: Allowing 'completefunc' to switch > windows causes trouble. Solution: use "textwinlock" instead of > "textlock". Files: src/insexpand.c, > src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
I hope that use of win_execute() is still possible during completion, right? You already had disabled window switching once in 8.2.0614, and after I complained in https://github.com/vim/vim/issues/6017 you again allowed switching as long as it returned to the original window. Many of my completion plugins use window switching, and I never had any issues reported because of it, so it's sad that you now decide it has to be disallowed in general, just because _some_ code _can_ misbehave. As long as win_execute() can be used (and that does offer some minor benefits over :wincmd w), I can adapt the plugin code (but will then have to either drop old Vim versions that don't have it, or keep maintaining the existing implementation in parallel). - -- regards, ingo -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJgFHQKAAoJEA7ziXlAzQ/v6FwH/19yswATLqxjfaPcTmyFvfjb q+87zXc1hM3Mb9kGPne1iuP/SeojuijJPRr4r4+ACgOI2QSq1sfoFkAk7nnMZ/rX Idaub35QBY10iEdSo4T2//ttNrkMujCNHiopfQGCwdhofqiSuxK3zT3jvY52UfpF CRKZ4a7N12ImTP3KjDCW1iWJeIyP4ZBQePVpURU4gyIcQWNQWmULSncfQ/IoLu59 zg5gS8FWENdsDB4ICiTIn9ZL5QTXVzQIUVJK6yz1t+IvvucfjJMXaDe7ekPawSpv bZITYJss86cLOPMfB5sh8G9bedcFG67IMtZnbGnq5/WW1g04LQAdYaCG+t7vRVs= =R0Vs -----END PGP SIGNATURE----- -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/e3c632df-c91e-f706-78e4-d6224608d4f8%40ingo-karkat.de.
