From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#980: Bug? sit-for and obsolete syntax Date: Sun, 14 Sep 2008 20:01:18 +0200 Message-ID: <48CD516E.4070303@gmx.at> References: <87fxo32df6.fsf@ID-24456.user.uni-berlin.de> Reply-To: martin rudalics , 980@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221416884 21311 80.91.229.12 (14 Sep 2008 18:28:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 18:28:04 +0000 (UTC) To: Christoph Conrad , 980@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 20:29:00 2008 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 1KewL1-0001dH-Av for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 20:28:47 +0200 Original-Received: from localhost ([127.0.0.1]:55574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KewK0-0006AZ-Jf for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 14:27:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KewJw-0006AR-Ox for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 14:27:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KewJu-00068F-5H for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 14:27:39 -0400 Original-Received: from [199.232.76.173] (port=40258 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KewJu-00068C-0G for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 14:27:38 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46935) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KewJt-0006Wj-Go for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 14:27:37 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8EIRYEk013607; Sun, 14 Sep 2008 11:27:34 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8EIA5lD007212; Sun, 14 Sep 2008 11:10:05 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 14 Sep 2008 18:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 980 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 980-submit@emacsbugs.donarmstrong.com id=B980.12214154414470 (code B ref 980); Sun, 14 Sep 2008 18:10:04 +0000 Original-Received: (at 980) by emacsbugs.donarmstrong.com; 14 Sep 2008 18:04:01 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8EI3vde004464 for <980@emacsbugs.donarmstrong.com>; Sun, 14 Sep 2008 11:03:58 -0700 Original-Received: (qmail invoked by alias); 14 Sep 2008 18:03:51 -0000 Original-Received: from 62-47-44-91.adsl.highway.telekom.at (EHLO [62.47.44.91]) [62.47.44.91] by mail.gmx.net (mp037) with SMTP; 14 Sep 2008 20:03:51 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/XYUdt0krXde1jqaliYB2Q6O//WHpWvAUgFw7duO GFZixO1sWaGDwx User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87fxo32df6.fsf@ID-24456.user.uni-berlin.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5600000000000001 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 14 Sep 2008 14:27:39 -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:20537 Archived-At: > GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of > 2008-05-03 on terranova, modified by Ubuntu > > sit-for supports an obsolete call syntax with > > (sit-for SECONDS &optional MILLISECONDS NODISP) > > according to the doc string. > > It checks: > > (when (or obsolete (numberp nodisp)) > (setq seconds (+ seconds (* 1e-3 nodisp))) > (setq nodisp obsolete)) > > the first logical 'or' should be imho 'and'. Else obsolete could be > non-nil, but nodisp could be no number (e.g. nil), and that results in > an error when multiplying. The definition of `sit-for' has been changed by Glenn as * subr.el (sit-for): Fix obsolete form for nil second argument. on 2008-02-21. I'm not sure whether that has fixed the problem you see, so could you please verify by having a look at the current CVS version? Thank you very much, martin.