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: Thu, 28 Dec 2023 11:01:13 +0200 Message-ID: <8334vm8zvq.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24041"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67925-done@debbugs.gnu.org, awrhygty@outlook.com, monnier@iro.umontreal.ca, juri@linkov.net To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 28 10:02:27 2023 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 1rImHb-00062R-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Dec 2023 10:02:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rImHJ-000231-MN; Thu, 28 Dec 2023 04:02:09 -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 1rImHE-00020X-7K for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 04:02:04 -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 1rImHD-0002MN-Qq for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 04:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rImHC-0007wI-P8 for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 04:02:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Dec 2023 09:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67925 X-GNU-PR-Package: emacs Mail-Followup-To: 67925@debbugs.gnu.org, eliz@gnu.org, awrhygty@outlook.com Original-Received: via spool by 67925-done@debbugs.gnu.org id=D67925.170375409930482 (code D ref 67925); Thu, 28 Dec 2023 09:02:02 +0000 Original-Received: (at 67925-done) by debbugs.gnu.org; 28 Dec 2023 09:01:39 +0000 Original-Received: from localhost ([127.0.0.1]:38423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rImGo-0007vY-Ou for submit@debbugs.gnu.org; Thu, 28 Dec 2023 04:01:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rImGl-0007r5-Nc for 67925-done@debbugs.gnu.org; Thu, 28 Dec 2023 04:01:37 -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 1rImGg-0002Bh-97; Thu, 28 Dec 2023 04:01:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PsHZXVeW1bjC1oSjOrd3ShjcQNzmo+S5+pJMExFDGqs=; b=ISxNaN+OOvNd x2eDVhnVBOfJHLCCo803Ulzhoa02RBY9Ul9uBtBM0NCOQnRyMGy0JEUptTtqgJFsWp/xhFM1PBKL3 6TRsdmhwJRA6zgIPrDUV8MWkQCZNlbtwEFvxYEd07QAB7qOS+TNXnh9XDRq0R2Ot4mZh0NHeVU1z3 sqlfldKcV/kDm4P+N4lx/7p1Nh4lejsT79OGa93b2zjL2umKgi5Xm2Gqj2+z6kRtG1BrXf4BJWdPn xXWgG4LeQ98FCtWR9bkPhEji3mtb0AC3rOfIaJ3o6poXP9xC8O0/Wd/lfVwYgkrLb8W7qLxDlXOmB dRs495quATHhXTlOdZbwBg==; In-Reply-To: (message from Stefan Kangas on Sun, 24 Dec 2023 06:52:13 -0800) 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:276964 Archived-At: > 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.