From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17226 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: mime/w3/html/images/agent support Date: 18 Sep 1998 11:04:17 -700 Organization: U.C.Davis, Information Technology - D.C.A.S. Sender: owner-ding@hpc.uh.edu Message-ID: References: <86ogsd8h5r.fsf@kramer-fast.bp.aventail.com> <86lnnh8gb9.fsf@kramer-fast.bp.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035155965 32267 80.91.224.250 (20 Oct 2002 23:19:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:19:25 +0000 (UTC) Cc: Wes Hardaker , ding@gnus.org Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA25912 for ; Fri, 18 Sep 1998 14:06:39 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id MAF13280; Fri, 18 Sep 1998 12:37:25 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 18 Sep 1998 13:04:51 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAA09309 for ; Fri, 18 Sep 1998 13:04:30 -0500 (CDT) Original-Received: from des.castles.com (hardaker@des.castles.com [208.214.166.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA25858 for ; Fri, 18 Sep 1998 14:04:24 -0400 (EDT) Original-Received: (from hardaker@localhost) by des.castles.com (8.8.7/8.8.7) id LAA09627; Fri, 18 Sep 1998 11:04:19 -0700 Original-To: wmperry@aventail.com X-Face: #qW^}a%m*T^{A:Cp}$R\"38+d}41-Z}uU8,r%F#c#s:~Nzp0G9](s?,K49KJ]s"*7gvRgA SrAvQc4@/}L7Qc=w{)]ACO\R{LF@S{pXfojjjGg6c;q6{~C}CxC^^&~(F]`1W)%9j/iS/ IM",B1M.?{w8ckLTYD'`|kTr\i\cgY)P4 X-url: http://dcas.ucdavis.edu/~hardaker In-Reply-To: wmperry@aventail.com's message of "18 Sep 1998 12:46:18 -0500" Original-Lines: 54 User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17226 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17226 >>>>> On 18 Sep 1998 12:46:18 -0500, wmperry@aventail.com (William M. Perry) said: William> That's what url-standalone-mode controls. If that is William> non-nil, then it will not do any network traffic - it will William> just pull stuff from the cache. OOOOHHHHHhhhh.... I didn't realize that was a real variable... Sorry... Lars? The following completely-untested (ha ha) patch should do the trick: *** /users/hardaker/tmp/mm-view.el Fri Sep 18 11:03:06 1998 --- /users/hardaker/pgnus/lisp/mm-view.el Mon Sep 14 14:16:00 1998 *************** *** 71,87 **** ,(set-marker (make-marker) (point-max))))))))) ((equal type "html") (save-excursion ! (let ((url-standalone-mode (not gnus-plugged))) ! (w3-do-setup) ! (mm-with-unibyte-buffer ! (insert-buffer-substring (mm-handle-buffer handle)) ! (mm-decode-content-transfer-encoding (mm-handle-encoding handle)) ! (require 'url) ! (save-window-excursion ! (w3-region (point-min) (point-max)) ! (setq text (buffer-string)))) ! (mm-insert-inline handle text)))) ! ((or (equal type "enriched") (equal type "richtext")) (save-excursion (mm-with-unibyte-buffer --- 71,86 ---- ,(set-marker (make-marker) (point-max))))))))) ((equal type "html") (save-excursion ! (w3-do-setup) ! (mm-with-unibyte-buffer ! (insert-buffer-substring (mm-handle-buffer handle)) ! (mm-decode-content-transfer-encoding (mm-handle-encoding handle)) ! (require 'url) ! (save-window-excursion ! (w3-region (point-min) (point-max)) ! (setq text (buffer-string)))) ! (mm-insert-inline handle text))) ! ((or (equal type "enriched") (equal type "richtext")) (save-excursion (mm-with-unibyte-buffer -- "Ninjas aren't dangerous. They're more afraid of you than you are of them."