From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.devel Subject: Re: Lexical byte-compilation warnings cleanup Date: Wed, 21 Aug 2013 19:12:52 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01494640165fb104e47d5005 X-Trace: ger.gmane.org 1377126775 25422 80.91.229.3 (21 Aug 2013 23:12:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2013 23:12:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 22 01:12:58 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 1VCHaE-0007hc-GZ for ged-emacs-devel@m.gmane.org; Thu, 22 Aug 2013 01:12:58 +0200 Original-Received: from localhost ([::1]:57050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCHaD-00053C-P4 for ged-emacs-devel@m.gmane.org; Wed, 21 Aug 2013 19:12:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCHaA-00050g-6Q for emacs-devel@gnu.org; Wed, 21 Aug 2013 19:12:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCHa9-0002Gm-5T for emacs-devel@gnu.org; Wed, 21 Aug 2013 19:12:54 -0400 Original-Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:33430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCHa9-0002Gg-0S for emacs-devel@gnu.org; Wed, 21 Aug 2013 19:12:53 -0400 Original-Received: by mail-ob0-f177.google.com with SMTP id f8so2130902obp.22 for ; Wed, 21 Aug 2013 16:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UUJdecepqBSsAtMMmlPrRh1o5f+jhIgv+YQIIHi2D18=; b=Q/l4VoinLzt79NylZznxnTHgOcMlWassatibgtU1whFZWgE9wlDgfrIDCpPT5QZTQo dEZ+ZCKWkeUV2bkvT3FjUlREPyvpIhm/YAvkaITfVsqwqpWWMDA8gAdjFnlB35I+dAhE HILOtYE2E3A8WSiIPdPVVhIkjvMAKXFOK5+vyhoYpMSAJTtIx0GaUPQ3cUS0FWMyS7l0 X/lAr5nX99g4XyGlwXHzK0WVw1V0hAg9zKdHFAOIefw+ye4dRbD7Y8ZmH/HwhVIeyWja Ss7c1NaoXJyyDmlwYx5twvf6QemWJZblSX1+08hWJq6g4V74o3lozrpoufItLgtN1ekk qRuw== X-Received: by 10.60.16.104 with SMTP id f8mr10841128oed.71.1377126772529; Wed, 21 Aug 2013 16:12:52 -0700 (PDT) Original-Received: by 10.76.89.194 with HTTP; Wed, 21 Aug 2013 16:12:52 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::231 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:162961 Archived-At: --089e01494640165fb104e47d5005 Content-Type: text/plain; charset=ISO-8859-1 >> The warning seems to say opposite: > Yup. The way I thought about it when I wrote it is that `load-path' > is a dynamically-scoped var, not a lexical var. But indeed, here it > will (locally) be a lexical var, so the wording is rather poor. > > Suggestions for better wording? How about: Warning: Lexically bound argument %s is already defined as dynamically bound --089e01494640165fb104e47d5005 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
>> The warning seems to say opposite:

> Yu= p. The way I thought about it when I wrote it is that `load-path'
&g= t; is a dynamically-scoped var, not a lexical var. But indeed, here it
> will (locally) be a lexical var, so the wording is rather poor.
>= ;
> Suggestions for better wording?

How about:

=A0 War= ning: Lexically bound argument %s is already defined as dynamically bound
--089e01494640165fb104e47d5005--