unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Christoph Conrad <christoph.conrad@gmx.de>,
	980@emacsbugs.donarmstrong.com
Subject: bug#980: Bug? sit-for and obsolete syntax
Date: Sun, 14 Sep 2008 20:01:18 +0200	[thread overview]
Message-ID: <48CD516E.4070303@gmx.at> (raw)
In-Reply-To: <87fxo32df6.fsf@ID-24456.user.uni-berlin.de>

 > 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.







  reply	other threads:[~2008-09-14 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <hkljxuczpx.fsf@fencepost.gnu.org>
2008-09-14 11:03 ` bug#980: Bug? sit-for and obsolete syntax Christoph Conrad
2008-09-14 18:01   ` martin rudalics [this message]
2008-09-14 18:23     ` Christoph Conrad
2008-09-14 19:15   ` bug#980: marked as done (Bug? sit-for and obsolete syntax) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48CD516E.4070303@gmx.at \
    --to=rudalics@gmx.at \
    --cc=980@emacsbugs.donarmstrong.com \
    --cc=christoph.conrad@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).