Subject: 23.1; accept-process-output doesn't accept floating point for the seconds argument

From: Yee Keat Phuah <[email-masked]>
Date: Tue, 4 Aug 2009 09:36:04 +0800

When I do (accept-process-output fooproc 0.1 0 1), I get the following error
(wrong-type-argument integerp 0.1)

According to the help page for accept-process-output:
[quote]
Non-nil second arg seconds and third arg millisec are number of seconds
and milliseconds to wait; return after that much time whether or not
there is any subprocess output.  If seconds is a floating point number,
it specifies a fractional number of seconds to wait.
The millisec argument is obsolete and should be avoided.
[/unquote]

The seconds argument should accept floating point, just as it does in
emacs-22.

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

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: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  nxhtml-global-minor-mode: t
  recentf-mode: t
  show-paren-mode: t
  global-auto-revert-mode: t
  desktop-save-mode: t
  swbuff-y-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: (only . t)

Recent input:
g - h a n d l e - b r e a k p o i n t SPC ( c a r SPC
j d <backspace> C-p <return> <tab> ( l e t SPC ( (
o t h e r ) <backspace> SPC ( p o p SPC j d i b u g
- o t h e r s - s u s p e n d e d ) ) ) C-n <tab> C-x
C-s <backspace> p o p ) SPC ( c d r SPC p o p ) ) )
) C-n C-p C-e <return> C-x C-s <f5> C-x b D C-g C-g
C-x M-f D o g C-g C-g C-x C-f <M-backspace> <M-backspace>
j a v a / o r g / a n i m a l / D o g <return> M-x
j d e - l o a d - p r o <tab> <return> <f5> C-] C-]
C-] C-] C-] C-] C-] C-x 1 C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-c C-c C-c C-h f a c c e p t - p r o <tab> <return>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug-report>
C-g C-g C-g <help-echo> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
Symbol's function definition is void: jde-ecj-flymake-init
Loading d:/cygwin-home/phuahy/prj.el (source)...done
Loading d:/cygwin-home/phuahy/java/prj.el (source)...done
Entering debugger...
Quit
call-interactively: No recursive edit is in progress [6 times]
JDIbug connecting... localhost:6010
Entering debugger...
Type C-x 4 C-o RET to restore the other window.
Quit [2 times]
Quit