* problems with mails containing html
@ 2008-09-07 9:55 Uwe Brauer
2008-09-08 0:55 ` Katsumi Yamaoka
0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2008-09-07 9:55 UTC (permalink / raw)
To: ding
Hello
Using Xemacs 21.4.19 Mule and ngnus-0.10
the following message is displayed like this
To: mat-aplicada-l@listserv.ucm.es
Reply-to: Departamento de Matemática Aplicada <mat-aplicada-l@listserv.ucm.es>
Message-id: <fa0bb39b241d.48c120fd@ucm.es>
MIME-version: 1.0
X-Mailer: Sun Java(tm) System Messenger Express 6.2-8.04 (built Feb 28 2007)
Content-type: multipart/mixed; boundary=--fd6f69e97502447677bd
Content-language: es
X-Accept-Language: es
Priority: normal
Precedence: list
References: <48BFC3CD.7050402@mat.ucm.es>
[1. text/html]...
<DIV>Estimados compañeros,</DIV>
<DIV>Espero que hayáis disfrutado de vuestras vacaciones.</DIV>
<DIV> </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
;; Discourage HTML, enriched or image (image spam):
mm-discouraged-alternatives
'("text/html" "text/richtext" "text/enriched" "multipart/related"
"image/.*")
;; Display choice buttons for alternatives (suggested by Katsumi Yamaoka) and
;; signed messages:
gnus-buttonized-mime-types '("multipart/alternative" ".*/signed")
;; Don't render HTML automatically:
mm-automatic-display (remove "text/html" mm-automatic-display)
;; Render HTML with w3m
mm-text-html-renderer 'w3m
;; Use wget instead of `url.el' (for nnweb-type google), cause it seems to
;; work more reliable for me.
mm-url-use-external t)
Uwe Brauer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problems with mails containing html
2008-09-07 9:55 problems with mails containing html Uwe Brauer
@ 2008-09-08 0:55 ` Katsumi Yamaoka
2008-09-08 9:58 ` Uwe Brauer
0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2008-09-08 0:55 UTC (permalink / raw)
To: ding
>>>>> 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> </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.
Regards,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problems with mails containing html
2008-09-08 0:55 ` Katsumi Yamaoka
@ 2008-09-08 9:58 ` Uwe Brauer
2008-09-08 10:29 ` Katsumi Yamaoka
0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2008-09-08 9:58 UTC (permalink / raw)
To: ding
[-- 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> </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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problems with mails containing html
2008-09-08 9:58 ` Uwe Brauer
@ 2008-09-08 10:29 ` Katsumi Yamaoka
2008-09-08 13:08 ` Uwe Brauer
0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2008-09-08 10:29 UTC (permalink / raw)
To: ding
>>>>> Uwe Brauer wrote:
> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (start end)
> "Render region in current buffer and replace with result." (interactive "r")
[...]
> w3m-region(2924 4174 nil "iso-8859-1")
The version of emacs-w3m you use is too old (v1.3.x or older).
Please use the latest one:
http://cvs.namazu.org/emacs-w3m.tar.gz
Or the last released version of emacs-w3m that is somewhat old
but might work:
http://emacs-w3m.namazu.org/emacs-w3m-1.4.4.tar.gz
Regards,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problems with mails containing html
2008-09-08 10:29 ` Katsumi Yamaoka
@ 2008-09-08 13:08 ` Uwe Brauer
0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2008-09-08 13:08 UTC (permalink / raw)
To: ding
>>>>> "Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>> Uwe Brauer wrote:
>> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (start end)
>> "Render region in current buffer and replace with result." (interactive "r")
> [...]
>> w3m-region(2924 4174 nil "iso-8859-1")
> The version of emacs-w3m you use is too old (v1.3.x or older).
> Please use the latest one:
> http://cvs.namazu.org/emacs-w3m.tar.gz
thanks this is one solution,
- the other is going back to your suggestion of your other
mail and erasing
mm-automatic-display (remove "text/html"
mm-automatic-display)
mm-text-html-renderer 'w3m
from my gnus setting.
However in order that this works I had to upgrade my gnus to the latest
CVS version. This solution is faster.....
Uwe Brauer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-09-08 13:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-07 9:55 problems with mails containing html Uwe Brauer
2008-09-08 0:55 ` Katsumi Yamaoka
2008-09-08 9:58 ` Uwe Brauer
2008-09-08 10:29 ` Katsumi Yamaoka
2008-09-08 13:08 ` Uwe Brauer
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).