From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yee Keat Phuah Newsgroups: gmane.emacs.bugs Subject: bug#4027: 23.1; accept-process-output doesn't accept floating point for the seconds argument Date: Tue, 4 Aug 2009 09:36:04 +0800 Message-ID: <9caafe030908031836h33c110e0q7b3bbf9c234a3c6a@mail.gmail.com> Reply-To: Yee Keat Phuah , 4027@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64eabf4eb9fcd047046e84e X-Trace: ger.gmane.org 1249353337 24263 80.91.229.12 (4 Aug 2009 02:35:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 02:35:37 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 04 04:35:29 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MY9s9-0002aY-2k for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Aug 2009 04:35:29 +0200 Original-Received: from localhost ([127.0.0.1]:50029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY9s7-00057n-Tz for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Aug 2009 22:35:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MY97H-0006MF-7K for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:47:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MY97B-0006Bh-JK for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:47:01 -0400 Original-Received: from [199.232.76.173] (port=60861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY97A-0006BJ-WC for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:46:57 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:17577) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MY97A-0000Fj-Fn for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:46:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MY979-0002ii-HK for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:46:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n741kkj4001295; Mon, 3 Aug 2009 18:46:47 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n741j7LB001023; Mon, 3 Aug 2009 18:45:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Yee Keat Phuah Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 01:45:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4027 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1249349784464 (code B ref -1); Tue, 04 Aug 2009 01:45:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Aug 2009 01:36:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n741aB18000454 for ; Mon, 3 Aug 2009 18:36:13 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MY8wl-0007Un-82 for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:36:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MY8wg-0007Sa-LB for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:36:10 -0400 Original-Received: from [199.232.76.173] (port=34544 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY8wg-0007SU-Fl for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:36:06 -0400 Original-Received: from mail-vw0-f182.google.com ([209.85.212.182]:58179) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MY8wg-0002EO-3Y for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 21:36:06 -0400 Original-Received: by vws12 with SMTP id 12so1386423vws.24 for ; Mon, 03 Aug 2009 18:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=QzPseIRs4YhbzVL5J2Yxtwqeqz2p/7uU/+Fr/1fw7Ko=; b=DbyvJBeHqCXTIKzhLAjww7wXFbVs15FnrQfew9e8roJo7C2TjfP7I0QVSjRruizhPP sGpon4iybHiVekiwnYDeIKKZuwlm/ZF7vhRC8SiH4jxWOSQru1D6QhYmuuslptayApby V2w7ZxiohpOs+Mu0kWfoQx3hd1fKmJnbtIieQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uPYb3VAnZjpEgnfFKRW8VwOSzr93pg2MgU8PyhnuVSLr5BPYtit1mSUHgR3CJe16TN WgwmYHz+Q89YFDDuJYmz3ONGbWLk2VlTI4Zb/XMShbzRaLj/zL7E/9bqmYiLhTle/w/L /Vmaj84kyqhlhMX6NNBIzcn6U56Z6Nq2a6fyk= Original-Received: by 10.220.77.17 with SMTP id e17mr6009504vck.3.1249349764618; Mon, 03 Aug 2009 18:36:04 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Mon, 03 Aug 2009 21:47:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29840 Archived-At: --0016e64eabf4eb9fcd047046e84e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 C-p ( l e t SPC ( ( o t h e r ) 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 C-x C-s p o p ) SPC ( c d r SPC p o p ) ) ) ) C-n C-p C-e C-x C-s C-x b D C-g C-g C-x M-f D o g C-g C-g C-x C-f j a v a / o r g / a n i m a l / D o g M-x j d e - l o a d - p r o 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 C-g C-g C-g 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 --0016e64eabf4eb9fcd047046e84e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When I do (accept-process-output fooproc 0.1 0 1), I get the following erro= r
(wrong-type-argument integerp 0.1)

According to the help page f= or accept-process-output:
[quote]
Non-nil second arg seconds and thir= d arg millisec are number of seconds
and milliseconds to wait; return after that much time whether or not
the= re is any subprocess output.=A0 If seconds is a floating point number,
i= t specifies a fractional number of seconds to wait.
The millisec argumen= t is obsolete and should be avoided.
[/unquote]

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

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

Important settings= :
=A0 value of $LC_ALL: nil
=A0 value of $LC_COLLATE: nil
=A0 valu= e of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=A0 value of $LC_M= ONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_TIME: nil
=A0 value of= $LANG: ENU
=A0 value of $XMODIFIERS: nil
=A0 locale-coding-system: c= p1252
=A0 default-enable-multibyte-characters: t

Major mode: Debu= gger

Minor modes in effect:
=A0 shell-dirtrack-mode: t
=A0 diff-auto-r= efine-mode: t
=A0 nxhtml-global-minor-mode: t
=A0 recentf-mode: t
= =A0 show-paren-mode: t
=A0 global-auto-revert-mode: t
=A0 desktop-sav= e-mode: t
=A0 swbuff-y-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
= =A0 menu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-loc= k-mode: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 globa= l-auto-composition-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-com= pression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: (on= ly . 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&= gt; <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <help= -echo>
<help-echo> <help-echo> <help-echo> <hel= p-echo> <help-echo>
<help-echo> <help-echo> <he= lp-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

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