unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: ucs-insert no longer working
Date: 14 Apr 2013 22:49:34 +0200	[thread overview]
Message-ID: <87y5ckj0rl.fsf@gmx.ch> (raw)

Hi to all

After today's update to Emacs 24.3.1 on Ubuntu 12.10 the following is no
longer working:

(defun insert-lang-a ()
(interactive)
(ucs-insert "0101"))
(global-set-key "\M-aa" 'insert-lang-a)

Debug-on-error gives:

Debugger entered--Lisp error: (wrong-type-argument characterp "0101")
  insert-char("0101")
  insert-lang-a()
  call-interactively(insert-lang-a nil nil)

Replacing "ucs-insert" by "insert-char" doesn't help. Calling ucs-insert
manually with M-x works however. What strange bug is that?

Thanks for help,

Sven



             reply	other threads:[~2013-04-14 20:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-14 20:49 Sven Bretfeld [this message]
2013-04-14 22:05 ` ucs-insert no longer working Drew Adams
     [not found] <mailman.24120.1365972586.855.help-gnu-emacs@gnu.org>
2013-04-14 21:25 ` Sven Joachim
2013-04-16  7:38   ` Sven Bretfeld

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=87y5ckj0rl.fsf@gmx.ch \
    --to=sven.bretfeld@gmx.ch \
    --cc=help-gnu-emacs@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.
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).