From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: dotimes var comiler warning Date: Fri, 02 Dec 2016 00:08:47 +0100 Message-ID: <87vav3tfgg.fsf@debian.uxu> References: <3461044f-783e-cdc6-6d82-294b534e53ed@easy-emacs.de> <878ts957gj.fsf@web.de> <299e3f86-c441-8cd3-1717-52666e845abe@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1480688880 8484 195.159.176.226 (2 Dec 2016 14:28:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2016 14:28:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 15:27:56 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCood-0001Lb-Py for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Dec 2016 15:27:55 +0100 Original-Received: from localhost ([::1]:34802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCooh-0000ZU-Ih for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Dec 2016 09:27:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCaTP-0002cI-LG for help-gnu-emacs@gnu.org; Thu, 01 Dec 2016 18:09:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCaTL-0003yN-L3 for help-gnu-emacs@gnu.org; Thu, 01 Dec 2016 18:09:03 -0500 Original-Received: from [195.159.176.226] (port=51791 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCaTL-0003xi-Do for help-gnu-emacs@gnu.org; Thu, 01 Dec 2016 18:08:59 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cCaTC-0007Co-FQ for help-gnu-emacs@gnu.org; Fri, 02 Dec 2016 00:08:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:BIbZQD2nv446eKaXVrMjziMyQOM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Fri, 02 Dec 2016 09:25:58 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111854 Archived-At: Andreas Röhler writes: >>> when employing a form >>> >>> (dotimes (i erg) >>> >>> ...do-something >>> >>> >>> Compiler sends a warning "Unused lexical variable >>> ‘i’ - whilst seems no way to leave out such a var. >>> >>> Worth a bug-report? If none exists yet, I'm for >>> it. FWIW, there is a FIXME comment in the source >>> code already. >> >> Yes, you can probably use `_' to suppress the >> warning, but I always wondered why something called >> like this requires a variable to be specified >> (mandatorily) at all. >> >> Michael. > > Done, thanks. It's #25017 What about: (cl-loop do (message "High Five") repeat 4) ? -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 26 Blogomatic articles -