Subject: 23.0.60; term and epa do not recognize 'Return' key

From: Chris Patterson <[email-masked]>
Date: Sun, 21 Sep 2008 21:34:03 -0600

This issue appears in 2 places; term, and epa:
Runing m-x term (any available shell produces the same error)
pressing the 'Return' key results in the message:
Wrong type argument: integerp, return
*Messages* buffer displays: term-send-raw: Wrong type argument:  
integerp, return
Using the 'Enter' key works fine.

Also, when entering a passphrase for epa the input is not read  
unleess 'Enter'
is used. The 'Return' key does not give the error message seen in  
term and
nothing is in *Messages* but it seems to be the same problem.

In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, *Step 9.0)
  of 2008-08-10 on myPowerbook.local
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--with-ns''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   shell-dirtrack-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<kp-enter> C-x k <return> M-x g n u s <escape> <escape>
<escape> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <send-emacs-bug-report> <help-echo> <help-echo>
2 3 . 0 . <backspace> <backspace> <backspace> <backspace>
<backspace> F a i l u r e SPC t o SPC <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> E m
a c s SPC d o e s SPC n o t SPC r e c o r <backspace>
g n i z e SPC ' E n t e r ' SPC k e y SPC i n SPC C-g
M-x s h e l l <return> l s SPC - l <return> C-x C-c
n o <return> e x i t <return> C-x k <return> M-x e
s h e <tab> <return> l s SPC - l a <return> e x i t
<return> M-x t e r m <return> <return> l s SPC - l
a <return> <down-mouse-1> <mouse-1> C-x b * s <tab>
<return> <help-echo> <down-mouse-1> <mouse-1> <return>
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> M-w
C-x b * s <tab> <return> t e r m SPC w i t h SPC /
b i n / b a s k <backspace> h <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <return> C-y <return>
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Loading em-dirs...done
Loading em-glob...done
Loading em-hist...done
Loading em-ls...done
Loading em-prompt...done
Loading em-script...done
Loading em-term...done
Loading em-unix...done
term-send-raw: Wrong type argument: integerp, return [2 times]
Mark set