* Can't fine mime.parse
@ 2010-11-11 14:30 Haines Brown
2010-11-14 14:29 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Haines Brown @ 2010-11-11 14:30 UTC (permalink / raw)
To: info-gnus-english
I installed emacs-w3m and put these lines into .emacs:
"~/elisp/w3m/"
(require 'w3m-load)
(require 'mime-w3m)
In ~/elisp/w3m there is, i.a., mime-w3m.el.
However creates an error because w3m is looking for mime-parse.el:
Debugger entered--Lisp error: (file-error "Cannot open load file" "mime-parse")
require(mime-parse)
(progn (require (quote cl)) (require (quote mime-parse)) (require (quote mime)) (require (quote w3m)) (defvar mime-preview-condition) (defvar mime-setup-enable-inline-html) (defvar mime-view-mode-default-map))
(eval-when-compile (require (quote cl)) (require (quote mime-parse)) (require (quote mime)) (require (quote w3m)) (defvar mime-preview-condition) (defvar mime-setup-enable-inline-html) (defvar mime-view-mode-default-map))
eval-buffer(#<buffer *load*<2>> nil "/home/haines/elisp/w3m/mime-w3m.el" nil t) ; Reading at buffer position 1714
load-with-code-conversion("/home/haines/elisp/w3m/mime-w3m.el" "/home/haines/elisp/w3m/mime-w3m.el" nil t)
require(mime-w3m)
eval-buffer(#<buffer *load*> nil "/home/haines/.emacs" nil t) ; Reading at buffer position 13954
load-with-code-conversion("/home/haines/.emacs" "/home/haines/.emacs" nil nil)
load("~/.emacs")
reload()
call-interactively(reload t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
There is available a mime-parse.el, but I had assumed that this was
automatically a part of emacs 23. Should I go ahead and install
mime-parse (along with its dependencies: mime-def, luna and std11)? My
intuition is that this is not necessary just to get emacs to desplay
html files with w3m.
Haines Brown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't fine mime.parse
2010-11-11 14:30 Can't fine mime.parse Haines Brown
@ 2010-11-14 14:29 ` Lars Magne Ingebrigtsen
2010-11-14 17:32 ` Haines Brown
0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-11-14 14:29 UTC (permalink / raw)
To: info-gnus-english
Haines Brown <haines@HistoricalMaterialism.info> writes:
> I installed emacs-w3m and put these lines into .emacs:
>
> "~/elisp/w3m/"
>
> (require 'w3m-load)
That shouldn't be necessary...
> (require 'mime-w3m)
And that doesn't sound correct.
> There is available a mime-parse.el, but I had assumed that this was
> automatically a part of emacs 23. Should I go ahead and install
> mime-parse (along with its dependencies: mime-def, luna and std11)? My
> intuition is that this is not necessary just to get emacs to desplay
> html files with w3m.
(setq mm-text-html-renderer 'w3m)
should be sufficient -- you shouldn't have to require anything. But you
have to install w3m, of course.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't fine mime.parse
2010-11-14 14:29 ` Lars Magne Ingebrigtsen
@ 2010-11-14 17:32 ` Haines Brown
0 siblings, 0 replies; 3+ messages in thread
From: Haines Brown @ 2010-11-14 17:32 UTC (permalink / raw)
To: info-gnus-english
Lars, thank you for the suggestions. w3m is installed, but still no
rendereing of the html file.
At present I still have "~/elisp/w3m/" in my path list, which you point
out is harmless but unnecessary.
In addition, following your suggestion I added this line:
(setq mm-text-html-renderer 'w3m)
and the line, which is probably unnecessary predefined:
(require 'w3m-load)
When emacs finds a .html file, the buffer is in the HTML helper mode,
but there is no display of the file by w3m. Since w3m is not a mode,
does the original file remain displayed as an editable html markup file
in HTML Helper mode and in addition w3m automatically displays it with
the w3m browser in a different buffer?
I tried this instead of the line above, but it didn't help:
(setq mm-text-html-renderer 'true-w3m)
(add-to-list 'mm-text-html-renderer-alist
'(true-w3m mm-inline-render-with-stdin
nil "w3m" "-T" "text/html"))
Haines Brown
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-14 17:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 14:30 Can't fine mime.parse Haines Brown
2010-11-14 14:29 ` Lars Magne Ingebrigtsen
2010-11-14 17:32 ` Haines Brown
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).