From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: RE: sea-level rise of byte-compilation warnings [was: Fixing...byte-compilation warnings...] Date: Tue, 17 Nov 2015 00:09:09 +0000 Message-ID: References: <5645F670.9040601@online.de> <56460E2B.10603@cs.ucla.edu> <87io54c0es.fsf@web.de> <87y4dxy096.fsf@gmail.com> <2f908b2b-7e0c-462e-bfe8-75dff515b3b7@default> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c36b88b2cbf20524b155dc X-Trace: ger.gmane.org 1447722591 5162 80.91.229.3 (17 Nov 2015 01:09:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 01:09:51 +0000 (UTC) Cc: emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 02:09:51 2015 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 1ZyUmL-0006QP-2M for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 02:09:49 +0100 Original-Received: from localhost ([::1]:54206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyUmK-0002EH-K0 for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2015 20:09:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyTpf-0005ep-5E for emacs-devel@gnu.org; Mon, 16 Nov 2015 19:09:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyTpe-0001bh-9O for emacs-devel@gnu.org; Mon, 16 Nov 2015 19:09:11 -0500 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:36301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyTpe-0001bd-2H for emacs-devel@gnu.org; Mon, 16 Nov 2015 19:09:10 -0500 Original-Received: by lbblt2 with SMTP id lt2so98917411lbb.3 for ; Mon, 16 Nov 2015 16:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=LU2LxkDccQZeNvOIk7zZsw63UCQYf//zAGV+JdYWXXQ=; b=nNhLEhGFrWZ0VxGK1vdVdKpPJ+fzDOCEyzO/kyAZmviRr4fb2MZ7IvhqsvUCAd/6nt 0ALYROJ39m1jiTvjGfB204AwMPWzYu1BGjp5Tr8UMQMjrm7+ArSXyJCi/90Xu/YquQmQ n74V3+u200qIWuYP/WoXqosiHh/bYReB79OBGCyJLCbACi5Gq7AtZG9Ka/PoRDwunYIr mhUIH+FUM0yQpIg3zhqq1pZwDH7qzrlHyvwdq6fcahj1cshifrZxkj2vWTzd4uirj/yj OHvv1CN6po4uXQi2VV9cGFZGjJdtpQ4si2GB27HKxO9VNCvPO5imNCWATdo2PH2yDbZq 9A9g== X-Received: by 10.112.35.196 with SMTP id k4mr18527243lbj.3.1447718949143; Mon, 16 Nov 2015 16:09:09 -0800 (PST) Original-Received: by 10.112.63.70 with HTTP; Mon, 16 Nov 2015 16:09:09 -0800 (PST) Original-Received: by 10.112.63.70 with HTTP; Mon, 16 Nov 2015 16:09:09 -0800 (PST) In-Reply-To: <2f908b2b-7e0c-462e-bfe8-75dff515b3b7@default> X-Google-Sender-Auth: lP-iSgKEeGMqvizqx7YmSGv0kAM X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::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:194614 Archived-At: --001a11c36b88b2cbf20524b155dc Content-Type: text/plain; charset=UTF-8 I was going to suggest something in my previous message but apparently I forgot. > > > * be able to have the code itself easily (and > > > conditionally) inhibit them - as a whole or by type > > > > Like I said, with-no-warnings inhibits them locally, but I perfectly > > agree there should be a way to suppress warnings on a file-local (and > > maybe dir-local) basis. Have you tried setting byte-compile-warnings as a file-local-variable? --001a11c36b88b2cbf20524b155dc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I was going to suggest something in my previous message but = apparently I forgot.

> > > * be able to have the code itself easily (and=
> > >=C2=A0 =C2=A0conditionally) inhibit them - as a whole or by t= ype
> >
> > Like I said, with-no-warnings inhibits them locally, but I perfec= tly
> > agree there should be a way to suppress warnings on a file-local = (and
> > maybe dir-local) basis.

Have you tried setting byte-compile-warnings as a file-local= -variable?

--001a11c36b88b2cbf20524b155dc--