From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: dotimes var comiler warning Date: Thu, 24 Nov 2016 13:53:29 +0100 Message-ID: <87h96xrqd2.fsf@fastmail.fm> References: <3461044f-783e-cdc6-6d82-294b534e53ed@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1479992059 15753 195.159.176.226 (24 Nov 2016 12:54:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2016 12:54:19 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.50.3 Cc: Help Gnu Emacs mailing list To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 24 13:54:14 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 1c9tXa-0003PB-4M for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 13:54:14 +0100 Original-Received: from localhost ([::1]:39553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9tXd-0001pd-Q0 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 07:54:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9tX1-0001oX-Ij for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 07:53:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9tWw-0004nL-Fv for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 07:53:39 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:54019) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9tWw-0004mO-55 for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 07:53:34 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DDD69207AE; Thu, 24 Nov 2016 07:53:31 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 24 Nov 2016 07:53:31 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=zmybXNJ+FVCJZ35 Bsozr10BFpWs=; b=o9cSbxmQTpWgQJK5Lgw/B9nuDXNZ9bgZ6YwyH9eNmScdmDP YTDAkXSs1JoUy4box+l5iHhZc5RRiVBMWBW51WyG2pTONsLmvrFWfTrCJz6tInow VdTc2bHZ9OTQa+WHnSrK3meKcQF8oQCBz26Of3FfNqnC3n46QJRh9Ozpx6tg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=zmybXNJ+FVCJZ35Bsozr10BFpWs=; b=ZwiB9pAMZDx397BoVJDR e3Z9lmI9RUtShvBFcT59oOU2xd115Y30Z4r3jW102+c+P6LYEtl0yb9sRcQZ2V98 03ybTKqbvklzH8MfoVBXWsaEDQVihwBwHfj3vUy7P7d8E7Pktr21ycGat5t5Yv6h hwPTFca6+UwbnyOi6FSIgvI= X-ME-Sender: X-Sasl-enc: F0kJjxs6bA8k/cGLW4TCGFJjkf8nIEepJ8rKJ/JCUAmx 1479992011 Original-Received: from IdeaPad.messagingengine.com (x4d0aca9b.dyn.telefonica.de [77.10.202.155]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A185248EC; Thu, 24 Nov 2016 07:53:31 -0500 (EST) In-reply-to: <3461044f-783e-cdc6-6d82-294b534e53ed@easy-emacs.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.29 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:111782 Archived-At: On Thu, Nov 24 2016, Andreas Röhler wrote: > 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. This seems to work: (dotimes (_ erg) ...) (info "(elisp) Using Lexical Binding") says: ,---- | (To silence byte-compiler warnings about unused variables, just use a | variable name that start with an underscore. The byte-compiler | interprets this as an indication that this is a variable known not to be | used.) `---- (Very bottom of the page) HTH -- Joost Kremers Life has its moments