The command M-K in Subject Mode and Group Mode
(gnus-Subject-edit-global-kill
and
gnus-Group-edit-global-kill
) pops up an Emacs buffer for editing
a global KILL file. A global KILL file is created in the directory
specified by the variable gnus-article-save-directory
(default to
`~/News'), and its file name is specified by the variable
gnus-kill-file-name
(default to `KILL').
The command M-k in Subject Mode and Group Mode
(gnus-Subject-edit-local-kill
and
gnus-Group-edit-local-kill
) pops up an Emacs buffer for editing a
local KILL file. A local KILL file for a newsgroup news.group is
created as `news.group.KILL' in the directory specified by
the variable gnus-article-save-directory
if the variable
gnus-use-long-file-name
is non-nil
. Otherwise, if the
variable gnus-use-long-file-name
is nil
, the file is
created as `news/group/KILL' under the same
directory.
The major mode of these buffers is KILL-File Mode. This mode is specialized for editing Emacs lisp programs the same as Emacs-Lisp Mode. In addition to Emacs-Lisp Mode, the following commands are available:
gnus-Kill-file-kill-by-subject
).
gnus-Kill-file-kill-by-author
).
gnus-Kill-file-apply-buffer
).
gnus-Kill-file-apply-last-sexp
).
gnus-Kill-file-exit
).
gnus-Info-find-node
).
See section Texinfo Manual, to prepare an Info file of GNUS.
If KILL-File Mode is invoked from Subject Mode by the command
gnus-Subject-edit-local-kill
or
gnus-Subject-edit-global-kill
, the commands C-c C-k C-s and
C-c C-k C-a (gnus-Kill-file-kill-by-subject
and
gnus-Kill-file-kill-by-author
) insert a kill command on the
subject and author of an article where the point is on, respectively.
Otherwise, a template of a kill command is inserted.
The commands C-c C-a and C-c C-e
(gnus-Kill-file-apply-buffer
and
gnus-Kill-file-apply-last-sexp
) can be used to test kill commands
being edited in current buffer. The kill commands are applied to
current newsgroup.