From: awrhygty@outlook.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 67925-done@debbugs.gnu.org,
Stefan Kangas <stefankangas@gmail.com>,
monnier@iro.umontreal.ca, juri@linkov.net
Subject: bug#67925: 29.1; delete-rectangle fails on multi-column characters
Date: Thu, 04 Jan 2024 04:00:49 +0900 [thread overview]
Message-ID: <TYZPR01MB39204AE104179001ACBB1E34C360A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <8334vm8zvq.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Dec 2023 04:01:31 -0500")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Stefan Kangas <stefankangas@gmail.com>
>> Date: Sun, 24 Dec 2023 06:52:13 -0800
>> Cc: monnier@iro.umontreal.ca, awrhygty@outlook.com, 67925@debbugs.gnu.org
>>
>> Juri Linkov <juri@linkov.net> writes:
>>
>> >>> OTOH, with monospaced fonts LibreOffice selects such Block Area
>> >>> on the reported text:
>> >>>
>> >>> and DEL deletes the selected text. So maybe Emacs should do the same.
>> >>
>> >> The patch I posted in
>> >>
>> >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67925#8
>> >>
>> >> is supposed to do precisely that (and does it at least in this simple
>> >> example).
>> >
>> > I confirm this, so probably it's impossible to do anything better
>> > than that.
>>
>> Doing as well as LibreOffice is probably already not bad.
>>
>> Perhaps we should add a comment pointing to this discussion, to explain
>> why we have chosen this particular heuristic.
>
> Thanks. Since it sounds like everyone agreed with the solution I
> proposed, I have now installed that on the master branch, and I'm
> therefore closing this bug.
The preview of 'C-x r t'(string-rectangle) seems different from the
result.
Before:
12345
一二5
12345
Preview:
1x2345
x 二5
1x2345
Result:
1x2345
一x二5
1x2345
next prev parent reply other threads:[~2024-01-03 19:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-20 10:58 bug#67925: 29.1; delete-rectangle fails on multi-column characters awrhygty
2023-12-20 14:09 ` Eli Zaretskii
2023-12-21 7:30 ` awrhygty
2023-12-21 8:42 ` Eli Zaretskii
2023-12-21 14:26 ` awrhygty
2023-12-21 16:46 ` Eli Zaretskii
2023-12-21 21:12 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-22 7:56 ` Juri Linkov
2023-12-22 11:45 ` Eli Zaretskii
2023-12-22 14:27 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-23 17:30 ` Juri Linkov
2023-12-23 18:07 ` Eli Zaretskii
2023-12-24 8:31 ` Juri Linkov
2023-12-24 14:52 ` Stefan Kangas
2023-12-28 9:01 ` Eli Zaretskii
2024-01-03 19:00 ` awrhygty [this message]
2024-01-03 19:31 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TYZPR01MB39204AE104179001ACBB1E34C360A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com \
--to=awrhygty@outlook.com \
--cc=67925-done@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
--cc=monnier@iro.umontreal.ca \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.