Latest

Archive

Community news

C++

Communities and Content

Databases

Editorials

Emacs

General

HTML

Java

Notices

PHP

XML

Apache

C++

Database

General

HTML

Java

Javascript

Linux

Object oriented programming

Open source

Perl

PHP

Python

Ruby

SOAP

XML

Suggest a link

Advertise on zez

Contribute

Contact us

About zez


Using Emacs for reading mail - Part 1



Adding newsgroups

Since Gnus is mainly used for reading News I'll start off by explaining how to read newsgroups. If you're not interested in newsgroups I still think you should read this, because it gives some basic information on using Gnus which I won't repeat.

The first you can do is to set your default news server. It is done by setting the gnus-select-method variable, we do this with:

(setq gnus-select-method '(nntp "news.online.no"))

This sets the default selection method to use nntp (which is News) and use the server news.online.no for reading the news. Change the server to fit your needs. After you have done this simply start Gnus again by pressing R.

Gnus will then start a scan in the newsgroup and after a while (may take several minutes) you will have a couple of default groups selected for you, one of them being gnu.emacs.gnus which is the primary place for asking questions regarding Gnus.

Now you probably want to subscribe yourselves to some other newsgroups as well, to do this you first have to enter the server buffer as it is called. You do this by pressing ^, you will then be presented by a list looking something like:

     {nnfolder:archive} (closed)
     {nndoc:gnus-help} (opened)
     {nntp:news.online.no} (opened)

As you might see our News server news.online.no is here, any additional servers you add will also be present here. To start subscribing groups you move the cursor to the wanted server and press enter.

It should then start to download a group list from the server, again this might take some time. After it is finished you will be presented by a huge list of groups, each with a K in front of them. This means that it is not subscribed.
To subscribe a group you place the cursor over it and press u, the letter infront of them should then disappear, this means you have succesfully subscribed it. To unsubscribe you press u again.
A tip for finding groups is to use Emacs's search function, this is invoked with C-s (Hold Control and press s.

After you are done selecting groups you can quit the group list by pressing q and then quit the server buffer by pressing q again. This puts you back in the group list again with your newly subscribed groups, all your new groups will have a * in front of them which means that they have never been used before,
Gnus in action
in other words it does not know the number of messages in it.

To refresh your new and old groups you press g, Gnus will then scan all your subscribed groups for new messages. You might not always want to scan all groups but for the moment you have to, I'll explain a method for scanning only a selected set of groups later. After the groups have been scanned a number will be put in front of them, this is the number of unread messages.

To start reading messages in a group simply place the cursor over the group and press enter, a list will then be fetched and displayed. Pressing enter on a message will display it, pressing space either shows the next page in the message or jumps to the next message, pressing backspace shows the previous page in the message. To quit reading a group press q, pressing q is actually a common key for quitting operations in Gnus.

For a whole list of commands I suggest you look trough the menu items, Misc, Groups, Group and Topics.


<< Previous page | 1 | < 2 > | 3 | 4 | Next page >> | Printer-friendly page |

Comment List


There are no comments.


Forgot your password?

Register a new user

Results

Polls