From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Gnus and No Gnus Date: Tue, 08 Sep 2009 20:13:24 +0900 Organization: Emacsen advocacy group Message-ID: References: <1xfxaxlx7n.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252408445 16851 80.91.229.12 (8 Sep 2009 11:14:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2009 11:14:05 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 13:13:58 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mkye4-0000vO-1n for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2009 13:13:56 +0200 Original-Received: from localhost ([127.0.0.1]:49479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkye3-0005SR-08 for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2009 07:13:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkydx-0005S3-LJ for emacs-devel@gnu.org; Tue, 08 Sep 2009 07:13:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkyds-0005O0-JU for emacs-devel@gnu.org; Tue, 08 Sep 2009 07:13:48 -0400 Original-Received: from [199.232.76.173] (port=58665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkyds-0005Nj-EM for emacs-devel@gnu.org; Tue, 08 Sep 2009 07:13:44 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]:43165) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mkydp-0001jB-Sb; Tue, 08 Sep 2009 07:13:42 -0400 Original-Received: from localhost ([127.0.0.1]:36817) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1Mkydl-0007Xc-4y; Tue, 08 Sep 2009 06:13:37 -0500 X-Hashcash: 1:20:090908:rgm@gnu.org::M+XdTGRBJg7Ml7OZ:0000007Sj4 X-Hashcash: 1:20:090908:emacs-devel@gnu.org::/NsMWE+vK+g5q7li:000000000000000000000000000000000000000000FoTh X-Hashcash: 1:20:090908:ding@gnus.org::l1uRAYfjOkRQoepe:00002WmA X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:lbVByIXCiah4Kltd12E0KgreRE8= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115128 gmane.emacs.gnus.general:68972 Archived-At: >>>>> Glenn Morris wrote: > Katsumi Yamaoka wrote: >> Unfortunately `with-no-warnings' is not available in Emacs 21 >> and XEmacs. > Argh... > Could you add a compat definition in Gnus? Just an alias to progn > should be fine. It will be possible to add a compat definition that replaces `with-no-warnings' with `progn' when compiling to dgnushack.el or whatever. However, it disables people, who use XEmacs or Emacs 21 to develop Gnus, from loading .el files. So, it is better to add it to every file which uses `with-no-warnings'. Is it ok? In that case, the definition should be made available only when compiling (or when loading .el files) because `with-no-warnings' should never be bound normally in XEmacs and Emacs 21. (eval-when-compile (unless (fboundp 'with-no-warnings) (defmacro with-no-warnings (&rest body) `(progn ,@body)))) > Otherwise, I'd say it's up to you as to how complicated you are > willing to make the code just in order to suppress (let's face it, > harmless) warnings. Yes, that is for *only* suppressing warnings, in place of `with-no-warnings'. Using neither the complicated things nor `with-no-warnings' makes it simple, if we don't mind warnings when bootstrapping Emacs.