From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4027: marked as done (23.1; accept-process-output doesn't accept floating point for the seconds argument) Date: Thu, 06 Aug 2009 18:55:05 +0000 Message-ID: References: <9caafe030908031836h33c110e0q7b3bbf9c234a3c6a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1249584905-17652-0" X-Trace: ger.gmane.org 1249585661 6233 80.91.229.12 (6 Aug 2009 19:07:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 19:07:41 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 21:07:35 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 1MZ8JH-0007af-CD for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 21:07:32 +0200 Original-Received: from localhost ([127.0.0.1]:44943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ8JG-0006UJ-NJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 15:07:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ8Ik-0006Fk-2b for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 15:06:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ8If-0006D3-Vo for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 15:06:57 -0400 Original-Received: from [199.232.76.173] (port=36806 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ8Ie-0006CQ-5l for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 15:06:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58790) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZ8Id-0004vg-3e for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2009 15:06:51 -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 n76J6l8b019597; Thu, 6 Aug 2009 12:06:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n76It5cJ017682; Thu, 6 Aug 2009 11:55:05 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4027 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:29939 Archived-At: This is a multi-part message in MIME format... ------------=_1249584905-17652-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 06 Aug 2009 14:45:32 -0400 with message-id and subject line Re: bug#4027: 23.1; accept-process-output doesn't accept f= loating 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 4027: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4027 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1249584905-17652-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 4 Aug 2009 01:36:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=FOURLA,IMPRONONCABLE_1,MULTALT, MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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 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= MIME-Version: 1.0 Received: by 10.220.77.17 with SMTP id e17mr6009504vck.3.1249349764618; Mon, 03 Aug 2009 18:36:04 -0700 (PDT) Date: Tue, 4 Aug 2009 09:36:04 +0800 Message-ID: <9caafe030908031836h33c110e0q7b3bbf9c234a3c6a@mail.gmail.com> Subject: 23.1; accept-process-output doesn't accept floating point for the seconds argument From: Yee Keat Phuah To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0016e64eabf4eb9fcd047046e84e X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --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-- ------------=_1249584905-17652-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4027-done) by emacsbugs.donarmstrong.com; 6 Aug 2009 18:45:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76IjcTk017058 for <4027-done@emacsbugs.donarmstrong.com>; Thu, 6 Aug 2009 11:45:39 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEEAGTBekpFxL8W/2dsb2JhbACBUM9RhBgFhzQ X-IronPort-AV: E=Sophos;i="4.43,335,1246852800"; d="scan'208";a="43113228" Received: from 69-196-191-22.dsl.teksavvy.com (HELO ceviche.home) ([69.196.191.22]) by ironport2-out.teksavvy.com with ESMTP; 06 Aug 2009 14:45:33 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 12612B40CD; Thu, 6 Aug 2009 14:45:32 -0400 (EDT) From: Stefan Monnier To: Yee Keat Phuah Subject: Re: bug#4027: 23.1; accept-process-output doesn't accept floating point for the seconds argument Message-ID: References: <9caafe030908031836h33c110e0q7b3bbf9c234a3c6a@mail.gmail.com> Date: Thu, 06 Aug 2009 14:45:32 -0400 In-Reply-To: <9caafe030908031836h33c110e0q7b3bbf9c234a3c6a@mail.gmail.com> (Yee Keat Phuah's message of "Tue, 4 Aug 2009 09:36:04 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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 ------------=_1249584905-17652-0--