unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: delete-char and composed characters
Date: Fri, 24 Oct 2008 15:29:02 +0200	[thread overview]
Message-ID: <uskqmxgtd.fsf@gnu.org> (raw)

It looks like C-f and C-b move by composed character positions on the
screen, but DEL and C-d delete individual characters (i.e. a single
Unicode codepoint).

For example, after typing "C-h H", go to the parenthesized text in the
Bengali line and hit C-d.  You will see that you need to type C-d 5
times to delete the entire text in parentheses, but C-f traverses it
in only 2 keystrokes.

Do we have a single-codepoint variant of C-f and C-b?  If not, should
we?  I think we should, because without them, there's no simple way of
deleting or editing just one codepoint in the middle of a composition.

Or did I miss something?




             reply	other threads:[~2008-10-24 13:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 13:29 Eli Zaretskii [this message]
2008-10-24 18:47 ` delete-char and composed characters Stefan Monnier
2008-10-24 19:47   ` Eli Zaretskii
2008-10-25  0:49     ` Kenichi Handa
2008-10-25  8:01       ` Eli Zaretskii
2008-10-25  0:46   ` Kenichi Handa
2008-10-25 18:19     ` Stefan Monnier
2008-10-25 22:20       ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uskqmxgtd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).