From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45715: 27.1; Doc string of `dotimes' Date: Sun, 10 Jan 2021 15:13:29 +0100 Message-ID: <87zh1gswvq.fsf@gnus.org> References: <57f0a805-bef8-477e-b5f2-2e0bf787d556@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12455"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45715@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 10 15:14:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kybTz-000383-1Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 15:14:15 +0100 Original-Received: from localhost ([::1]:37446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kybTx-0008Q9-Nq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 09:14:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kybTm-0008Pu-46 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 09:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kybTl-0004Ml-TX for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 09:14:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kybTl-0006kK-N0 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 09:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jan 2021 14:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45715 X-GNU-PR-Package: emacs Original-Received: via spool by 45715-submit@debbugs.gnu.org id=B45715.161028802025868 (code B ref 45715); Sun, 10 Jan 2021 14:14:01 +0000 Original-Received: (at 45715) by debbugs.gnu.org; 10 Jan 2021 14:13:40 +0000 Original-Received: from localhost ([127.0.0.1]:53511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kybTQ-0006j8-Fz for submit@debbugs.gnu.org; Sun, 10 Jan 2021 09:13:40 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:41456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kybTP-0006in-4w for 45715@debbugs.gnu.org; Sun, 10 Jan 2021 09:13:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=t4/0y53NBCIFvqNJm76ctlk476zk0XNI9ce47mdlqgk=; b=dN56kq8uI2m7bVy5XXpiHHU0PT N/d1ireFVs3HFsqnz3gkBhRRhtjMrxW8BD1nTouaRN/af9XD4HgY8ALvtE9S72txpgP8vpqhfCh1g HvLGM0Kn7mcLXKtKzXQMhr2QJpmDDWKjb8C0IDj9fBCYh+se1Tqm4hz9Dd0Q3PWkHrYw=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kybTG-0007cu-FN; Sun, 10 Jan 2021 15:13:32 +0100 X-Now-Playing: Joy Division's _Substance_: "Incubation" In-Reply-To: <57f0a805-bef8-477e-b5f2-2e0bf787d556@default> (Drew Adams's message of "Thu, 7 Jan 2021 15:08:17 +0000 (UTC)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197611 Archived-At: Drew Adams writes: > Loop a certain number of times. > Evaluate BODY with VAR bound to successive integers running from 0, > inclusive, to COUNT, exclusive. Then evaluate RESULT to get the > return value (nil if RESULT is omitted). Its use is deprecated. > ^^^ > > In the last sentence, "its" is unclear. Indeed, which is why it's --- Finally RESULT is evaluated to get the return value (nil if RESULT is omitted). Using RESULT is deprecated, and may result in compilation warnings about unused variables. --- in Emacs 28. > Also, that sentence is missing from the doc string of `cl-dotimes', > even though it is present in the CL Info manual. And for `cl-dotimes' > it should be made clear that this "deprecation" is only about the > Emacs Lisp emulation; the RETURN arg for Common Lisp `dotimes' has not > been deprecated. The two are different functions, so I don't see why. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no