1 ;;; nnnil.el --- empty backend for Gnus
3 ;; This file is in the public domain.
5 ;; Author: Paul Jarc <prj@po.cwru.edu>
7 ;; This file is part of GNU Emacs.
9 ;; GNU Emacs is free software; you can redistribute it and/or modify
10 ;; it under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation; either version 3, or (at your option)
14 ;; GNU Emacs is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;; GNU General Public License for more details.
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with GNU Emacs; see the file COPYING. If not, write to the
21 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
26 ;; nnnil is a Gnus backend that provides no groups or articles. It's useful
27 ;; as a primary select method when you want all your real select methods to
28 ;; be secondary or foreign.
35 (defvar nnnil-status-string
"")
37 (defun nnnil-retrieve-headers (articles &optional group server fetch-old
)
38 (with-current-buffer nntp-server-buffer
42 (defun nnnil-open-server (server &optional definitions
)
45 (defun nnnil-close-server (&optional server
)
48 (defun nnnil-request-close ()
51 (defun nnnil-server-opened (&optional server
)
54 (defun nnnil-status-message (&optional server
)
57 (defun nnnil-request-article (article &optional group server to-buffer
)
58 (setq nnnil-status-string
"No such group")
61 (defun nnnil-request-group (group &optional server fast
)
62 (let (deactivate-mark)
64 (set-buffer nntp-server-buffer
)
66 (insert "411 no such news group\n")))
67 (setq nnnil-status-string
"No such group")
70 (defun nnnil-close-group (group &optional server
)
73 (defun nnnil-request-list (&optional server
)
74 (with-current-buffer nntp-server-buffer
78 (defun nnnil-request-post (&optional server
)
79 (setq nnnil-status-string
"Read-only server")
84 ;;; arch-tag: a982a1a3-bc5e-4fb1-a233-d7657a3e3257