Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* From newbie: Internet adverts not readable with gnus?
@ 2005-02-07 15:00 romeomedina
  2005-02-07 15:31 ` Vincent Bernat
  0 siblings, 1 reply; 7+ messages in thread
From: romeomedina @ 2005-02-07 15:00 UTC (permalink / raw)


Hi.

Bare with my unexperience:
I wish to adopt gnus as my mail agent.
Though, I see gnus desn't properly show Internet advertisments
in their original formats. How come?
Is it possible to properly read them with gnus, and how?

Thanks in advance,
Rodolfo


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: From newbie: Internet adverts not readable with gnus?
  2005-02-07 15:00 From newbie: Internet adverts not readable with gnus? romeomedina
@ 2005-02-07 15:31 ` Vincent Bernat
  2005-02-08 16:23   ` romeomedina
  0 siblings, 1 reply; 7+ messages in thread
From: Vincent Bernat @ 2005-02-07 15:31 UTC (permalink / raw)


OoO Vers la fin de l'après-midi  du lundi 07 février 2005, vers 16:00,
romeomedina@libero.it disait:

> Bare with my unexperience:
> I wish to adopt gnus as my mail agent.
> Though, I see gnus desn't properly show Internet advertisments
> in their original formats. How come?
> Is it possible to properly read them with gnus, and how?

I suppose you mean HTML mails.

Install w3m-el (an interface of w3m) and add this line to your .gnus :

(setq mm-inline-text-html-renderer 'w3m)
-- 
 /* James M doesn't say fuck enough. */
        2.4.3 linux/net/core/netfilter.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: From newbie: Internet adverts not readable with gnus?
  2005-02-07 15:31 ` Vincent Bernat
@ 2005-02-08 16:23   ` romeomedina
  2005-02-10  0:55     ` Nix
  0 siblings, 1 reply; 7+ messages in thread
From: romeomedina @ 2005-02-08 16:23 UTC (permalink / raw)


Thanks:

from internet I downloaded the file w3m-0.5.1.tar.gz
(is taht okay?), but during the installation when I run ./configure
I go on getting the following message:

configure: error: gc.h not found

also after installing the following packages:
libguile12-devel, libgtk+1.2-devel, libgnomeprint2-2_0-devel,
libgtkmm2.0_1-devel, libgtkmm1.2-devel, gstreamer-GConf,
libGConf1-devel, gcj-tools, libdb4.2-devel.

Any suggestion?
What else shall I install?
Thanks,
Rodolfo


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: From newbie: Internet adverts not readable with gnus?
  2005-02-08 16:23   ` romeomedina
@ 2005-02-10  0:55     ` Nix
  2005-02-20 22:11       ` romeomedina
  0 siblings, 1 reply; 7+ messages in thread
From: Nix @ 2005-02-10  0:55 UTC (permalink / raw)


On 8 Feb 2005, romeomedina@libero.it suggested tentatively:
> What else shall I install?

The Boehm garbage collector, probably in a package named something like
libgc.

-- 
Synapsids unite! You have nothing to lose but your eggshells!


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: From newbie: Internet adverts not readable with gnus?
  2005-02-10  0:55     ` Nix
@ 2005-02-20 22:11       ` romeomedina
  2005-02-21 10:30         ` Rohan Nicholls
  0 siblings, 1 reply; 7+ messages in thread
From: romeomedina @ 2005-02-20 22:11 UTC (permalink / raw)


After some difficulties I managed to install w3m-0.5.1.tar.gz,
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,
# urpmi gcc
$ cd ~/tmp
$ tar xzvf gc.tar.gz
$ cd gc6.3
$ ./configure
$ make
$ make check
# make install

. I downloaded the package openssl-0.9.7e.tar.gz
and copied into my ~/tmp dir. Then,
$ cd ~/tmp
$ tar xzvf openssl-0.9.7e.tar.gz
$ cd openssl-0.9.7e
$ ./config
$ make
$ make test
# make install

. From http://prdownloads.sourceforge.net/w3m/
I downloaded the package w3m-0.5.1.tar.gz
and copied it into the ~/tmp dir. Then,
$ export LDFLAGS="-Xlinker -R/usr/local/lib"
$ cd ~/tmp
$ tar xzvf w3m-0.5.1.tar.gz
$ cd w3m-0.5.1
$ ./configure
$ make
# make install

. 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 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.
Does anyone have any idea?

Thanks indeed,
Rodolfo


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: From newbie: Internet adverts not readable with gnus?
  2005-02-20 22:11       ` romeomedina
@ 2005-02-21 10:30         ` Rohan Nicholls
  2005-02-23 16:08           ` romeomedina
  0 siblings, 1 reply; 7+ messages in thread
From: Rohan Nicholls @ 2005-02-21 10:30 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: From newbie: Internet adverts not readable with gnus?
  2005-02-21 10:30         ` Rohan Nicholls
@ 2005-02-23 16:08           ` romeomedina
  0 siblings, 0 replies; 7+ messages in thread
From: romeomedina @ 2005-02-23 16:08 UTC (permalink / raw)


Hi, thanks for your help.

I searched for 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:

File error: "Cannot open load file", "w3m-load"

didn't appear any more. Also, I put in my .gnus.el the lines you
suggest:

(setq mm-text-html-renderer 'w3m)
(setq mm-inline-text-html-with-images t)

. The 'concats' you set are not quite clear to me,
however in my system everything should be installed in the right place,
I think.
But still I can't view html images in gnus. :(
Do you have any other hint?
I'm quite stuck, even the emacs-w3m mailing list didn't provide help
in this concern.

Cheers,
Rodolfo


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-23 16:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07 15:00 From newbie: Internet adverts not readable with gnus? romeomedina
2005-02-07 15:31 ` Vincent Bernat
2005-02-08 16:23   ` romeomedina
2005-02-10  0:55     ` Nix
2005-02-20 22:11       ` romeomedina
2005-02-21 10:30         ` Rohan Nicholls
2005-02-23 16:08           ` romeomedina

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).