From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: sit-for arg old-nodisp not documented Date: Sun, 31 Jul 2005 17:37:25 +0200 Message-ID: <42ECF035.2000008@student.lu.se> References: <42EC8331.3050702@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122824366 2423 80.91.229.2 (31 Jul 2005 15:39:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2005 15:39:26 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 31 17:39:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DzFuC-0004el-Hp for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2005 17:39:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzFwn-0004RG-RF for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2005 11:41:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzFwc-0004QT-7d for emacs-devel@gnu.org; Sun, 31 Jul 2005 11:41:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzFwX-0004OX-71 for emacs-devel@gnu.org; Sun, 31 Jul 2005 11:41:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzFwW-0004ON-NQ for emacs-devel@gnu.org; Sun, 31 Jul 2005 11:41:36 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzG4S-0003UM-Eb for emacs-devel@gnu.org; Sun, 31 Jul 2005 11:49:48 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E290060C5A6; Sun, 31 Jul 2005 17:37:29 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Juanma Barranquero In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41374 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41374 Juanma Barranquero wrote: >>`sit-for' has an argument old-nodisp that is not described in the doc >>string. >> >> > >Not exactly. If you read it again carefully, you'll notice `sit-for' >has two modes of invocation: > > - (modern): (sit-for SECONDS &optional NODISP) > - (old): (sit-for SECONDS &optional MILLISECONDS NODISP) > >So the function is really defined as > > (sit-for SECONDS &optional NODISP OLD-NODISP) > > Thanks, I did see that (though I am a lousy reader) but OLD-NODISP is still not mentioned. An easy way to fix this particular problem would perhaps be to just change the description of the old format (since that is just a part of the doc string I assume): - (old): (sit-for SECONDS &optional MILLISECONDS OLD-NODISP)