From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67925: 29.1; delete-rectangle fails on multi-column characters Date: Wed, 03 Jan 2024 21:31:12 +0200 Message-ID: <83jzoqxlhb.fsf@gnu.org> References: <83il4tge2z.fsf@gnu.org> <831qbggd50.fsf@gnu.org> <83r0jffqql.fsf@gnu.org> <86bkai64a3.fsf@mail.linkov.net> <86a5q0j084.fsf@mail.linkov.net> <83le9kdc7p.fsf@gnu.org> <86zfy0rohh.fsf@mail.linkov.net> <8334vm8zvq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22723"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67925@debbugs.gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca, juri@linkov.net To: awrhygty@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 03 20:32:14 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rL6yM-0005jD-9E for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Jan 2024 20:32:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rL6y9-00074V-Gh; Wed, 03 Jan 2024 14:32:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rL6y8-000749-3L for bug-gnu-emacs@gnu.org; Wed, 03 Jan 2024 14:32:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rL6y7-0003op-S2 for bug-gnu-emacs@gnu.org; Wed, 03 Jan 2024 14:31:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rL6yA-0002iq-K8 for bug-gnu-emacs@gnu.org; Wed, 03 Jan 2024 14:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jan 2024 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67925 X-GNU-PR-Package: emacs Original-Received: via spool by 67925-submit@debbugs.gnu.org id=B67925.170431031910455 (code B ref 67925); Wed, 03 Jan 2024 19:32:02 +0000 Original-Received: (at 67925) by debbugs.gnu.org; 3 Jan 2024 19:31:59 +0000 Original-Received: from localhost ([127.0.0.1]:53243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL6y3-0002iV-Tw for submit@debbugs.gnu.org; Wed, 03 Jan 2024 14:31:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL6xq-0002i5-4F for 67925@debbugs.gnu.org; Wed, 03 Jan 2024 14:31:54 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rL6xe-0003jM-Sz; Wed, 03 Jan 2024 14:31:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=xcL7lUo82nta25IjullFbguczQ99q8gB/kf0O3THrcg=; b=NIIbpZEzezE3ktWMJIyu QPoq6KxeiNXbDqhMvegCUuQIlbcm0XCLuycFI1y9fVXf0CsVF0xZx23AtQR0lOLrsdS1IOiIAEs+e wd4JaWAVCNcpbi/YOlpKdyQpnbGmzCNFApGwNdoe5d8xMYO4EwTSAhYfa2woLtGrthKbuuKtLeDTH fmNPMtnsG+YZ6TOp/HTF93sqbSQAqeJYHq6icVY+LcY9lNl4NniP3EHDTE9iPjfvHpXZmS6HOi1tm XqNWoYUa5ws3RFDj9aHLIIPjaeiZbcBkThhFO52Zc5ddpaPnihlqLMC0HOJB7CPEvcJv7/vVzP0+L u5FPTx1s3zMQzA==; In-Reply-To: (awrhygty@outlook.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277288 Archived-At: > From: awrhygty@outlook.com > Cc: Stefan Kangas , juri@linkov.net, > monnier@iro.umontreal.ca, 67925-done@debbugs.gnu.org > Date: Thu, 04 Jan 2024 04:00:49 +0900 > > Eli Zaretskii writes: > > >> From: Stefan Kangas > >> Date: Sun, 24 Dec 2023 06:52:13 -0800 > >> Cc: monnier@iro.umontreal.ca, awrhygty@outlook.com, 67925@debbugs.gnu.org > >> > >> Juri Linkov 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 I don't see this as a significant problem, and don't think we should waste time and efforts on trying to "fix" it. The current preview doesn't look less correct or more incorrect than what we had before the changes. Sorry, I don't want to try to change anything due to this new issue.