From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs 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 Message-ID: <87h8tgqw2p.fsf@web.de> References: <86shd0h5xq.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1511750714 26895 195.159.176.226 (27 Nov 2017 02:45:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 02:45:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 29462@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 27 03:45:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ9Pu-0006Su-Qd for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 03:45:06 +0100 Original-Received: from localhost ([::1]:58884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ9Q2-0001UV-1K for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Nov 2017 21:45:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJ9Ps-0001TA-UG for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 21:45:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJ9Pp-0004J7-TS for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 21:45:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJ9Pp-0004Iz-QT for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 21:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJ9Pp-0007TN-JG for bug-gnu-emacs@gnu.org; Sun, 26 Nov 2017 21:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2017 02:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29462-submit@debbugs.gnu.org id=B29462.151175069728703 (code B ref 29462); Mon, 27 Nov 2017 02:45:01 +0000 Original-Received: (at 29462) by debbugs.gnu.org; 27 Nov 2017 02:44:57 +0000 Original-Received: from localhost ([127.0.0.1]:59851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ9Pk-0007St-Q5 for submit@debbugs.gnu.org; Sun, 26 Nov 2017 21:44:56 -0500 Original-Received: from mout.web.de ([212.227.15.3]:50844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ9Pi-0007Se-WD for 29462@debbugs.gnu.org; Sun, 26 Nov 2017 21:44:55 -0500 Original-Received: from drachen.dragon ([88.66.201.17]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MT8x4-1ejzhZ33Ys-00SAyb; Mon, 27 Nov 2017 03:44:47 +0100 In-Reply-To: <86shd0h5xq.fsf@zoho.com> (Emanuel Berg's message of "Mon, 27 Nov 2017 02:21:53 +0100") X-Provags-ID: V03:K0:563xajsZUKq9vMqAZemk24bCytsI0//Y46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.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140436 Archived-At: Emanuel Berg writes: > In (info "(elisp) Warning Tips"), it says > > * If you use many functions and variables > from a certain file, you can add > a =E2=80=98require=E2=80=99 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.