Gnus development mailing list
 help / color / mirror / Atom feed
* cannot view html after upgrade
@ 2005-07-16  0:00 Sebastian Luque
  2005-07-16  4:32 ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Luque @ 2005-07-16  0:00 UTC (permalink / raw)


Dear List,

I've upgraded to gnus No Gnus v0.4, in GNU Emacs 21.4.1
(i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-03-17 on
trouble, modified by Debian. Since then, I noticed that opening messages
containing html is giving an error. Below is the trace. Debugging this in
~/.gnus.el is is proving to be a major task, so any pointers as to what
the culprit might be are greatly appreciated.

Sebastian



Debugger entered--Lisp error: (void-function mm-w3m-local-map-property)
  mm-w3m-local-map-property()
  mm-inline-text-html-render-with-w3m((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  mm-inline-text-html((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  mm-display-inline((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  mm-display-part((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  byte-code("Œ\bƒ\x1e\0\b@\bA†\x14\0\b@bˆÆyˆ`}ˆed|ˆÇ	!ˆÈ C\x12\v\f‰\x1dA@)‰\x16+„4\0\f@\x16+\b„B\0\vƒB\0ÉÊ!„\x0e\x01Ë`‰\x16,ÌÍ\x0e-\"cˆ`ÎÏÐÑ\b?ÒÓÔ\x0e\x13DEEÕÔ\fDÔ\x0e+DÔ\nD\x0e-¯\x05FÖ\x0e.\x0e/\x0e0×\x0e1Ø\x0e-Ù\x0e2¯\f#ˆÚÛ\x0e,`ÜÝÞ\x0e3&\aˆ	‰A\x11@‰\x162ƒ\v\x01Ë`‰\x16,Ìß\x0e2\všƒ«\0à‚¬\0á\x0e2‰\x1e2@;ƒŒ\0\x0e2@‚Á\0â\x0e28@)#cˆ`ÎÏãÑ\b?ÒÓÔ\x0e\x13DEEÕÔ\fDÔ\x0e2DÔ\nD\x0e-¯\x05FÖ\x0e.\x0e/\x0e0×\x0e1Ø\x0e-Ù\x0e2¯\f#ˆÚÛ\x0e,`ÜÝÞ\x0e3&\aˆäcˆ‚Ž\0åcˆ\vƒn\x01\v@;ƒ\x1f\x01æ\v!ˆ‚f\x01\x0e4r\x0e5qˆ\x0e6)\x1e7\x1e8ç\v!ˆŠŒ\n@d}ˆèé\x0e\x13Gê\x0e9@!ƒI\x01â‚M\x01\x0e9GS\x0e2‰\x1e2@;ƒ]\x01\x0e2@‚b\x01â\x0e28@)$ˆ,dbˆ\nÈ ¡ˆ)é‡" [ibegend handles begend preferred ihandles x 2 mm-remove-parts point-marker gnus-unbuttonized-mime-type-p "multipart/alternative" gnus-add-text-properties format "%d.  " gnus-callback lambda (handles) unless setq gnus-article-mime-handle-alist quote gnus-mime-display-alternative keymap face gnus-part gnus-data widget-convert-button link :action gnus-widget-press-button :button-keymap "(%c) %-18s" 42 32 1 (handles) "  " "\n\n" gnus-display-mime mm-display-part gnus-treat-article nil bufferp not-pref from id gnus-mime-button-map gnus-mouse-face-prop gnus-article-mouse-face gnus-article-button-face ...] 16)
  gnus-mime-display-alternative(((#<buffer  *mm*<3>> ("text/plain" ...) quoted-printable nil nil nil nil nil) (#<buffer  *mm*<4>> ("text/html" ...) quoted-printable nil nil nil nil nil)) nil nil 1)
  gnus-mime-display-part((#("multipart/alternative" 0 21 (start nil from "aluque2004@yahoo.com.ar" buffer #<buffer  *mm*<2>> boundary "------------Boundary-00=_1NCOBHK0000000000000")) (#<buffer  *mm*<3>> ("text/plain" ...) quoted-printable nil nil nil nil nil) (#<buffer  *mm*<4>> ("text/html" ...) quoted-printable nil nil nil nil nil)))
  gnus-mime-display-part((#("multipart/related" 0 17 (start nil from "aluque2004@yahoo.com.ar" buffer #<buffer  *mm*> boundary "------------Boundary-00=_ZMCOG6G0000000000000" type "multipart/alternative")) (#("multipart/alternative" 0 21 ...) (#<buffer  *mm*<3>> ... quoted-printable nil nil nil nil nil) (#<buffer  *mm*<4>> ... quoted-printable nil nil nil nil nil)) (#<buffer  *mm*<5>> ("image/gif" ...) base64 nil nil nil nil "<4E48DA66-F526-11D9-98E1-000F217C370C>") (#<buffer  *mm*<6>> ("image/jpeg" ...) base64 nil nil nil nil "<4E48DA67-F526-11D9-98E1-000F217C370C>")))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(5981 nil)
  gnus-summary-display-article(5981)
  gnus-summary-next-page(nil)
  call-interactively(gnus-summary-next-page)


-- 
Sebastian P. Luque

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cannot view html after upgrade
  2005-07-16  0:00 cannot view html after upgrade Sebastian Luque
@ 2005-07-16  4:32 ` Katsumi Yamaoka
  2005-07-16  5:47   ` Sebastian Luque
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2005-07-16  4:32 UTC (permalink / raw)
  Cc: ding

>>>>> In <87y887liwj.fsf@mun.ca>
>>>>>	Sebastian Luque <spluque@gmail.com> wrote:

> I've upgraded to gnus No Gnus v0.4, in GNU Emacs 21.4.1
> (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-03-17 on
> trouble, modified by Debian. Since then, I noticed that opening messages
> containing html is giving an error. Below is the trace. Debugging this in
> ~/.gnus.el is is proving to be a major task, so any pointers as to what
> the culprit might be are greatly appreciated.

> Debugger entered--Lisp error: (void-function mm-w3m-local-map-property)

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).



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cannot view html after upgrade
  2005-07-16  4:32 ` Katsumi Yamaoka
@ 2005-07-16  5:47   ` Sebastian Luque
  2005-07-16 10:19     ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Luque @ 2005-07-16  5:47 UTC (permalink / raw)


Katsumi Yamaoka <yamaoka@jpl.org> 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cannot view html after upgrade
  2005-07-16  5:47   ` Sebastian Luque
@ 2005-07-16 10:19     ` Katsumi Yamaoka
  2005-07-16 18:17       ` Sebastian Luque
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2005-07-16 10:19 UTC (permalink / raw)
  Cc: ding

>>>>> In <87br5347zt.fsf@gmail.com>
>>>>>	Sebastian Luque <spluque@gmail.com> wrote:

> 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."
[...]
>| 	   (nconc (mm-w3m-local-map-property)

You seem not to have succeeded in upgrading Gnus unfortunately.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cannot view html after upgrade
  2005-07-16 10:19     ` Katsumi Yamaoka
@ 2005-07-16 18:17       ` Sebastian Luque
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Luque @ 2005-07-16 18:17 UTC (permalink / raw)


Katsumi Yamaoka <yamaoka@jpl.org> wrote:

[...]

>> ,-----[ mm-view.el (lines: 222 - 257) ]
>> | (defun mm-inline-text-html-render-with-w3m (handle)
>> |   "Render a text/html part using emacs-w3m."
> [...]
>> | 	   (nconc (mm-w3m-local-map-property)
>
> You seem not to have succeeded in upgrading Gnus unfortunately.

I'm using the Debian unstable package, so this is probably a bug in that
package.

Thanks,
-- 
Sebastian P. Luque




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-16 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-16  0:00 cannot view html after upgrade Sebastian Luque
2005-07-16  4:32 ` Katsumi Yamaoka
2005-07-16  5:47   ` Sebastian Luque
2005-07-16 10:19     ` Katsumi Yamaoka
2005-07-16 18:17       ` Sebastian Luque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).