From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55096 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general,gmane.emacs.xemacs.beta Subject: Re: gnus-util.el loads rmail Date: Fri, 05 Dec 2003 11:25:18 +1000 Organization: Linux Users - Fanatics Dept. Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1070587557 32334 80.91.224.253 (5 Dec 2003 01:25:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2003 01:25:57 +0000 (UTC) Keywords: dont-compile,rmail-select-summary Cc: Jerry James , bugs@gnus.org, ding@gnus.org, xemacs-beta@xemacs.org Original-X-From: ding-owner+M3636@lists.math.uh.edu Fri Dec 05 02:25:54 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 1AS4jB-0006kU-00 for ; Fri, 05 Dec 2003 02:25:53 +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 1AS4iv-0001BX-00; Thu, 04 Dec 2003 19:25:37 -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 1AS4in-0001BR-00 for ding@lists.math.uh.edu; Thu, 04 Dec 2003 19:25:29 -0600 Original-Received: from gizmo05ps.bigpond.com (gizmo05ps.bigpond.com [144.140.71.15]) by justine.libertine.org (Postfix) with SMTP id 3164E3A003C for ; Thu, 4 Dec 2003 19:25:28 -0600 (CST) Original-Received: (qmail 10735 invoked from network); 5 Dec 2003 01:21:05 -0000 Original-Received: from unknown (HELO psmam04.bigpond.com) (144.135.25.78) by gizmo05ps.bigpond.com with SMTP; 5 Dec 2003 01:21:05 -0000 Original-Received: from cpe-138-130-240-50.qld.bigpond.net.au ([138.130.240.50]) by psmam04.bigpond.com(MAM REL_3_4_2 98/3244966) with SMTP id 3244966; Fri, 05 Dec 2003 11:25:25 +1000 Original-Received: (from steve@localhost) by eicq.dnsalias.org (8.12.9/8.12.9) id hB51PMoZ025529; Fri, 5 Dec 2003 11:25:22 +1000 Mail-Copies-To: never Original-To: Katsumi Yamaoka X-Face: #/1'_-|5_1$xjR,mVKhpfMJcRh8"k}_a{EkIO:Ox<]@zl/Yr|H,qH#3jJi6Aw(Mg@"!+Z"C N_S3!3jzW^FnPeumv4l#,E}J.+e%0q(U>#b-#`~>l^A!_j5AEgpU)>t+VYZ$:El7hLa1:%%L=3%B>n K{^jU_{& X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Attribution: SY Mail-Followup-To: Katsumi Yamaoka , Jerry James , bugs@gnus.org, ding@gnus.org, xemacs-beta@xemacs.org In-Reply-To: (Katsumi Yamaoka's message of "Fri, 05 Dec 2003 09:45:36 +0900") User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55096 gmane.emacs.xemacs.beta:12678 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55096 --=-=-= |--==> "KY" == Katsumi Yamaoka writes: KY> Loading of rmail is only for the `rmail-select-summary' macro, KY> isn't it? If so, it can be solved by not compiling that section: KY> --- gnus-util.el~ 2003-12-03 23:28:53 +0000 KY> +++ gnus-util.el 2003-12-05 00:44:47 +0000 KY> @@ -864,8 +864,9 @@ KY> (narrow-to-region (point) (point-max)) KY> (rmail-count-new-messages t) KY> (when (rmail-summary-exists) KY> - (rmail-select-summary KY> - (rmail-update-summary))) KY> + (dont-compile KY> + (rmail-select-summary KY> + (rmail-update-summary)))) KY> (rmail-count-new-messages t) KY> (rmail-show-message msg)) KY> (save-buffer))))) KY> How about it? So this would be as a replacement to Jerry's patch or in addition to it? And the doc string from `dont-compile' troubles me a little... ,----[ C-h f dont-compile RET ] | `dont-compile' is a compiled Lisp macro | -- loaded from "/usr/local/lib/xemacs-21.4.14/lisp/bytecomp-runtime.elc" | (dont-compile &rest BODY) | | Documentation: | Like `progn', but the body always runs interpreted (not compiled). | If you think you need this, you're probably making a mistake somewhere. `---- ...that last line in particular. -- |---------------------| | Ashes to ashes, dust to dust. | | The proof of the pudding, is under the crust. | |---------------------------------| --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Eicq - The XEmacs ICQ Client iEYEABECAAYFAj/P3oEACgkQHSfbS6lLMAOhOQCfRjxXeNWRrpKjIBdlWF6TbJ2m o5gAn1WoPGEYjSmSW+V2/4chPkR+wDgZ =AfpW -----END PGP SIGNATURE----- --=-=-=--