This "sounds" OK to me.  Could somebody more knowledgeable than I
please comment.
|--==> "KY" == Katsumi Yamaoka <yamaoka(a)jpl.org> writes:
  KY> Hi,
  KY> I am using 21.5.2 CVS (main trunk).  Is the following behavior
  KY> correct?
  KY> (int-to-char -51)
  KY> => ?\^^M
  KY> If so, we should modify mule-packages/egg-its/egg.el not to use
  KY> negative numbers for `int-to-char'.  Because of this behavior,
  KY> Egg often hangs up when I mis-type (e.g. C--) in the fence-mode.
  KY> Here is a patch for egg.el:
  KY> 2001-08-21  Katsumi Yamaoka  <yamaoka(a)jpl.org>
  KY> * egg.el (egg-read-event): Don't specify a negative number to
  KY> `int-to-char'.
  KY> --- mule-packages/egg-its/egg.el~	Tue May  8 11:18:52 2001
  KY> +++ mule-packages/egg-its/egg.el	Tue Aug 21 09:29:36 2001
  KY> @@ -166,8 +166,12 @@
  KY> (if (eq 1 (event-modifier-bits event))
  KY> (setq ch
  KY> (if (characterp key)
  KY> -			(or (int-to-char (- (char-to-int key) 96))
  KY> -			    (int-to-char (- (char-to-int key) 64)))
  KY> +			(progn
  KY> +			  (setq key (char-to-int key))
  KY> +			  (or (and (>= key 96)
  KY> +				   (int-to-char (- key 96)))
  KY> +			      (and (>= key 64)
  KY> +				   (int-to-char (- key 64)))))
  KY> (event-to-character event)))
  KY> (setq unread-command-events (list event))))
  KY> (setq unread-command-events (list event)))
-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<youngs(a)xemacs.org>---|