From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: false warnings when compiling with lexical-binding and cl-lib. Date: Sat, 23 Nov 2013 08:51:45 -0500 Message-ID: References: <8761rl6ael.fsf@gmail.com> <87ob5bzlvr.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385214724 16075 80.91.229.3 (23 Nov 2013 13:52:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Nov 2013 13:52:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 23 14:52:09 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VkDd1-0004jo-MP for ged-emacs-devel@m.gmane.org; Sat, 23 Nov 2013 14:52:07 +0100 Original-Received: from localhost ([::1]:43748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkDd1-0000Rb-CF for ged-emacs-devel@m.gmane.org; Sat, 23 Nov 2013 08:52:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkDcr-0000Q3-TS for emacs-devel@gnu.org; Sat, 23 Nov 2013 08:52:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkDck-0001KF-Jh for emacs-devel@gnu.org; Sat, 23 Nov 2013 08:51:57 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:53203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkDck-0001KB-Ft for emacs-devel@gnu.org; Sat, 23 Nov 2013 08:51:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+K4R/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFHO+K4R/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="40223262" Original-Received: from 206-248-174-17.dsl.teksavvy.com (HELO pastel.home) ([206.248.174.17]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Nov 2013 08:51:48 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D798560C4A; Sat, 23 Nov 2013 08:51:45 -0500 (EST) In-Reply-To: <87ob5bzlvr.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 23 Nov 2013 07:13:12 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165617 Archived-At: > This patch avoid adding a new binding by the 'into' clause when the > binding have been already added by a 'with' clause. > I wonder if this is correct, real common-lisp return an error in such > case, WDYT? Oh, wait, then the warning is OK. It indicates that the `with lst' is extraneous and unused. IOW, there's no bug to fix. We could change cl-loop to signal an error, but it doesn't seem to be worth the trouble. Stefan