From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60580 Path: news.gmane.org!not-for-mail From: Sebastian Luque Newsgroups: gmane.emacs.gnus.general Subject: Re: cannot view html after upgrade Date: Sat, 16 Jul 2005 00:47:50 -0500 Organization: Memorial University of Newfoundland Message-ID: <87br5347zt.fsf@gmail.com> References: <87y887liwj.fsf@mun.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121493162 7290 80.91.229.2 (16 Jul 2005 05:52:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2005 05:52:42 +0000 (UTC) Original-X-From: ding-owner+M9108@lists.math.uh.edu Sat Jul 16 07:52:40 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dtfax-0002jV-1b for ding-account@gmane.org; Sat, 16 Jul 2005 07:52:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DtfXO-0008Bp-00; Sat, 16 Jul 2005 00:48:34 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DtfWq-0008Bh-00 for ding@lists.math.uh.edu; Sat, 16 Jul 2005 00:48:00 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DtfWp-0008JV-6t for ding@lists.math.uh.edu; Sat, 16 Jul 2005 00:47:59 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DtfWn-0001i9-00 for ; Sat, 16 Jul 2005 07:47:57 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DtfWk-0001tG-5x for ding@gnus.org; Sat, 16 Jul 2005 07:47:54 +0200 Original-Received: from s0106001111ddbc6e.wp.shawcable.net ([24.77.75.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jul 2005 07:47:54 +0200 Original-Received: from spluque by s0106001111ddbc6e.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jul 2005 07:47:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 59 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s0106001111ddbc6e.wp.shawcable.net User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:zEuQv4g23lKHQ/cqaNQAk8yz5eo= X-Spam-Score: -4.7 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60580 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60580 Katsumi Yamaoka wrote: [...] > The mm-w3m-local-map-property function was removed at 2004-01-06. > You may need to check the ~/.gnus.el file (or possibly the ~/.emacs > file). Thank you Katsumi. Checking those files, I have the following: (setq mm-text-html-renderer 'w3m mm-inline-text-html-with-images nil) but I realized the following in the indicated file of my Gnus version: ,-----[ mm-view.el (lines: 222 - 257) ] | (defun mm-inline-text-html-render-with-w3m (handle) | "Render a text/html part using emacs-w3m." | (mm-setup-w3m) | (let ((text (mm-get-part handle)) | (b (point)) | (charset (mail-content-type-get (mm-handle-type handle) 'charset))) | (save-excursion | (insert text) | (save-restriction | (narrow-to-region b (point)) | (goto-char (point-min)) | (when (setq charset (w3m-detect-meta-charset)) | (delete-region (point-min) (point-max)) | (insert (mm-decode-string text charset))) | (let ((w3m-safe-url-regexp mm-w3m-safe-url-regexp) | w3m-force-redisplay) | (w3m-region (point-min) (point-max))) | (when mm-inline-text-html-with-w3m-keymap | (add-text-properties | (point-min) (point-max) | (nconc (mm-w3m-local-map-property) | ;; Put the mark meaning this part was rendered by emacs-w3m. | '(mm-inline-text-html-with-w3m t))))) | (mm-handle-set-undisplayer | handle | `(lambda () | (let (buffer-read-only) | (if (functionp 'remove-specifier) | (mapcar (lambda (prop) | (remove-specifier | (face-property 'default prop) | (current-buffer))) | '(background background-pixmap foreground))) | (delete-region ,(point-min-marker) | ,(point-max-marker)))))))) `----- Please note the (nconc (mm-w3m-local-map-property)... line. I'm confused. Cheers, -- Sebastian P. Luque