From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Rodolfo Medina" Newsgroups: gmane.emacs.help Subject: Re: Reading HTML mails with gnus Date: Mon, 21 Feb 2005 18:02:26 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109005588 7647 80.91.229.2 (21 Feb 2005 17:06:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 17:06:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 21 18:06:28 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3H0m-0003rt-U1 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Feb 2005 18:06:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3HHl-0003Yg-S0 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Feb 2005 12:23:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3HH8-0003Ms-DI for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:23:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3HGz-0003GN-4B for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:23:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3HGy-0003Fx-WE for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:23:05 -0500 Original-Received: from [193.70.192.147] (helo=smtp20.libero.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3H0f-0007WD-RY for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 12:06:14 -0500 Original-Received: from localhost (172.16.1.83) by smtp20.libero.it (7.0.027-DD01) id 41D02C9800BC5362 for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 18:06:13 +0100 Original-Received: from [151.26.53.136] (151.26.53.136) by smtp2.libero.it (7.0.027-DD01) id 41BF65E4046E5E58 for help-gnu-emacs@gnu.org; Mon, 21 Feb 2005 18:01:34 +0100 Original-Received: from 127.0.0.1 (AVG SMTP 7.0.306 [265.8.9]); Mon, 21 Feb 2005 18:02:26 +0100 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal X-Virus-Scanned: by amavisd-new at libero.it serv4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24218 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24218 Rodolfo Medina wrote: > In order to read with Gnus that kind of mails > such as Internet adverts (is that HTML mails?), > I was suggested to install w3m-el (an interface of w3m). > After some difficulties I managed to get the installation up to end, > but still can't read HTML mails via gnus. > What am I missing? > Here are the steps I followed: > [...] > from http://www.hpl.hp.com/personal/Hans_Boehm/gc/ > I downloaded the package gc.tar.gz > and copied it into the ~/tmp dir. Then, Adam Duck wrote: > Ugh... what are you using? LFS? :) No, Mandrake 10.1 Community. Why?... Rodolfo: > . I was suggested to put in my .gnus.el the line: > (setq mm-inline-text-html-renderer 'w3m) > , which I did. Besides, in the README file > which is in the emacs-w3m release it is suggested > to put in .emacs the line: > (require 'w3m-load) > . I did so, but when starting Emacs I got the following error message: > > --------------------------------------------------------------- > An error has occurred while loading `/home/rodolfo/.emacs': > > File error: "Cannot open load file", "w3m-load" > > To ensure normal operation, you should investigate the cause > of the error in your initialization file and remove it. Start > Emacs with the `--debug-init' option to view a complete error > backtrace > Loading places from ~/.emacs-places... > Loading places from /root/.emacs-places...done > ---------------------------------------------------------------- > > . Then I canceled that line from .emacs, > but the HTML mails I get via gnus still cannot be viewed. Adam: > It seems, emacs won't find your emacs-w3m package. Did you install > emacs from a package from your vendor? Then it probably got into /usr > and emacs-w3m went to /usr/local ... although my auctex is in my > load-path (albeit being in /usr/local). So, could you post your > `load-path' variable (C-h v load-path RET) and the installation > directory of emacs-w3m? Thanks, Adam. This is the output of 'C-h v load-path RET': ---------------------------------------------------------------------------- --- load-path's value is ("/usr/share/emacs/site-lisp/Mule-UCS-current" "/usr/share/emacs/21.3/site-lisp" "/usr/share/emacs/site-lisp" "/usr/share/emacs/21.3/leim" "/usr/share/emacs/21.3/lisp" "/usr/share/emacs/21.3/lisp/toolbar" "/usr/share/emacs/21.3/lisp/textmodes" "/usr/share/emacs/21.3/lisp/progmodes" "/usr/share/emacs/21.3/lisp/play" "/usr/share/emacs/21.3/lisp/obsolete" "/usr/share/emacs/21.3/lisp/net" "/usr/share/emacs/21.3/lisp/mail" "/usr/share/emacs/21.3/lisp/language" "/usr/share/emacs/21.3/lisp/international" "/usr/share/emacs/21.3/lisp/gnus" "/usr/share/emacs/21.3/lisp/eshell" "/usr/share/emacs/21.3/lisp/emulation" "/usr/share/emacs/21.3/lisp/emacs-lisp" "/usr/share/emacs/21.3/lisp/calendar") Documentation: *List of directories to search for files to load. Each element is a string (directory name) or nil (try default directory). Initialized based on EMACSLOADPATH environment variable, if any, otherwise to default specified by file `epaths.h' when Emacs was built. ---------------------------------------------------------------------------- ------- I searched the file w3m-load.el and found it in the directory '/usr/share/emacs/site-lisp/w3m'. Then I put in my .emacs the lines: (add-to-list 'load-path (expand-file-name "/usr/share/emacs/site-lisp/w3m")) (require 'w3m-load) and the above error message didn't appear any more. But still, I can't view html images within gnus (as I said above, I put in my .gnus.el the line: (setq mm-inline-text-html-renderer 'w3m) ). Any other suggestion? Thanks, Rodolfo