From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70157 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Testing gnus-html here and there Date: Tue, 31 Aug 2010 15:55:51 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1283237799 6467 80.91.229.12 (31 Aug 2010 06:56:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 06:56:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18543@lists.math.uh.edu Tue Aug 31 08:56:38 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqKlp-0007R5-Hk for ding-account@gmane.org; Tue, 31 Aug 2010 08:56:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OqKlj-0005Xc-PV; Tue, 31 Aug 2010 01:56:31 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OqKlh-0005XL-RE for ding@lists.math.uh.edu; Tue, 31 Aug 2010 01:56:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OqKlg-0007rH-MV for ding@lists.math.uh.edu; Tue, 31 Aug 2010 01:56:29 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OqKlf-0002ON-00 for ; Tue, 31 Aug 2010 08:56:28 +0200 Original-Received: from localhost ([127.0.0.1]:50050) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OqKlA-0000hR-0U for ding@gnus.org; Tue, 31 Aug 2010 01:55:56 -0500 X-Hashcash: 1:20:100831:ding@gnus.org::t3otLR+a/zzcxx0h:000038+3 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/24.0.50 (gnu/linux) Cancel-Lock: sha1:uOUiJrG89c7umtrEk5TiiSTB9Yo= 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 - gnus.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-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70157 Archived-At: --=-=-= Lars Magne Ingebrigtsen wrote: > I've now tested gnus-html under Emacs 22 on a "clean" machine, and I > found a missing require, but nothing major... [...] `set-process-plist' and `process-plist' that gnus-html.el uses are not available in Emacs 21 and XEmacs. Aren't they something like the following? --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (if (fboundp 'set-process-plist) (progn (defalias 'gnus-set-process-plist 'set-process-plist) (defalias 'gnus-process-plist 'process-plist)) (defun gnus-set-process-plist (process plist) "Replace the plist of PROCESS with PLIST. Returns PLIST." (put 'gnus-process-plist process plist)) (defun gnus-process-plist (process) "Return the plist of PROCESS." ;; Remove those of dead processes from `gnus-process-plist' ;; to prevent it from growing. (let ((plist (symbol-plist 'gnus-process-plist)) proc) (while (setq proc (car plist)) (if (and (processp proc) (memq (process-status proc) '(open run))) (setq plist (cddr plist)) (setcar plist (caddr plist)) (setcdr plist (or (cdddr plist) '(nil)))))) (get 'gnus-process-plist process))) ;; The whole form will need to be surrounded with `eval-and-compile' ;; if it is put in a file which uses those functions. --=-=-= Content-Disposition: inline I haven't yet reached to displaying images using `gnus-article-html', so I'm not sure it is really useful. --=-=-=--