]> code.delx.au - gnu-emacs/blobdiff - lisp/mhspool.el
(set-visited-file-name): Change the auto save file name.
[gnu-emacs] / lisp / mhspool.el
index f9a610d988e1aec72e24fda44eac9f6f585a7a38..091c753d1af7158cf5f62666eea8368612030e1c 100644 (file)
@@ -1,27 +1,28 @@
-;;; MH folder access using NNTP for GNU Emacs
-;; Copyright (C) 1988, 1989 Fujitsu Laboratories LTD.
-;; Copyright (C) 1988, 1989, 1990 Masanobu UMEDA
-;; $Header: mhspool.el,v 1.5 90/03/23 13:25:23 umerin Locked $
+;;; mhspool.el --- MH folder access using NNTP for GNU Emacs
+
+;; Copyright (C) 1988, 1989, 1990 Free Software Foundation, Inc.
+
+;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
+;; Maintainer: FSF
+;; Keywords: mail, news
 
 ;; This file is part of GNU Emacs.
 
+;; GNU Emacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
 ;; GNU Emacs is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY.  No author or distributor
-;; accepts responsibility to anyone for the consequences of using it
-;; or for whether it serves any particular purpose or works at all,
-;; unless he says so in writing.  Refer to the GNU Emacs General Public
-;; License for full details.
-
-;; Everyone is granted permission to copy, modify and redistribute
-;; GNU Emacs, but only under the conditions described in the
-;; GNU Emacs General Public License.   A copy of this license is
-;; supposed to have been given to you along with GNU Emacs so you
-;; can know your rights and responsibilities.  It should be in a
-;; file named COPYING.  Among other things, the copyright notice
-;; and this notice must be preserved on all copies.
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
 
-(provide 'mhspool)
-(require 'nntp)
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING.  If not, write to
+;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+
+;; Commentary:
 
 ;; This package enables you to read mail or articles in MH folders, or
 ;; articles saved by GNUS. In any case, the file names of mail or
 ;; no way to specify hierarchical directory now.) In this case, the
 ;; name of the NNTP server passed to GNUS must be `:Mail'.
 
+;; Code:
+
+(require 'nntp)
+
 (defvar mhspool-list-directory-switches '("-R")
-  "*Switches for nntp-request-list to pass to `ls' for gettting file lists.
+  "*Switches for `nntp-request-list' to pass to `ls' for gettting file lists.
 One entry should appear on one line. You may need to add `-1' option.")
 
 \f
@@ -324,8 +329,7 @@ If the stream is opened, return T, otherwise return NIL."
       )))
 
 (defun mhspool-request-last ()
-  "Set current article pointer to the previous article
-in the current news group."
+  "Set current article pointer to the previous article in the current newsgroup."
   (error "MHSPOOL: LAST is not implemented."))
 
 (defun mhspool-request-next ()
@@ -403,3 +407,7 @@ in the current news group."
       (setq idx (1+ idx)))
     string
     ))
+
+(provide 'mhspool)
+
+;;; mhspool.el ends here