GNU bug report logs - #56237
29.0.50; delete-forward-char fails to delete character

Previous Next

Package: emacs;

Reported by: visuweshm <at> gmail.com

Date: Sun, 26 Jun 2022 16:08:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Visuwesh <visuweshm <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56237 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: bug#56237: 29.0.50; delete-forward-char fails to delete character
Date: Sun, 26 Jun 2022 18:24:16 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> 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 <Delete>
>> 
>> 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.

Putting point at the start of the line, you can hit <del> three times to
delete all characters on the line -- so there's three grapheme clusters,
and that works fine.  The problem is if you put point on the second
cluster, <del> does nothing, and that has to be a bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.