> From: Sebastian Miele <i...@whxvd.name> > Cc: Ihor Radchenko <yanta...@posteo.net>, 65...@debbugs.gnu.org, > emacs-orgmode@gnu.org > Date: Tue, 05 Sep 2023 17:25:38 +0200 > > > From: Eli Zaretskii <e...@gnu.org> > > Date: Tue, 2023-09-05 14:54 +0300 > > > > […] > > > > So we could decide that this command needs to become smarter when the > > visual line includes invisible text. That is, improve the command > > without making any Org-specific changes anywhere. Patches to that > > effect are welcome. > > The following would do it. I think I tested it rather thoroughly. > During testing I found another bug that is addressed by the let-binding > of kill-read-only-ok during the first kill-region below.
Thanks. Sadly, we don't have any tests for this function in our test suite, so verifying this non-trivial change will not be easy...