GNU bug report logs -
#4027
23.1; accept-process-output doesn't accept floating point for the seconds argument
Previous Next
Reported by: Yee Keat Phuah <ykphuah <at> gmail.com>
Date: Tue, 4 Aug 2009 01:45:06 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 06 Aug 2009 14:45:32 -0400
with message-id <jwvbpms236l.fsf-monnier+emacsbugreports <at> gnu.org>
and subject line Re: bug#4027: 23.1; accept-process-output doesn't accept floating point for the seconds argument
has caused the Emacs bug report #4027,
regarding 23.1; accept-process-output doesn't accept floating point for the seconds argument
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)
--
4027: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4027
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
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
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
> When I do (accept-process-output fooproc 0.1 0 1), I get the following error
> (wrong-type-argument integerp 0.1)
Yes: if you use the obsolete and discouraged MILLISEC agument, then the
SECONDS argument needs to be an integer.
Stefan
This bug report was last modified 15 years and 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.