Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: problems with mails containing html
Date: Mon, 08 Sep 2008 11:58:06 +0200	[thread overview]
Message-ID: <874p4ryn69.fsf@mat.ucm.es> (raw)
In-Reply-To: <b4m4p4r317z.fsf@jpl.org>

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

>>>>> "Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> writes:

>>>>> Uwe Brauer wrote:
   >> Using Xemacs 21.4.19 Mule and ngnus-0.10
   >> the following message is displayed like this

   > [...]

   >> [1. text/html]...

   >> <DIV>Estimados compañeros,</DIV>
   >> <DIV>Espero que hayáis disfrutado de vuestras vacaciones.</DIV>
   >> <DIV>&nbsp;</DIV>

   >> While in seamonkey only the text is displayed, I tried to use C-d
   >> in order to select the text part but it seems not to work. My setting is
   >> as follows:

   >> (setq
   > [...]
   >> ;; Don't render HTML automatically:
   >> mm-automatic-display (remove "text/html" mm-automatic-display)

   > Though I'm not quite sure how you want Gnus to work, removing
   > this line makes Gnus render html articles.  Otherwise type RET
   > or click the mouse-2 button on the [N. text/html] tags.

Thanks for your answer. I would like to get the above text displayed as
follows:
  Estimados  compañeros,
  Espero que hayáis disfrutado de vuestras vacaciones.

Now when I type RET or mouse-2, just the buttons are displayed.

I removed the above line   

mm-automatic-display (remove "text/html" mm-automatic-display)

But now when trying to read this message I obtain an error which I
attach. What I don't understand is that gnus is able to display html
message, but has only problem with this kind of HTML msg.


Uwe Brauer 


[-- Attachment #2: gnus-html-bug --]
[-- Type: text/plain, Size: 2959 bytes --]

Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (start end) "Render region in current buffer and replace with result." (interactive "r") (save-restriction (narrow-to-region start end) (when (memq w3m-type (quote (w3mmee w3m-m17n))) (encode-coding-region (point-min) (point-max) w3m-coding-system)) (setq w3m-current-buffer (current-buffer) w3m-current-title (w3m-rendering-region (point-min) (point-max))) (w3m-fontify) (setq w3m-display-inline-image-status (quote off)) (when (w3m-display-inline-image-p) (and w3m-force-redisplay (sit-for 0)) (w3m-toggle-inline-images (quote force))))) 4)
  w3m-region(2924 4174 nil "iso-8859-1")
  mm-inline-text-html-render-with-w3m((#<buffer " *mm*<2>"> ("text/html" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
  mm-inline-text-html((#<buffer " *mm*<2>"> ("text/html" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
  mm-display-inline((#<buffer " *mm*<2>"> ("text/html" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
  mm-display-part((#<buffer " *mm*<2>"> ("text/html" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil) t)
  byte-code("..." [part type handles beg display handle string-match throw ignored nil mm-inline-override-p 4 "inline" mm-attachment-override-p mm-automatic-display-p mm-inlinable-p mm-inlined-p mm-automatic-external-display-p t split-string mm-handle-media-type "/" "text" "message" insert-char ?\n 2 0 1 gnus-unbuttonized-mime-type-p gnus-insert-mime-button gnus-article-insert-newline -1 (set-buffer gnus-summary-buffer) ((error)) mm-display-part mm-insert-inline mail-content-type-get charset "text/calendar" utf-8 mm-string-as-multibyte mm-get-part gnus-decoded buffer-string mm-decode-string gnus-treat-article "application/pgp-signature" --dolist-temp--97925 not-attachment ...] 7)
  gnus-mime-display-single((#<buffer " *mm*<2>"> ("text/html" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
  gnus-mime-display-part((#<buffer " *mm*<2>"> ("text/html" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
  mapcar(gnus-mime-display-part ((#<buffer " *mm*<2>"> ("text/html" ...) quoted-printable nil ("inline") nil nil nil) (#<buffer " *mm*<3>"> ("application/msword") base64 nil ("attachment" ...) nil nil nil)))
  gnus-mime-display-mixed(((#<buffer " *mm*<2>"> ("text/html" ...) quoted-printable nil ("inline") nil nil nil) (#<buffer " *mm*<3>"> ("application/msword") base64 nil ("attachment" ...) nil nil nil)))
  gnus-mime-display-part(("multipart/mixed" (#<buffer " *mm*<2>"> ("text/html" ...) quoted-printable nil ("inline") nil nil nil) (#<buffer " *mm*<3>"> ("application/msword") base64 nil ("attachment" ...) nil nil nil)))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(193 nil)
  gnus-summary-display-article(193)
  gnus-summary-next-page(nil)
  call-interactively(gnus-summary-next-page)

  reply	other threads:[~2008-09-08  9:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07  9:55 Uwe Brauer
2008-09-08  0:55 ` Katsumi Yamaoka
2008-09-08  9:58   ` Uwe Brauer [this message]
2008-09-08 10:29     ` Katsumi Yamaoka
2008-09-08 13:08       ` Uwe Brauer

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=874p4ryn69.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=ding@gnus.org \
    /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).