bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#980: marked as done (Bug? sit-for and obsolete syntax)


From: Emacs bug Tracking System
Subject: bug#980: marked as done (Bug? sit-for and obsolete syntax)
Date: Sun, 14 Sep 2008 12:15:04 -0700

Your message dated Sun, 14 Sep 2008 15:08:26 -0400
with message-id <hkljxuczpx.fsf@fencepost.gnu.org>
and subject line Re: bug#980: Bug? sit-for and obsolete syntax
has caused the Emacs bug report #980,
regarding Bug? sit-for and obsolete syntax
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 don@donarmstrong.com
immediately.)


-- 
980: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=980
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: Bug? sit-for and obsolete syntax Date: Sun, 14 Sep 2008 13:03:09 +0200
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.




--- End Message ---
--- Begin Message --- Subject: Re: bug#980: Bug? sit-for and obsolete syntax Date: Sun, 14 Sep 2008 15:08:26 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Christoph Conrad wrote:

> I checked the current CVS version by looking at the source of sit-for.
> The obsolete handling looks correct now.

Yes, this is fixed in Emacs 22.2 and up.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]