From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59171 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.gnus.general Subject: Re: Change in bytecomp.el breaks Gnus Date: Mon, 15 Nov 2004 18:22:48 -0500 Message-ID: <20041115232248.GA16890@fencepost> References: <871xezbtyh.fsf-monnier+emacs@gnu.org> <200411141729.iAEHTSQ24178@raven.dms.auburn.edu> <877joo45bz.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100561049 6618 80.91.229.6 (15 Nov 2004 23:24:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 23:24:09 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, yamaoka@jpl.org, teirllm@dms.auburn.edu, ding@gnus.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Nov 16 00:24:03 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTqCZ-0002Z9-00 for ; Tue, 16 Nov 2004 00:24:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTqLI-0001Hw-6a for gebp-emacs-pretest-bug@gmane.org; Mon, 15 Nov 2004 18:33:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTqLG-0001HG-9c for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:33:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTqLF-0001GQ-DB for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:33:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTqLF-0001GJ-A9 for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:33:01 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTqCS-0003Ij-TH for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:23:56 -0500 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1CTqBM-0004ZQ-OP; Mon, 15 Nov 2004 18:22:48 -0500 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: emacs-pretest-bug.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.pretest.bugs:4687 gmane.emacs.gnus.general:59171 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59171 On Mon, Nov 15, 2004 at 10:36:52AM -0500, Stefan Monnier wrote: > > One of the most common case of "bogus" is when a CL function is used > > in a macro and this macro is only used inside the file, so it's only > > used during byte-compilation and never at runtime. > > > I think the right fix for that is with-no-warnings. However, it could be > > that the code that generates this warning can be improved. > > Yes, I have no good idea how to improve it, but hopefully an idea will show > up at some point. In the mean time with-no-warning is the best we have. Couldn't such macros be wrapped in `eval-when-compile' (I forgot the exact name, but ...)? -Miles -- Love is a snowmobile racing across the tundra. Suddenly it flips over, pinning you underneath. At night the ice weasels come. --Nietzsche