From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55499 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: Re: No Gnus on Sunday Date: Sat, 03 Jan 2004 07:23:51 +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 1073078662 22255 80.91.224.253 (2 Jan 2004 21:24:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2004 21:24:22 +0000 (UTC) Keywords: url,gnus,xemacs,setq,result,package,with-timeout,times Original-X-From: ding-owner+M4039@lists.math.uh.edu Fri Jan 02 22:24:18 2004 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 1AcWmI-0007gQ-00 for ; Fri, 02 Jan 2004 22:24:18 +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 1AcWmC-0005CY-00; Fri, 02 Jan 2004 15:24:12 -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 1AcWm1-0005As-00 for ding@lists.math.uh.edu; Fri, 02 Jan 2004 15:24:01 -0600 Original-Received: from gizmo11ps.bigpond.com (gizmo11ps.bigpond.com [144.140.71.21]) by justine.libertine.org (Postfix) with SMTP id 25D653A0026 for ; Fri, 2 Jan 2004 15:24:00 -0600 (CST) Original-Received: (qmail 13491 invoked from network); 2 Jan 2004 21:20:42 -0000 Original-Received: from unknown (HELO psmam01.bigpond.com) (144.135.25.69) by gizmo11ps.bigpond.com with SMTP; 2 Jan 2004 21:20:42 -0000 Original-Received: from cpe-138-130-240-59.qld.bigpond.net.au ([138.130.240.59]) by psmam01.bigpond.com(MAM REL_3_4_2 71/12361413) with SMTP id 12361413; Sat, 03 Jan 2004 07:23:57 +1000 Original-Received: (from steve@localhost) by eicq.dnsalias.org (8.12.9/8.12.9) id i02LNtjX001210; Sat, 3 Jan 2004 07:23:55 +1000 Mail-Copies-To: never Original-To: ding@gnus.org 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: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 02 Jan 2004 21:36:36 +0100") User-Agent: Gnus/5.1004 (Gnus v5.10.4) XEmacs/21.4 (Reasonable Discussion, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55499 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55499 --=-=-= |--==> "LMI" == Lars Magne Ingebrigtsen writes: LMI> So if y'all have any last-minute bug fixes for Gnus 5.10, LMI> please get them in during the next 36 hours... Quick! Somebody give me a way of implementing `with-timeout' in XEmacs _without_ relying on timer.el. In mm-url.el there is... (defun mm-url-insert (url &optional follow-refresh) "Insert the contents from an URL in the current buffer. If FOLLOW-REFRESH is non-nil, redirect refresh url in META." (let ((times mm-url-retries) (done nil) (first t) result) (while (and (not (zerop (decf times))) (not done)) (with-timeout (mm-url-timeout) (unless first (message "Trying again (%s)..." (- mm-url-retries times))) (setq first nil) (if follow-refresh (save-restriction (narrow-to-region (point) (point)) (mm-url-insert-file-contents url) (goto-char (point-min)) (when (re-search-forward "]*URL=\\([^\"]+\\)\"" nil t) (let ((url (match-string 1))) (delete-region (point-min) (point-max)) (setq result (mm-url-insert url t))))) (setq result (mm-url-insert-file-contents url))) (setq done t))) result)) It's the _only_ timing related thing in Gnus that XEmacs can't seem to do with itimer. Because of this single form the XEmacs Gnus package must require the "fsf-compat" package to get `with-timeout' from timer.el. This obviously isn't a show-stopper, or even a bug for that matter, but I'd be one happy camper if someone could help me with this. I'd _*REALLY REALLY*_ like the XEmacs Gnus package to _*NOT*_ need the fsf-compat package. Thanks! -- |---------------------| | 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/14WsACgkQHSfbS6lLMAMyBwCfX73aVVqjzsQNGMclhXSPKBAg EYcAnjBxWmHQDUxDCvDQjzZOAtJmkjim =8LG1 -----END PGP SIGNATURE----- --=-=-=--