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#56237: 29.0.50; delete-forward-char fails to delete character Date: Sun, 26 Jun 2022 19:36:44 +0300 Message-ID: <83y1xj8jqb.fsf@gnu.org> References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56237@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 26 18:37:13 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 1o5VG5-0005JB-5J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 18:37:13 +0200 Original-Received: from localhost ([::1]:38914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5VG3-0004NL-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 12:37:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VFu-0004Mx-Ac for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 12:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5VFu-0001V1-2O for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5VFt-0005AH-VE for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 12:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 16:37:01 +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.165626141619842 (code B ref 56237); Sun, 26 Jun 2022 16:37:01 +0000 Original-Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:36:56 +0000 Original-Received: from localhost ([127.0.0.1]:48874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VFo-00059y-32 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:36:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VFi-00059d-Cw for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:36:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VFd-0001Dg-1I; Sun, 26 Jun 2022 12:36:45 -0400 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=lCcOO4arW8Zsm4V7d840vdjOlVWdyXEmoYRhdcd4oBQ=; b=IJ4B/VJan5k2Xl2DWk9l dWHdKl4mkf6qwiyjL4VvCCr1GUESKFjSPnIfUtpZh7XA+HiiWK+x/nyLYJycY6Xcqajq/829Ho5DR CUdwGWaBFpCrE8aO5F6mj0dIIsGqniPwVrnMYa0WHpuwojnsxYYaD5jl7Sq8ov+ajDFiEQXOa+A2J nxqOlukf+rOcrOtbTCyvUaZ93m+fP3TU64FaWo7pZC00dbs46DYub0JipoRr2Z2p4mgKBuGTgG+4I Rtx2YVxiQVBm5keSHdJX9q/MhvoPKInz2TwepS6Aa1Vao4rJq8ds89ENo43yC1DEXb7IAWijNMSHA 4w4+XFbGKi00SA==; Original-Received: from [87.69.77.57] (port=2501 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VFc-0004R6-HN; Sun, 26 Jun 2022 12:36:44 -0400 In-Reply-To: <87mtdz9ysx.fsf@gmail.com> (message from Visuwesh on Sun, 26 Jun 2022 21:55:50 +0530) 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:235376 Archived-At: > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Sun, 26 Jun 2022 21:55:50 +0530 > > [ஞாயிறு ஜூன் 26, 2022] Eli Zaretskii wrote: > > >> From: visuweshm@gmail.com > >> Date: Sun, 26 Jun 2022 21:37:07 +0530 > >> > >> delete-forward-char fails to delete if the point is between two composed > >> characters. To demonstrate, > >> > >> 1. emacs -Q > >> 2. Yank "ரு போ" to the *scratch* buffer > >> 3. Place the cursor on the space character and say > >> > >> Observe how delete-forward-char does nothing. > > > > This is a feature (new with Emacs 29): delete-forward-char deletes > > entire grapheme clusters. Use C-d if you want to delete individual > > codepoints inside a grapheme cluster. > > I'm not sure how this defeats my expectation though? I want the SPC to > be deleted and it does it do it when the buffer contains "b b" with the > point over SPC but it fails to do so when the buffer contains "ரு b" > instead. I was under the impression that I could safely rebind C-d to > delete-forward-char. Sorry, I misunderstood the report. I tried to fix this now on master.