From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55143 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.emacs.xemacs.beta Subject: Re: gnus-util.el loads rmail Date: Mon, 08 Dec 2003 18:01:53 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070874182 4945 80.91.224.253 (8 Dec 2003 09:03:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2003 09:03:02 +0000 (UTC) Cc: james@xemacs.org, bugs@gnus.org, ding@gnus.org, xemacs-beta@xemacs.org Original-X-From: ding-owner+M3683@lists.math.uh.edu Mon Dec 08 10:02:58 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ATHIA-0002U8-00 for ; Mon, 08 Dec 2003 10:02:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ATHHc-0004D1-00; Mon, 08 Dec 2003 03:02:24 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ATHHY-0004Cw-00 for ding@lists.math.uh.edu; Mon, 08 Dec 2003 03:02:20 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 98BCD3A0043; Mon, 8 Dec 2003 03:02:19 -0600 (CST) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.24) id 1ATHHS-0005Gm-TX; Mon, 08 Dec 2003 04:02:15 -0500 Original-To: Steve Youngs 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.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:O+/SNn3YlA1FTiaRSGCI0C2qO7E= X-Payment: hashcash 1.2 0:031208:sryoungs@bigpond.net.au:8e1994968e6bf0af X-Hashcash: 0:031208:sryoungs@bigpond.net.au:8e1994968e6bf0af X-Payment: hashcash 1.2 0:031208:james@xemacs.org:877060c8f0513512 X-Hashcash: 0:031208:james@xemacs.org:877060c8f0513512 X-Payment: hashcash 1.2 0:031208:bugs@gnus.org:60c8e3fc779098bb X-Hashcash: 0:031208:bugs@gnus.org:60c8e3fc779098bb X-Payment: hashcash 1.2 0:031208:ding@gnus.org:a815a3e23be92abc X-Hashcash: 0:031208:ding@gnus.org:a815a3e23be92abc X-Payment: hashcash 1.2 0:031208:xemacs-beta@xemacs.org:87a8d8b3a7912710 X-Hashcash: 0:031208:xemacs-beta@xemacs.org:87a8d8b3a7912710 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55143 gmane.emacs.xemacs.beta:12732 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55143 >>>>> In >>>>> Steve Youngs wrote: > I'll apply these changes to the XEmacs Gnus package shortly. Thanks! I found another problem, although it is not serious. If there is the rmail but there is no tm (or there is apel of the mainstream, not the XEmacs version), loading of rmail fails halfway, but the macro in question is provided. In that case, the byte-compiler warns about two rmail functions. So, I've changed Gnus cvs to bind those functions when compiling. A patch for the XEmacs package is below. However, please ignore it if you consider it is not necessary. --- gnus-util.el~ 2003-12-08 07:40:41 +0000 +++ gnus-util.el 2003-12-08 08:55:35 +0000 @@ -808,7 +808,13 @@ ;; requires tm and apel packages. However, there may be those ;; who haven't installed those packages. This macro helps such ;; people even if they install those packages later. - `(eval '(rmail-select-summary ,@body))))) + `(eval '(rmail-select-summary ,@body))) + ;; If there's rmail but there's no tm (or there's apel of the + ;; mainstream, not the XEmacs version), loading rmail of the XEmacs + ;; version fails halfway, however it provides the rmail-select-summary + ;; macro which uses the following functions: + (autoload 'rmail-summary-displayed "rmail") + (autoload 'rmail-maybe-display-summary "rmail"))) (defvar rmail-default-rmail-file) (defvar mm-text-coding-system)) -- Katsumi Yamaoka