From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51237 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] XEmacs only has 4 args to 'load'. Date: Sat, 05 Apr 2003 18:36:44 +1000 Organization: The XEmacs Development Team Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049568950 10972 80.91.224.249 (5 Apr 2003 18:55:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2003 18:55:50 +0000 (UTC) Keywords: gnus-sum,lisp,changelog,diff,xemacs,load,gnus,files Original-X-From: owner-ding@hpc.uh.edu Sat Apr 05 20:55:49 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 191spQ-0002qp-00 for ; Sat, 05 Apr 2003 20:55:49 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 191snP-0005wH-00; Sat, 05 Apr 2003 12:53:43 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 05 Apr 2003 12:54:47 -0600 (CST) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA28945 for ; Sat, 5 Apr 2003 12:54:41 -0600 (CST) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.6/8.11.1) id h35IrWG10243 for ding@hpc.uh.edu; Sat, 5 Apr 2003 12:53:32 -0600 Original-Received: from sclp3.sclp.com (ip64-157-176-121.neutelligent.com [64.157.176.121]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA28160 for ; Sat, 5 Apr 2003 02:44:04 -0600 (CST) Original-Received: (qmail 41196 invoked by alias); 5 Apr 2003 08:42:55 -0000 Original-Received: (qmail 41191 invoked from network); 5 Apr 2003 08:42:55 -0000 Original-Received: from mta03ps.bigpond.com (144.135.25.135) by gnus.org with SMTP; 5 Apr 2003 08:42:55 -0000 Original-Received: from eicq.dnsalias.org ([144.135.25.84]) by mta03ps.bigpond.com (Netscape Messaging Server 4.15 mta03ps Jul 16 2002 22:47:55) with SMTP id HCV47900.1AO for ; Sat, 5 Apr 2003 18:42:45 +1000 Original-Received: from ESS-p-144-138-77-117.mega.tmns.net.au ([144.138.77.117]) by psmam06.bigpond.com(MailRouter V3.2g 110/14916580); 05 Apr 2003 18:42:45 Original-Received: (from steve@localhost) by eicq.dnsalias.org (8.12.7/8.12.7) id h358aiDW025221; Sat, 5 Apr 2003 18:36:44 +1000 Mail-Copies-To: never Original-To: Gnus List X-Face: %@A&y\ef)A6pi|q43;M>uyhO)~NP*fpdo0XrUuutf0|nku\O5JV(7EG%odc'n6}G@tYRl+B #[n,%B`.sHZ5>3MZvrm%,rWE7)c}ZXjH\>=p@AL\y\gyu|.lJ8B`F++86 X-URL: X-Attribution: SY X-Generated-By: Patcher version 3.4-b2 Mail-Followup-To: Gnus List User-Agent: Gnus/5.090018 (Oort Gnus v0.18) XEmacs/21.5 (cabbage, linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51237 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51237 I've wrapped this in a '(if (featurep 'xemacs)...)', just in case there was a good reason for that 5th arg in GNU/Emacs. :-) NOTE: This patch has been committed. Gnus patch: ChangeLog files diff command: cvs -q diff -U 0 Files affected: lisp/ChangeLog Source files diff command: cvs -q diff -uN Files affected: lisp/gnus-sum.el Index: lisp/ChangeLog =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v retrieving revision 6.2187 diff -u -U0 -r6.2187 ChangeLog --- lisp/ChangeLog 5 Apr 2003 05:40:29 -0000 6.2187 +++ lisp/ChangeLog 5 Apr 2003 08:27:31 -0000 @@ -0,0 +1,5 @@ +2003-04-05 Steve Youngs + + * gnus-sum.el: XEmacs doesn't support the 5th arg to 'load', so + don't use it when loading gnus-sum.el if we're in XEmacs. + Index: lisp/gnus-sum.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v retrieving revision 6.327 diff -u -u -r6.327 gnus-sum.el --- lisp/gnus-sum.el 4 Apr 2003 04:15:32 -0000 6.327 +++ lisp/gnus-sum.el 5 Apr 2003 08:26:29 -0000 @@ -1395,7 +1395,9 @@ ;; source file. (if (boundp 'gnus-newsgroup-variables) nil - (load "gnus-sum.el" t t t t)) + (if (featurep 'xemacs) + (load "gnus-sum.el" t t t) + (load "gnus-sum.el" t t t t))) (require 'gnus) (require 'gnus-agent) (require 'gnus-art))) -- |---------------------| | XEmacs - It's not just an editor. | | It's a way of life. | |---------------------------------------|