info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: From newbie: Internet adverts not readable with gnus?


From: Rohan Nicholls
Subject: Re: From newbie: Internet adverts not readable with gnus?
Date: Mon, 21 Feb 2005 11:30:17 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

romeomedina@libero.it writes:
>
> . From http://emacs-w3m.namazu.org I downloaded the package
> emacs-w3m-1.4.3.tar.gz and copied it into the ~/tmp dir. Then,
> $ cd ~/tmp
> $ tar xzvf emacs-w3m-1.4.3.tar.gz
> $ cd emacs-w3m-1.4.3
> $ ./configure
> $ make
> # make install

I don't know where your make install is setting things or where your
gnus is, but I did notice this.
------------------------------------------------------------------------
|     If the various versions of Gnusae are installed in your system (it
|     is likely that there are the released version and the development
|     version of Gnusae), make sure that priority is given to the
|     directory where the gnus.elc file which you use is installed in the
|     load-path.  To do that, use the --with-addpath option as follows:
|
|         % ./configure --with-addpath=/usr/local/share/emacs/site-lisp/gnus
---------------------------------------------------------------------------
I have everything set up locally, so I had to be careful with the
install, but everything is running perfectly.  You have a lot of make
installs in the previous statements, I am just wondering where they are
being setup, especially the emacs-w3m, if it is being installed to
somewhere not on the default or your customized load path, emacs will
not know where to find it which leads to your error below.

> . I was suggested to put in my .gnus.el the line:
> (setq mm-inline-text-html-renderer 'w3m)

possibly removing the inline from this variable will help out. see my
settings below.

> , 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
> ----------------------------------------------------------------

This usually indicates that the emacs-w3m library is not in your load
path.  Where did you install it?  I set all the directories explicitly
to have it install into a directory called emacs-w3m under my site-lisp
directory. 

Here are the bits and pieces from my .emac and .gnus that seem to work
for me.
from the .emacs file

(setq my-gnus-directory "~/software/source/gnus-5.10.6")
(add-to-list 'load-path (expand-file-name (concat site-lisp-dir "/emacs-w3m")))
(add-to-list 'load-path (expand-file-name (concat my-gnus-directory
"/lisp")))

(require 'w3m-load)
;; to be able to read the info files
(add-to-list 'Info-directory-list (expand-file-name 
                                   (concat site-lisp-dir
                                   "/emacs-w3m/info")))
;; to be able to load the icons. This will need to be set explicitly to
;; whereever you installed your icons
(setq w3m-icon-directory (expand-file-name 
                                   (concat site-lisp-dir "/emacs-w3m/icons")))

>From the .gnus file
;; using w3m with gnus
(setq mm-text-html-renderer 'w3m)
;;; if you want images to render
(setq mm-inline-text-html-with-images t)

I hope this helps.  I have just recently started using the emacs-w3m
package, and love it, and had no problems getting it to integrate with
gnus once those settings were in place.  Remember to set your icons
directory if you are using icons, or you will get a new error about not
finding the icons.

I have just switched to gnus myself, and after a week or so of being
uncomfortable I have been very happy with it, only wish it wouldn't crash emacs
every so often (probably some setting of mine).

Good luck,

rohan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]