all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
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:44:46 +0100	[thread overview]
Message-ID: <87h8tgqw2p.fsf@web.de> (raw)
In-Reply-To: <86shd0h5xq.fsf@zoho.com> (Emanuel Berg's message of "Mon, 27 Nov 2017 02:21:53 +0100")

Emanuel Berg <moasen@zoho.com> writes:

> 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, and calling it is
very often something needed, not only something one "can" do.


Michael.





  reply	other threads:[~2017-11-27  2:44 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 [this message]
2017-11-27  2:49   ` Emanuel Berg
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

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

  git send-email \
    --in-reply-to=87h8tgqw2p.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.