From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59178 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.gnus.general Subject: Re: Change in bytecomp.el breaks Gnus Date: Tue, 16 Nov 2004 14:29:31 +1300 Message-ID: <16793.22523.422716.335788@farnswood.snap.net.nz> References: <877jouepy8.fsf@telia.com> <200411111745.iABHji207636@raven.dms.auburn.edu> <871xezbtyh.fsf-monnier+emacs@gnu.org> <200411141729.iAEHTSQ24178@raven.dms.auburn.edu> <877joo45bz.fsf-monnier+emacs@gnu.org> <200411152357.iAFNvqY06183@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100569035 31910 80.91.229.6 (16 Nov 2004 01:37:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 01:37:15 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, yamaoka@jpl.org, ding@gnus.org, monnier@iro.umontreal.ca Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Nov 16 02:37:06 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 1CTsHK-0001ib-00 for ; Tue, 16 Nov 2004 02:37:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTsQ2-0000rf-WA for gebp-emacs-pretest-bug@gmane.org; Mon, 15 Nov 2004 20:46:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTsP0-0000Ed-PN for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 20:45:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTsP0-0000Dn-2l for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 20:45:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTsOz-0000De-Uy for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 20:45:02 -0500 Original-Received: from [202.124.108.154] (helo=farnswood.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTsG5-0006Zc-MI; Mon, 15 Nov 2004 20:35:50 -0500 Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 16BA1627EE; Tue, 16 Nov 2004 01:29:31 +0000 (GMT) Original-To: Luc Teirlinck In-Reply-To: <200411152357.iAFNvqY06183@raven.dms.auburn.edu> X-Mailer: VM 6.97 under Emacs 21.2.1 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:4696 gmane.emacs.gnus.general:59178 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59178 > Here is the compiler warning: > > Compiling file /home/teirllm/emacscvsdir/emacs/lisp/winner.el at Mon > Nov 15 17:27:42 2004 > Entering directory `/home/teirllm/emacscvsdir/emacs/lisp/' > winner.el:53:10:Warning: Function `gensym' from cl package called at runtime > > This warning is bogus. `gensym' can indeed be called at runtime, but > only if `setf' is called first, which requires cl to be loaded anyway. I don't think this is bogus. setf is a macro and is not needed at runtime because it has been expanded and compiled into winner.elc (I think you might mean defsetf but that is also a macro, so the same applies). gensym, on the other hand, is a function, so Emacs will need to know where to find it when it is called. The warning is presumably there to help the person writing the code decide if cl needs to be loaded. Without it, it may be the user who discovers the problem at runtime. Once the the coder decides its not a problem, then putting with-no-warnings around the call would, indeed, appear to be the right thing to do. Nick