* Oort Gnus 0.16 - failing on HTML...
@ 2003-03-05 6:13 Per-Karsten Nordhaug
2003-03-05 16:48 ` Michael Shields
0 siblings, 1 reply; 2+ messages in thread
From: Per-Karsten Nordhaug @ 2003-03-05 6:13 UTC (permalink / raw)
Heya, all.
Whenever I try to read a html-formatted mail or news posting, gnus
crashes on me, giving the following error:
Debugger entered--Lisp error: (void-function mailcap-parse-mailcaps)
mailcap-parse-mailcaps()
mm-display-part((#<buffer *mm*<3>> ("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,\bB\0\vB\0ÉÊ!\x18\x01Ë`\x16-ÌÍ\x0e.\"c`ÎÏÐÑ\b?ÒÓÔ\x0e\x13DEEÕÔ\fDÔ\x0e,DÔ\nD\x0e.¯\x05FÖ×\x0e/!\x0e0\x0e1Ø\x0e2Ù\x0e.Ú\x0e3¯\b\"BB#ÛÜ\x0e-`ÝÞß\x0e4&\a A\x11@\x163\x15\x01Ë`\x16-Ìà\x0e3\v°\0á±\0â\x0e3\x1e3@;Á\0\x0e3@Æ\0ã\x0e38@)#c`ÎÏäÑ\b?ÒÓÔ\x0e\x13DEEÕÔ\fDÔ\x0e3DÔ\nD\x0e.¯\x05FÖ×\x0e/!\x0e0\x0e1Ø\x0e2Ù\x0e.Ú\x0e3¯\b\"BB#ÛÜ\x0e-`ÝÞß\x0e4&\aåc\0æc\vx\x01\v@;)\x01ç\v!p\x01\x0e5\x0e6q\x0e7)\x1e8\x1e9è\v!\n@d}éê\x0e\x13Gë\x0e:@!S\x01ãW\x01\x0e:GS\x0e3\x1e3@;g\x01\x0e3@l\x01ã\x0e38@)$,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 append gnus-local-map-property 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 ...] 16)
gnus-mime-display-alternative(((#<buffer *mm*<2>> ("text/plain" ...) quoted-printable nil nil nil nil nil) (#<buffer *mm*<3>> ("text/html" ...) quoted-printable nil nil nil nil nil)) nil nil 1)
gnus-mime-display-part((#("multipart/alternative" 0 21 (from "whoever@whatever.com" buffer #<buffer *mm*> boundary "----=_NextPart_000_0019_01C2E180.54AAD320")) (#<buffer *mm*<2>> ("text/plain" ...) quoted-printable nil nil nil nil nil) (#<buffer *mm*<3>> ("text/html" ...) quoted-printable nil nil nil nil nil)))
gnus-display-mime()
gnus-article-prepare-display()
gnus-article-prepare(17 nil)
gnus-summary-display-article(17 nil)
gnus-summary-select-article(nil nil pseudo)
gnus-summary-scroll-up(1)
call-interactively(gnus-summary-scroll-up)
Here's what I have in my .gnus.el to handle html:
;; Display HTML inline but don't use w3 - handle it as text dump through w3m
(defun mm-display-html-inline (handle)
(let (text)
(mm-with-unibyte-buffer
(mm-insert-part handle)
(save-window-excursion
(shell-command-on-region
(point-min) (point-max) "w3m -T text/html -dump" t)
(setq text (buffer-string))))
(mm-insert-inline handle text)))
(add-to-list 'mm-inline-media-tests
'("text/html" mm-display-html-inline identity))
Any suggestions on how to correct this behavior ?
--
there are 10 kinds of people in the world;
those who understand binary, and those who don't.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Oort Gnus 0.16 - failing on HTML...
2003-03-05 6:13 Oort Gnus 0.16 - failing on HTML Per-Karsten Nordhaug
@ 2003-03-05 16:48 ` Michael Shields
0 siblings, 0 replies; 2+ messages in thread
From: Michael Shields @ 2003-03-05 16:48 UTC (permalink / raw)
Cc: ding
In article <87wujez6gv.fsf@phoenix.tiscali.no>,
Per-Karsten Nordhaug <pnordhaug@tiscali.no> wrote:
> Here's what I have in my .gnus.el to handle html:
Have you tried
(setq mm-text-html-renderer 'w3m)
--
Shields.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-05 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-05 6:13 Oort Gnus 0.16 - failing on HTML Per-Karsten Nordhaug
2003-03-05 16:48 ` Michael Shields
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).