From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59173 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:38:50 -0500 Message-ID: <20041115233850.GB16890@fencepost> References: <200411141729.iAEHTSQ24178@raven.dms.auburn.edu> <877joo45bz.fsf-monnier+emacs@gnu.org> <20041115232248.GA16890@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100562016 9034 80.91.229.6 (15 Nov 2004 23:40:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 23:40:16 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-pretest-bug@gnu.org, ding@gnus.org, yamaoka@jpl.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Nov 16 00:40:10 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 1CTqS8-0003Wk-00 for ; Tue, 16 Nov 2004 00:40:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTqar-0005WA-M7 for gebp-emacs-pretest-bug@gmane.org; Mon, 15 Nov 2004 18:49:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTqap-0005W4-6g for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:49:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTqan-0005Vs-U6 for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:49:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTqan-0005Vp-Rk for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:49:05 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTqRz-0005nr-Q0 for emacs-pretest-bug@gnu.org; Mon, 15 Nov 2004 18:39:59 -0500 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1CTqQs-000546-LQ; Mon, 15 Nov 2004 18:38:50 -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:4690 gmane.emacs.gnus.general:59173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59173 On Mon, Nov 15, 2004 at 06:28:58PM -0500, Stefan Monnier wrote: > > Couldn't such macros be wrapped in `eval-when-compile' (I forgot the exact > > name, but ...)? > > Some are wrapped. Some could be. But those like the setf methods generated > by `defstruct' can't. Hmmm. Well, I'd say just rewrite defstruct to not use cl functions (I'm sure cl fans will bitch about how horrible that is, but cl is a part of emacs, it should cater to Emacs' idiosyncrasies where possible). Anyway, wouldn't such wrapping address at least majority of such cases? The reason I'm going on about this is that I think it's a much more understandable way of fixing such warnings (in that it directly shows what's going on) than using `with-no-warnings' (which is a pretty blunt tool). -Miles -- 80% of success is just showing up. --Woody Allen