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: suppressable byte compilation warnings and cconv.el Date: Wed, 13 Apr 2016 21:35:14 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460597749 8306 80.91.229.3 (14 Apr 2016 01:35:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2016 01:35:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 14 03:35:36 2016 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 1aqWBz-00048H-9h for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2016 03:35:35 +0200 Original-Received: from localhost ([::1]:56091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqWBy-0006jT-G4 for ged-emacs-devel@m.gmane.org; Wed, 13 Apr 2016 21:35:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqWBr-0006gR-FG for emacs-devel@gnu.org; Wed, 13 Apr 2016 21:35:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqWBn-0008Qr-EQ for emacs-devel@gnu.org; Wed, 13 Apr 2016 21:35:27 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqWBn-0008Qg-7s for emacs-devel@gnu.org; Wed, 13 Apr 2016 21:35:23 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aqWBl-0003ys-4i for emacs-devel@gnu.org; Thu, 14 Apr 2016 03:35:21 +0200 Original-Received: from 45.72.141.36 ([45.72.141.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Apr 2016 03:35:21 +0200 Original-Received: from monnier by 45.72.141.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Apr 2016 03:35:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 45.72.141.36 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:6Em8QaVMSW9/KMCvhUs6l/ecvNk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:202893 Archived-At: > In file `bytecomp.el' there is a customizable variable > `byte-compile-warnings' that allows one to selectively silence certain > warnings. I wouldn't use the word "selectively" to describe it. It's extremely coarse only allowing you to control broad categories of errors file-wide. > In particular, I'm annoyed by warnings like this: > Warning: Unused lexical argument ‘size’ You can silence those (and yes, selectively this time) by prefixing the variable name with an underscore, which makes it explicit that you know the variable is not used. Stefan