unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: suppressable byte compilation warnings and cconv.el
Date: Wed, 13 Apr 2016 21:35:14 -0400	[thread overview]
Message-ID: <jwvzisxf02z.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: CAG7Bpap7ZBpP0S=5ktfZmZNErk+FQpdTRsAqEoZRk08wUqAYtQ@mail.gmail.com

> 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




  reply	other threads:[~2016-04-14  1:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 20:17 suppressable byte compilation warnings and cconv.el Paul Pogonyshev
2016-04-14  1:35 ` Stefan Monnier [this message]
2016-04-14  7:49   ` Paul Pogonyshev
2016-04-14  8:44     ` Paul Pogonyshev
2016-04-14 12:04       ` Stefan Monnier
2016-04-14 15:44         ` Paul Pogonyshev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzisxf02z.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).