From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4562 Path: news.gmane.org!not-for-mail From: Rohan Nicholls Newsgroups: gmane.emacs.gnus.user Subject: Re: From newbie: Internet adverts not readable with gnus? Date: Mon, 21 Feb 2005 11:30:17 +0100 Message-ID: References: <1107788419.392671.71880@o13g2000cwo.googlegroups.com> <1107879817.944459.320780@l41g2000cwc.googlegroups.com> <878y5xjkru.fsf@amaterasu.srvr.nix> <1108937488.180289.57520@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670447 23787 80.91.229.2 (31 Jan 2006 01:20:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:20:47 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:57 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uninett.no!uio.no!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!transit.news.xs4all.nl!post.news.xs4all.nl!rhinewceros.xs4all.nl!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:t1S5Xc/A2fdmZBUkGa2vC4Y9IHM= Original-NNTP-Posting-Host: 213.10.187.212 Original-X-Trace: 1108981817 dreader8.news.xs4all.nl 16997 jenandro/[::ffff:213.10.187.212]:33665 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4703 Original-Lines: 98 X-Gnus-Article-Number: 4703 Tue Jan 17 17:33:57 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4562 Archived-At: 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