From: Emanuel Berg <moasen@zoho.com>
To: 29462@debbugs.gnu.org
Subject: bug#29462: 24.4; eval-when-compile won't mute warning as says in info doc
Date: Mon, 27 Nov 2017 03:49:42 +0100 [thread overview]
Message-ID: <86o9noh1vd.fsf@zoho.com> (raw)
In-Reply-To: <86shd0h5xq.fsf@zoho.com>
Michael Heerdegen wrote:
>> In (info "(elisp) Warning Tips"), it says *
>> If you use many functions and variables from
>> a certain file, you can add a ‘require’ for
>> that package to avoid compilation warnings
>> for them. For instance, (eval-when-compile
>> (require 'foo))
>
> Thanks for the report.
>
> I find this whole sentence confusing and
> misleading in general. The main purpose of
> `require' is not to silence warnings
It sure send mixed signals and as it stands one
gets the impression what you should do is find
ways of silencing warnings, instead of
improving the code so there is nothing to warn
about to begin with.
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2017-11-27 2:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 1:21 bug#29462: 24.4; eval-when-compile won't mute warning as says in info doc Emanuel Berg
2017-11-27 2:44 ` Michael Heerdegen
2017-11-27 2:49 ` Emanuel Berg [this message]
2017-11-27 16:31 ` Eli Zaretskii
2017-11-27 16:29 ` Eli Zaretskii
2017-11-27 16:26 ` Eli Zaretskii
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=86o9noh1vd.fsf@zoho.com \
--to=moasen@zoho.com \
--cc=29462@debbugs.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).