🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #486

Re: vm-mime-can-display-internal checks for non-existing function w3-about

#486
From: newsspam5REMOVETHIS
Date: Wed, 27 Aug 2008 21:55
33 lines
2264 bytes
Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE> writes:

> The function vm-mime-can-display-internal checks for "text/html" mails
> whether the can be displayed with Emacs/W3. It contains these lines:
>
> 		;; this because GNUS bogusly sets up autoloads
> 		;; for w3-region even if W3 isn't installed.
> 		(fboundp 'w3-about)
>
> The problem is that in my version of Emacs/W3 (the most recent from
> CVS) this function is not defined.

I hope the following patch fixed it?

=== modified file 'lisp/vm-mime.el'
--- lisp/vm-mime.el	2008-08-24 20:12:02 +0000
+++ lisp/vm-mime.el	2008-08-27 21:53:46 +0000
@@ -1630,11 +1630,8 @@
 		(car (vm-mm-layout-parts layout)) t)))
 	  ((vm-mime-types-match "message" type) t)
 	  ((vm-mime-types-match "text/html" type)
-	   (and (fboundp 'w3-region)
+	   (and (locate-library "w3")
 		vm-mime-use-w3-for-text/html
-		;; this because GNUS bogusly sets up autoloads
-		;; for w3-region even if W3 isn't installed.
-		(fboundp 'w3-about)
 		(let ((charset (or (vm-mime-get-parameter layout "charset")
 				   "us-ascii")))
 		  (vm-mime-charset-internally-displayable-p charset))))


Robert.
Technical Details
Message-ID: <8563pmcec3.fsf@robf.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!news.m-online.net!not-for-mail
References: <g83b2t$d28$1@news.sap-ag.de>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,7a57b7f7c905f64c
X-Google-Attributes: gidf6829,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!news.m-online.net!not-for-mail
From: newsspam5REMOVETHIS@robf.de
Newsgroups: gnu.emacs.vm.bug
Subject: Re: vm-mime-can-display-internal checks for non-existing function w3-about
Date: Wed, 27 Aug 2008 23:55:56 +0200
Organization: (posted via) M-net Telekommunikations GmbH
Lines: 33
Message-ID: <8563pmcec3.fsf@robf.de>
References: <g83b2t$d28$1@news.sap-ag.de>
NNTP-Posting-Host: ppp-88-217-0-244.dynamic.mnet-online.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: svr7.m-online.net 1219874157 28191 88.217.0.244 (27 Aug 2008 21:55:57 GMT)
X-Complaints-To: abuse@m-online.net
NNTP-Posting-Date: Wed, 27 Aug 2008 21:55:57 +0000 (UTC)
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux)
Cancel-Lock: sha1:B/gQiGuo9DSGNjrw0XJwEHho3gU=