Gnus Manual. Node: Hooking New Backends Into Gnus

PREVWriting New Backends UPBackend Interface NEXTMail-like Backends

10.5.2.5: Hooking New Backends Into Gnus

Having Gnus start using your new backend is rather easy---you just declare it with the gnus-declare-backend functions. This will enter the backend into the gnus-valid-select-methods variable.

gnus-declare-backend takes two parameters---the backend name and an arbitrary number of abilities.

Here's an example:

(gnus-declare-backend "nnchoke" 'mail 'respool 'address)

The abilities can be:

mail

This is a mailish backend---followups should (probably) go via mail.

post This is a newsish backend---followups should (probably) go via news.
post-mail This backend supports both mail and news.
none This is neither a post nor mail backend---it's something completely different.
respool It supports respooling---or rather, it is able to modify its source articles and groups.
address The name of the server should be in the virtual server name. This is true for almost all backends.
prompt-address The user should be prompted for an address when doing commands like B in the group buffer. This is true for backends like nntp, but not nnmbox, for instance.

PREVWriting New Backends UPBackend Interface NEXTMail-like Backends