unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ucs-insert no longer working
@ 2013-04-14 20:49 Sven Bretfeld
  2013-04-14 22:05 ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Bretfeld @ 2013-04-14 20:49 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.24120.1365972586.855.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2013-04-16  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14 20:49 ucs-insert no longer working Sven Bretfeld
2013-04-14 22:05 ` 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

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).