* frame.el (special-display-popup-frame): Doc fix (Bug#8853).
[emacs.git] / lisp / gnus / nnnil.el
blobf20d63e70aa268399d4c44c1380b925813607a70
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 of the License, or
12 ;; (at your option) any later version.
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. If not, see <http://www.gnu.org/licenses/>.
22 ;;; Commentary:
24 ;; nnnil is a Gnus backend that provides no groups or articles. It's useful
25 ;; as a primary select method when you want all your real select methods to
26 ;; be secondary or foreign.
28 ;;; Code:
30 (eval-and-compile
31 (require 'nnheader))
33 (defvar nnnil-status-string "")
35 (defun nnnil-retrieve-headers (articles &optional group server fetch-old)
36 (with-current-buffer nntp-server-buffer
37 (erase-buffer))
38 'nov)
40 (defun nnnil-open-server (server &optional definitions)
43 (defun nnnil-close-server (&optional server)
46 (defun nnnil-request-close ()
49 (defun nnnil-server-opened (&optional server)
52 (defun nnnil-status-message (&optional server)
53 nnnil-status-string)
55 (defun nnnil-request-article (article &optional group server to-buffer)
56 (setq nnnil-status-string "No such group")
57 nil)
59 (defun nnnil-request-group (group &optional server fast)
60 (let (deactivate-mark)
61 (save-excursion
62 (set-buffer nntp-server-buffer)
63 (erase-buffer)
64 (insert "411 no such news group\n")))
65 (setq nnnil-status-string "No such group")
66 nil)
68 (defun nnnil-close-group (group &optional server)
71 (defun nnnil-request-list (&optional server)
72 (with-current-buffer nntp-server-buffer
73 (erase-buffer))
76 (defun nnnil-request-post (&optional server)
77 (setq nnnil-status-string "Read-only server")
78 nil)
80 (provide 'nnnil)
82 ;; arch-tag: a982a1a3-bc5e-4fb1-a233-d7657a3e3257