I just tried updating to the latest set of packages. Now
c-electric-pound in cc-mode is broken. If I hit '#', I get:
(wrong-type-argument char-or-string-p #<keypress-event # 0xb7a>)
insert(#<keypress-event # 0xb7a>)
(let ((pos ...) (bolp ...)) (beginning-of-line)
(delete-horizontal-space) (insert last-command-event) (and (not bolp)
(goto-char ...)))
(if (c-save-buffer-state nil (or arg ... ... ... ... ...))
(self-insert-command (prefix-numeric-value arg)) (let (... ...)
(beginning-of-line) (delete-horizontal-space) (insert
last-command-event) (and ... ...)))
c-electric-pound(nil)
call-interactively(c-electric-pound)
I think the
(insert last-command-event)
in that function should really be:
(insert (event-key last-command-event))
Furthermore, there are many comparisons of last-command-event against
a character in cc-cmds.el and cc-align.el. Those will always be
false, as they are objects of different types. I think that
last-command-event needs to changed to (event-key last-command-event)
universally in those two files.
Regards,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta