If you recall how to subscribe to servers (see Finding the News)
you will remember that
gnus-select-method let you write a definition in Emacs Lisp of
what servers you want to see when you start up. The alternate
approach is to use foreign servers and groups. “Foreign” here means
they are not coming from the select methods. All foreign server
configuration and subscriptions are stored only in the
Below are some group mode commands for making and editing general foreign
groups, as well as commands to ease the creation of a few
special-purpose groups. All these commands insert the newly created
groups under point—
gnus-subscribe-newsgroup-method is not
Changes from the group editing commands are stored in
gnus-startup-file). An alternative is the
gnus-parameters, See Group Parameters.
gnus-group-make-group). Gnus will prompt you for a name, a method and possibly an address. For an easier way to subscribe to NNTP groups (see Browse Foreign Server).
gnus-group-read-ephemeral-group). Gnus will prompt you for a name, a method and an address.
gnus-group-rename-group). This is valid only on some groups—mail groups mostly. This command might very well be quite slow on some back ends.
nneethingback end (
gnus-group-enter-directory). See Anything Groups.
gnus-group-make-doc-group). If you give a prefix to this command, you will be prompted for a file name and a file type. Currently supported types are
mailman. If you run this command without a prefix, Gnus will guess at the file type. See Document Groups.
gnus-group-make-web-group). If you give a prefix to this command, make a solid group instead. You will be prompted for the search engine type and the search string. Valid search engine types include
gmane. See Web Searches.
If you use the
gnus-group-make-rss-group). You will be prompted for an URL. See RSS.
gnus-group-delete-group). If given a prefix, this function will actually delete all the articles in the group, and forcibly remove the group itself from the face of the Earth. Use a prefix only if you are absolutely sure of what you are doing. This command can't be used on read-only groups (like
gnus-group-make-empty-virtual). See Virtual Groups.
gnus-group-add-to-virtual). Uses the process/prefix convention.
See Select Methods, for more information on the various select methods.
gnus-activate-foreign-newsgroups is a positive number,
Gnus will check all foreign groups with this level or lower at startup.
This might take quite a while, especially if you subscribe to lots of
groups from different NNTP servers. Also see Group Levels;
gnus-activate-level also affects activation of foreign
The following commands create ephemeral groups. They can be called not only from the Group buffer, but in any Gnus buffer.
gnus-gmane-group-download-format. Gnus will prompt you for a group name, the start article number and an the article range.
gnus-read-ephemeral-gmane-group, but the group name and the article number and range are constructed from a given URL. Supported URL formats include: http://thread.gmane.org/gmane.foo.bar/12300/focus=12399, http://thread.gmane.org/gmane.foo.bar/12345/, http://article.gmane.org/gmane.foo.bar/12345/, http://permalink.gmane.org/gmane.foo.bar/12345/, and http://news.gmane.org/group/gmane.foo.bar/thread=12345.
Some of these command are also useful for article buttons, See Article Buttons.
Here is an example:
(require 'gnus-art) (add-to-list 'gnus-button-alist '("#\\([0-9]+\\)\\>" 1 (string-match "\\<emacs\\>" (or gnus-newsgroup-name "")) gnus-read-ephemeral-emacs-bug-group 1))