unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
Subject: ucs method on non-supported unicode chars
Date: Mon, 18 Dec 2006 12:21:24 +0100	[thread overview]
Message-ID: <f7ccd24b0612180321o8e8dfb9y5a6d41bfba422d66@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

With function `ucs-insert' (from lisp/international/ucs-tables.el):

  M-x ucs-insert RET 4DF9 RET => "Character U+4DF9 is not yet
supported" (an error message).

With ucs input method:

  U4DF9 => "ä·¹" (in the buffer).

Why does the ucs input method try to insert what it knows is an
unsupported character? In which way it is better to get "ä·¹" than a
helpful error message?

I ask because the behavior is clearly intentional. `utf-8-ccl-encode'
is defined in leim/quail/uni-input.el, and `ucs-input-method' includes
this error handling:

 (if c
    (list c)
  (aset status 0 n)
  (string-to-list (ccl-execute-on-string
                   'utf-8-ccl-encode status "")))

                    /L/e/k/t/u

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

             reply	other threads:[~2006-12-18 11:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-18 11:21 Juanma Barranquero [this message]
2007-01-03  0:07 ` ucs method on non-supported unicode chars Juanma Barranquero
2007-01-04  1:27   ` Kenichi Handa
2007-01-08  0:41     ` Juanma Barranquero
2007-01-12  4:26       ` Kenichi Handa
2007-01-12  8:56         ` Juanma Barranquero
2007-01-12 11:36           ` Kenichi Handa

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=f7ccd24b0612180321o8e8dfb9y5a6d41bfba422d66@mail.gmail.com \
    --to=lekktu@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 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).