From: Tino Calancha <f92capac@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Tino Calancha <f92capac@gmail.com>, 23325@debbugs.gnu.org
Subject: bug#23325: 25.0.92; insert-char: cannot find all chars if input is unicode name
Date: Fri, 22 Apr 2016 02:39:24 +0900 (JST) [thread overview]
Message-ID: <alpine.LRH.2.20.1604220233050.7424@calancha-ilc.kek.jp> (raw)
In-Reply-To: <831t5z6k6a.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
> Yes, it should show a method that works; patches welcome.
With attached patch:
`describe-char' on 0x79c1 shows:
to input: type "C-x 8 RET 79c1"
IOH, for catched entries in `ucs-names' (e.g. 0x304d) it shows as usual:
to input: type "C-x 8 RET 304d" or "C-x 8 RET HIRAGANA LETTER KI"
[-- Attachment #2: Type: text/plain, Size: 1152 bytes --]
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index a352ed0..21f2214 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -619,7 +619,13 @@ describe-char
(let ((name
(or (get-char-code-property char 'name)
(get-char-code-property char 'old-name))))
- (if name
+ (if (and name
+ (not (string-prefix-p "CJK IDEOGRAPH-" name))
+ (not (string-prefix-p "CJK COMPATIBILITY IDEOGRAPH-" name))
+ (not (string-prefix-p "LOW SURROGATE-" name))
+ (not (string-prefix-p "HIGH SURROGATE-" name))
+ (not (string-prefix-p "TANGUT IDEOGRAPH-" name))
+ (not (string-prefix-p "TANGUT COMPONENT-" name)))
(format
"type \"C-x 8 RET %x\" or \"C-x 8 RET %s\""
char name)
next prev parent reply other threads:[~2016-04-21 17:39 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
2016-04-21 14:32 ` Tino Calancha
2016-04-21 15:44 ` Eli Zaretskii
2016-04-21 17:39 ` Tino Calancha [this message]
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=alpine.LRH.2.20.1604220233050.7424@calancha-ilc.kek.jp \
--to=f92capac@gmail.com \
--cc=23325@debbugs.gnu.org \
--cc=eliz@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 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.