* Gnus html again
@ 2003-10-08 19:00 Roger Mason
2003-10-09 16:31 ` Roger Mason
[not found] ` <mailman.1422.1065717153.21628.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Roger Mason @ 2003-10-08 19:00 UTC (permalink / raw)
Hi,
First thanks to those who replied to my previous posting (Gnus &
html). That request for help was stimulated by the following error
(in the minibuffer) on trying to open some messages:
Wrong type argument: number-or-marker-p, nil
The following is the header information of a message that produces the
error:
From: "Maureen Moore" <mmoore@esd.mun.ca>
To: <mmoore@esd.mun.ca>
Subject: Notification of Upcoming Seminar
Date: Wed, 1 Oct 2003 14:52:57 -0230
X-Gnus-Mail-Source: file:/var/spool/mail/rmason
Message-ID: <002201c38840$acddd710$be249986@department.esd.mun.ca>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0023_01C3882B.B872D310"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Spam-Status: No, hits=-7.9 required=5.0
tests=FROM_AND_TO_SAME_5,SPAM_PHRASE_00_01,USER_IN_WHITELIST version=2.43
Lines: 547
I have no clue what is going on here and therefore no idea of the fix.
Can anyone help?
Thanks for your patience.
Roger Mason
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus html again
2003-10-08 19:00 Gnus html again Roger Mason
@ 2003-10-09 16:31 ` Roger Mason
[not found] ` <mailman.1422.1065717153.21628.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Roger Mason @ 2003-10-09 16:31 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 3850 bytes --]
Thanks to a suggestion from Nick Dokos, I have a backtrace:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
+(nil 12)
font-spatial-to-canonical("+12pt")
css-expand-length("+12pt" t)
css-expand-value(height "+12pt")
css-parse-args(238 257)
css-parse("file:/usr/local/share/default.css" nil nil)
w3-find-default-stylesheets()
w3-refresh-stylesheets()
w3-do-setup()
mm-setup-w3()
mm-inline-text((#<buffer *mm*<2>> ("text/html" (charset . "us-ascii")) quoted-printable nil nil nil nil nil))
mm-display-inline((#<buffer *mm*<2>> ("text/html" (charset . "us-ascii")) quoted-printable nil nil nil nil nil))
mm-display-part((#<buffer *mm*<2>> ("text/html" (charset . "us-ascii")) 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>\0ÉÊ!\n\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\a\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\vj\x01\v@;^[\x01æ\v!b\x01\x0e4\x0e5q\x0e6)\x1e7\x1e8ç\v!\n@d}èé\x0e\x13Gê\x0e9@!E\x01âI\x01\x0e9GS\x0e2\x1e2@;Y\x01\x0e2@^\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 face keymap 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-mouse-face-prop gnus-article-mouse-face gnus-article-button-face gnus-mime-button-map ...] 16)
gnus-mime-display-alternative(((#<buffer *mm*> ("text/plain" ...) 7bit nil nil nil nil nil) (#<buffer *mm*<2>> ("text/html" ...) quoted-printable nil nil nil nil nil)) nil nil 1)
gnus-mime-display-part(("multipart/alternative" (#<buffer *mm*> ("text/plain" ...) 7bit nil nil nil nil nil) (#<buffer *mm*<2>> ("text/html" ...) quoted-printable nil nil nil nil nil)))
mapcar(gnus-mime-display-part (("multipart/alternative" (#<buffer *mm*> ... 7bit nil nil nil nil nil) (#<buffer *mm*<2>> ... quoted-printable nil nil nil nil nil)) (#<buffer *mm*<3>> ("application/msword" ...) base64 nil ("attachment" ...) nil nil nil)))
gnus-mime-display-mixed((("multipart/alternative" (#<buffer *mm*> ... 7bit nil nil nil nil nil) (#<buffer *mm*<2>> ... quoted-printable nil nil nil nil nil)) (#<buffer *mm*<3>> ("application/msword" ...) base64 nil ("attachment" ...) nil nil nil)))
gnus-mime-display-part(("multipart/mixed" ("multipart/alternative" (#<buffer *mm*> ... 7bit nil nil nil nil nil) (#<buffer *mm*<2>> ... quoted-printable nil nil nil nil nil)) (#<buffer *mm*<3>> ("application/msword" ...) base64 nil ("attachment" ...) nil nil nil)))
gnus-display-mime()
gnus-article-prepare-display()
gnus-article-prepare(2 nil)
gnus-summary-display-article(2 nil)
gnus-summary-select-article(nil nil pseudo)
gnus-summary-scroll-up(1)
* call-interactively(gnus-summary-scroll-up)
It is
evident from this that gnus is using w3 to decode html. However,
although I have w3 installed I have never been able to get it to work
reliably so I use w3m as my emacs browser. I wish to use w3m to
decode inline html also.
mm-inline-media-tests includes the entry: ("text/html" mm-inline-text
(lambda (handle) (locate-library "w3m")))
which is set in my .emacs through the customization mechanism.
It appears that some other variable needs to be set: but which one(s)?
Thanks,
Roger Mason
[-- Attachment #2: Type: text/plain, Size: 151 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus html again
[not found] ` <mailman.1422.1065717153.21628.help-gnu-emacs@gnu.org>
@ 2003-10-10 0:32 ` Jesper Harder
0 siblings, 0 replies; 3+ messages in thread
From: Jesper Harder @ 2003-10-10 0:32 UTC (permalink / raw)
Roger Mason <rmason@esd.mun.ca> writes:
> Thanks to a suggestion from Nick Dokos, I have a backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
> +(nil 12)
> font-spatial-to-canonical("+12pt")
I can't reproduce this particular error. Maybe it's fixed in a newer
version of W3.
> It appears that some other variable needs to be set: but which
> one(s)?
It's very simple in Gnus 5.10 -- all you need is:
(setq mm-text-html-renderer 'w3m)
I don't remember how to do it in Gnus 5.9.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-10 0:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-08 19:00 Gnus html again Roger Mason
2003-10-09 16:31 ` Roger Mason
[not found] ` <mailman.1422.1065717153.21628.help-gnu-emacs@gnu.org>
2003-10-10 0:32 ` Jesper Harder
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 read-only IMAP folder(s) and NNTP newsgroup(s).