From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56237: 29.0.50; delete-forward-char fails to delete character Date: Sun, 26 Jun 2022 22:36:31 +0530 Message-ID: <87bkuf9wx4.fsf@gmail.com> References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40910"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56237@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 26 19:07:19 2022 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 1o5VjD-000AWI-8V for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 19:07:19 +0200 Original-Received: from localhost ([::1]:47656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5VjB-00040x-SM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 13:07:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Vix-0003z9-6U for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 13:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5Viw-0006zq-UE for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 13:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5Viw-0005wp-PL for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 13:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56237 X-GNU-PR-Package: emacs Original-Received: via spool by 56237-submit@debbugs.gnu.org id=B56237.165626320422826 (code B ref 56237); Sun, 26 Jun 2022 17:07:02 +0000 Original-Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 17:06:44 +0000 Original-Received: from localhost ([127.0.0.1]:48913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Vie-0005w6-83 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 13:06:44 -0400 Original-Received: from mail-pj1-f68.google.com ([209.85.216.68]:51946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Vib-0005vr-9c for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 13:06:43 -0400 Original-Received: by mail-pj1-f68.google.com with SMTP id l2so5981613pjf.1 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 10:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=1dn0Cx0xFtz+k27AobQJpJ7uJNDsNV22rm9fH3ngIh0=; b=HlfrWhNSmxjDuleDKmzzatXUmk5tjcf6M8Qt0Oty9patUlrKpC/hbiEBqeCcn26MpL LCvS0gIs4TYTJvVon9A5SIvccnbvAxUTMJq0essioW9Cny2t4euvkXw/FcH3hJXAopSe vsQyyX4gUNxQbeROk9ecicTr8zvV+CykkQjwLDHeyMitUzwfWRPMmgFvO3eQWHvp4vAs losVV2UJ0kNLDJq9te5nRsZVtY+kn5khp87br6teD80eZ0d+/tnvmcv3skF2uP47g+Sa u89RDXwDwdGEOAk8J0c6G2/wtd2huFOrdrprw5LlUfkA8inf2XV3pJcPUV+ZeJR/0FDt kRpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=1dn0Cx0xFtz+k27AobQJpJ7uJNDsNV22rm9fH3ngIh0=; b=DwGst/6qN8T7ZgRNxHqn4/Ji9ed+xGZcpYukTUMF2YLv0rnzObV8PKRzDJaZXfUr+b uZN/XntIgGD2rqkiWHu7/mIfXmK8GSgFKUQStcPMx2MhgTV9BzNWCO8CJTfOdgvUzbw0 eQolwUZex4s3H5G4DcEiL2vy6NO4CveK3TYOJ9RV+HxPpsPEC+1LkDar+9pcSirDeUEo i28B887Sm4mAbPLMzFSQ75pY6VW66hogNY7yY09OqWrpJLOPbVV4WO1P8XMbNxv56jag LWQc2LfkixM5S6wERIBnKI1LkqQ+jTnS4teeHMJDQFz4RGYIws4aNAlxMiBSXlM58DUP AlBQ== X-Gm-Message-State: AJIora/qOHiibCpVqJG44jWi1ODNfaYFAKG4O5d2jKWjyj1rdNeglXII 9DgoQkxsK+0cmX5Ayjh2G7c= X-Google-Smtp-Source: AGRyM1tt3yGukKcdCgh5Gvk2ygwriVZJj8wmAFbwH0sWkjQRQbJQX/rya3JjZvTQqjBrOG3uWg88jg== X-Received: by 2002:a17:90a:b284:b0:1e3:826b:d11d with SMTP id c4-20020a17090ab28400b001e3826bd11dmr10764748pjr.79.1656263195312; Sun, 26 Jun 2022 10:06:35 -0700 (PDT) Original-Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id i21-20020a63e455000000b0040cfb5151fcsm5363661pgk.74.2022.06.26.10.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 10:06:34 -0700 (PDT) In-Reply-To: <83v8sn8ir9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 19:57:46 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:235380 Archived-At: [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: 56237@debbugs.gnu.org >> Date: Sun, 26 Jun 2022 22:17:53 +0530 >>=20 >> [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF= =82=E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >>=20 >> > Sorry, I misunderstood the report. >> > >> > I tried to fix this now on master. >>=20 >> Thanks for the quick fix! Unfortunately, delete-forward-char still >> deletes two clusters instead of one in "=E0=AE=AA=E0=AF=8D=E0=AE=AA=E0= =AF=8B". :( > > They aren't two clusters, they are two graphemes that are part of a > single grapheme cluster. > > Invoke find-composition, and you will see that it returns a single > composition there. > If find-composition is indeed right, then the return value is very unintuvitive as a native speaker: =E0=AE=AA=E0=AF=8D and =E0=AE=AA=E0=AF=8B= are two separate characters and combining them into a single cluster is weird...=20=20 Am I right in thinking that a grapheme cluster is made up of characters that can be grouped together to produce a single "letter" on screen? If so, the behaviour of find-composition is still confusing since I need to say C-f twice to move over =E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B. >> I.e., >>=20 >> |=E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B becomes | >>=20 >> where | denotes the point. > > This is the intended behavior.