all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tino Calancha <f92capac@gmail.com>
Cc: 23325@debbugs.gnu.org
Subject: bug#23325: 25.0.92; insert-char: cannot find all chars if input is unicode name
Date: Thu, 21 Apr 2016 17:00:12 +0300	[thread overview]
Message-ID: <83a8kn6p03.fsf@gnu.org> (raw)
In-Reply-To: <alpine.LRH.2.20.1604211332560.5862@calancha-ilc.kek.jp> (message from Tino Calancha on Thu, 21 Apr 2016 13:40:01 +0900 (JST))

> Date: Thu, 21 Apr 2016 13:40:01 +0900 (JST)
> From: Tino Calancha <f92capac@gmail.com>
> 
> Interactive calls to `insert-char' cannot find all
> characters when CHARACTER is the unicode character name.
> 
> IOW, it finds all characters when CHARACTER is the
> code point.
> 
> 
> emacs -Q:
> M-x insert-char RET cjk SPC TAB
> ;; Buffer "*Completions*" just shows entries starting
> ;; with 'CJK RADICAL' or 'CJK STROKE'.
> 
> M-x insert-char RET 2eea RET
> ;; ok
> M-x insert-char RET cjk SPC radical SPC c-simplified SPC frog RET
> ;; ok
> M-x insert-char RET 79c1 RET
> ;; ok
> M-x insert-char RET cjk SPC ideograph-79c1 RET
> ;; Signal error 'Invalid character'

It's a feature, see ucs-names.  We deliberately filter out
non-descriptive names like "CJK COMPATIBILITY IDEOGRAPH-2F803",
because (a) if we didn't the list of completions would be sometimes
much longer; and (b) it makes very little sense to show these names as
completions candidates, because those names include the codepoint, so
if you know which of these you need to insert, you can insert it by
the codepoint.





  reply	other threads:[~2016-04-21 14:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21  4:40 bug#23325: 25.0.92; insert-char: cannot find all chars if input is unicode name Tino Calancha
2016-04-21 14:00 ` Eli Zaretskii [this message]
2016-04-21 14:32   ` Tino Calancha
2016-04-21 15:44     ` Eli Zaretskii
2016-04-21 17:39       ` Tino Calancha
2016-04-21 19:42         ` Eli Zaretskii
2016-04-22  3:08           ` Tino Calancha
2016-04-22  7:32             ` Andreas Schwab
2016-04-22  7:56               ` Tino Calancha
2016-04-23 19:52 ` bug#23325: 25.0.92; insert-char: cannot find all chars if input, " Paul Eggert

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=83a8kn6p03.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23325@debbugs.gnu.org \
    --cc=f92capac@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.