From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#45715: 27.1; Doc string of `dotimes' Date: Mon, 11 Jan 2021 08:16:45 -0500 Message-ID: <86turnd35u.fsf@gmail.com> References: <57f0a805-bef8-477e-b5f2-2e0bf787d556@default> <87zh1gswvq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13582"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: 45715@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 11 14:17:16 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 1kyx4O-0003Fk-0c for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 14:17:16 +0100 Original-Received: from localhost ([::1]:47482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyx4M-0005Fe-UW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 08:17:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyx4A-0005DM-WF for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 08:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyx4A-0004aW-8N for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 08:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyx4A-0005W1-3a for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 08:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jan 2021 13:17:02 +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.161037101621182 (code B ref 45715); Mon, 11 Jan 2021 13:17:02 +0000 Original-Received: (at 45715) by debbugs.gnu.org; 11 Jan 2021 13:16:56 +0000 Original-Received: from localhost ([127.0.0.1]:56070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyx43-0005VZ-Ut for submit@debbugs.gnu.org; Mon, 11 Jan 2021 08:16:56 -0500 Original-Received: from mail-il1-f172.google.com ([209.85.166.172]:37346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyx41-0005VH-9V for 45715@debbugs.gnu.org; Mon, 11 Jan 2021 08:16:54 -0500 Original-Received: by mail-il1-f172.google.com with SMTP id h3so10570848ils.4 for <45715@debbugs.gnu.org>; Mon, 11 Jan 2021 05:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=K1bIMgeDqfTGkKBEZfeA8aEJt3dvC6T3Ok8d/UhuJn4=; b=KzQul1rHYh3rjK57LHpWXQUAkcMZJkJtvK6L216/gTTIJloyOXzpXHs5sdLsUjVra+ rEw+CDwONWeyi/NEm93Izpiel+A7NgWGXuGg2AvT0udGCGhpBkHuKyLg/AUYIjIPsmn6 9bbICe2zYuiViT3r9WAlr4raOF/D7QN5jAAWpvOrheX6+pdncV3/wVaRHqrLxpregy3I AAERj4EaL7Pkg416WWwvZT/97sEld8P6ppjaQZVemHXHhoUDP/V4q5dBokki+Kgjb7Rv P7/Pma7FciY8YE2LhkELUlIe69Udgx254XS0dzTpsfNem8fZIYtBdsM4cXgVh5YCWQqZ N9wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=K1bIMgeDqfTGkKBEZfeA8aEJt3dvC6T3Ok8d/UhuJn4=; b=paoaw3SzpJbDikseB0iUrKMh5nDKXHTkhRLjn563Tu0+PpmDjr6efQHrhtihTTuyYn zWBPfRoXcUtVCxlm0Q4TL4Nl2m23w8rJym/1dyDquQjGHFY2ZuWIlRuhjHjbeBS4RNfh PPTax9n71pFxnsaes2xpBf6Sd/K0cAo8/Iubnn/0G8CvcFtL0dtNJma0TAdDon6vPfh8 3+uav/wkUgdENgRlNO+8k28TmPgfc3a1yMFjTEo3ZWkjO4F3m4WwuIW4iJ8cjqfcL4KJ MRc0Wb9Bq64pzgFvt50WI7nBSJiXNIloPT6eLPtlHCscU4B86W8yYlbwJw5D0S39zs4g 1QHQ== X-Gm-Message-State: AOAM532FPMmRJqXny4kXdVrcpU63Xw0yBudInenop2smrKFEXN5dj85o voU3P2wIN8kLJ2tPRiO1LjiUaDCT3YWmxw== X-Google-Smtp-Source: ABdhPJyLjA+6i5QkGHybyDVXAH935EWKAFTxzFsh8/PsmFEltIOTOZqvYp5e2CQe40JdLBRKu+zNCA== X-Received: by 2002:a92:da82:: with SMTP id u2mr15054484iln.137.1610371007517; Mon, 11 Jan 2021 05:16:47 -0800 (PST) Original-Received: from LAPTOP-5NDQIUP9 (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id b5sm8470237ill.16.2021.01.11.05.16.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jan 2021 05:16:46 -0800 (PST) In-Reply-To: <87zh1gswvq.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 10 Jan 2021 15:13:29 +0100") 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:197693 Archived-At: Lars Ingebrigtsen writes: > 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, I've backported that change to emacs-27, so it will show up in 27.2. [1: 9d02e6c5ff]: 2020-11-18 15:45:48 -0500 Further doc fixes for dotimes about RESULT https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9d02e6c5ff2a8af78ca8a2c934970f8a46dcef55