From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 56237@debbugs.gnu.org, visuweshm@gmail.com
Subject: bug#56237: 29.0.50; delete-forward-char fails to delete character
Date: Sun, 26 Jun 2022 18:24:16 +0200 [thread overview]
Message-ID: <87a69zcs0f.fsf@gnus.org> (raw)
In-Reply-To: <83zghz8kk3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 19:18:52 +0300")
Eli Zaretskii <eliz@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
next prev parent reply other threads:[~2022-06-26 16:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-26 16:07 bug#56237: 29.0.50; delete-forward-char fails to delete character visuweshm
2022-06-26 16:13 ` Visuwesh
2022-06-26 16:18 ` Eli Zaretskii
2022-06-26 16:24 ` Lars Ingebrigtsen [this message]
2022-06-26 16:25 ` Visuwesh
2022-06-26 16:36 ` Eli Zaretskii
2022-06-26 16:47 ` Visuwesh
2022-06-26 16:57 ` Eli Zaretskii
2022-06-26 17:06 ` Visuwesh
2022-06-26 17:26 ` Eli Zaretskii
2022-06-26 18:01 ` Eli Zaretskii
2022-06-27 5:31 ` Visuwesh
2022-06-27 5:47 ` Visuwesh
2022-06-27 12:39 ` Eli Zaretskii
2022-06-27 14:24 ` Visuwesh
2022-06-27 15:53 ` Eli Zaretskii
2022-07-02 7:03 ` Visuwesh
2022-07-16 12:50 ` Visuwesh
2022-07-16 13:31 ` Eli Zaretskii
2022-07-16 13:43 ` Visuwesh
2022-06-26 16:38 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a69zcs0f.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56237@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=visuweshm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.