Next: Group Parameters, Previous: Marking Groups, Up: Group Buffer
If you recall how to subscribe to servers (see Finding the News)
you will remember that gnus-secondary-select-methods and
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
~/.newsrc.eld file.
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
consulted.
Changes from the group editing commands are stored in
~/.newsrc.eld (gnus-startup-file). An alternative is the
variable 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.
gnus-group-customize).
gnus-group-edit-group-method).
gnus-group-edit-group-parameters).
gnus-group-edit-group).
gnus-group-make-directory-group).
gnus-group-make-help-group).
nneething back 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 mbox, babyl,
digest, news, rnews, mmdf, forward,
rfc934, rfc822-forward, mime-parts,
standard-digest, slack-digest, clari-briefs,
nsmail, outlook, oe-dbx, and mailman. If
you run this command without a prefix, Gnus will guess at the file
type. See Document Groups.
gnus-useful-groups
(gnus-group-make-useful-group).
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 google, dejanews, and gmane.
See Web Searches.
If you use the google search engine, you can limit the search
to a particular group by using a match string like
‘shaving group:alt.sysadmin.recovery’.
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 nntp groups), though.
nnvirtual group
(gnus-group-make-empty-virtual). See Virtual Groups.
nnvirtual group
(gnus-group-add-to-virtual). Uses the process/prefix convention.
See Select Methods, for more information on the various select methods.
If 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
newsgroups.
The following commands create ephemeral groups. They can be called not only from the Group buffer, but in any Gnus buffer.
gnus-read-ephemeral-gmane-groupgnus-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-urlgnus-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.
gnus-read-ephemeral-emacs-bug-groupgnus-bug-group-download-format-alist.
gnus-read-ephemeral-debian-bug-groupgnus-read-ephemeral-emacs-bug-group.
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))