Gnus development mailing list
 help / color / mirror / Atom feed
From: Per-Karsten Nordhaug <pnordhaug@tiscali.no>
Subject: Oort Gnus 0.16 - failing on HTML...
Date: Wed, 05 Mar 2003 07:13:20 +0100	[thread overview]
Message-ID: <87wujez6gv.fsf@phoenix.tiscali.no> (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,\b„B\0\vƒB\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ˆ\vƒx\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.



             reply	other threads:[~2003-03-05  6:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05  6:13 Per-Karsten Nordhaug [this message]
2003-03-05 16:48 ` Michael Shields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wujez6gv.fsf@phoenix.tiscali.no \
    --to=pnordhaug@tiscali.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).