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: Thu, 24 Nov 2016 21:51:14 +0100 Message-ID: <87fumgvby5.fsf@debian.uxu> References: <3461044f-783e-cdc6-6d82-294b534e53ed@easy-emacs.de> <878ts957gj.fsf@web.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 1480026562 19669 195.159.176.226 (24 Nov 2016 22:29:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2016 22:29:22 +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 Thu Nov 24 23:29:17 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 1cA2W3-0004KT-Hi for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 23:29:15 +0100 Original-Received: from localhost ([::1]:42485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cA2W7-0000R9-4E for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 17:29:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cA0zU-0004Ei-Io for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 15:51:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cA0zQ-0000mg-7t for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 15:51:32 -0500 Original-Received: from [195.159.176.226] (port=42106 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cA0zQ-0000ks-0x for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 15:51:28 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cA0zG-0002WD-L7 for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 21:51:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:N4fbIQ1ICdoZGlvx6YK72MXcBdo= 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: Thu, 24 Nov 2016 17:28:29 -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:111789 Archived-At: Michael Heerdegen writes: > 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. 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 -