Some fixes to follow coding conventions in files from Gnus.
authorPavel Janík <Pavel@Janik.cz>
Sun, 15 Jul 2001 17:42:53 +0000 (17:42 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sun, 15 Jul 2001 17:42:53 +0000 (17:42 +0000)
36 files changed:
lisp/ChangeLog
lisp/gnus/binhex.el
lisp/gnus/earcon.el
lisp/gnus/gnus-agent.el
lisp/gnus/gnus-art.el
lisp/gnus/gnus-audio.el
lisp/gnus/gnus-logic.el
lisp/gnus/gnus-ml.el
lisp/gnus/gnus-mlspl.el
lisp/gnus/gnus-setup.el
lisp/gnus/gnus-srvr.el
lisp/gnus/gnus-sum.el
lisp/gnus/gnus-uu.el
lisp/gnus/gnus-vm.el
lisp/gnus/ietf-drums.el
lisp/gnus/mail-parse.el
lisp/gnus/mail-prsvr.el
lisp/gnus/mail-source.el
lisp/gnus/mm-bodies.el
lisp/gnus/mm-decode.el
lisp/gnus/mm-encode.el
lisp/gnus/mm-partial.el
lisp/gnus/mm-util.el
lisp/gnus/mm-uu.el
lisp/gnus/mm-view.el
lisp/gnus/mml.el
lisp/gnus/nnimap.el
lisp/gnus/nnoo.el
lisp/gnus/parse-time.el
lisp/gnus/rfc1843.el
lisp/gnus/rfc2045.el
lisp/gnus/rfc2047.el
lisp/gnus/rfc2104.el
lisp/gnus/rfc2231.el
lisp/gnus/time-date.el
lisp/gnus/uudecode.el

index dd3a62a..ad854a4 100644 (file)
@@ -1,5 +1,19 @@
 2001-07-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
+       * gnus/binhex.el, gnus/binhex.el, gnus/earcon.el,
+       gnus/gnus-agent.el, gnus/gnus-art.el, gnus/gnus-audio.el,
+       gnus/gnus-logic.el, gnus/gnus-ml.el, gnus/gnus-mlspl.el,
+       gnus/gnus-setup.el, gnus/gnus-srvr.el, gnus/gnus-sum.el,
+       gnus/gnus-uu.el, gnus/gnus-vm.el, gnus/ietf-drums.el,
+       gnus/mail-parse.el, gnus/mail-prsvr.el, gnus/mail-source.el,
+       gnus/mm-bodies.el, gnus/mm-decode.el, gnus/mm-encode.el,
+       gnus/mm-partial.el, gnus/mm-util.el, gnus/mm-uu.el,
+       gnus/mm-view.el, gnus/mml.el, gnus/nnimap.el, gnus/nnoo.el,
+       gnus/parse-time.el, gnus/rfc1843.el, gnus/rfc2045.el,
+       gnus/rfc2047.el, gnus/rfc2104.el, gnus/rfc2231.el,
+       gnus/time-date.el, gnus/uudecode.el: Some fixes to follow coding
+       conventions in files from Gnus.
+
        * abbrevlist.el, array.el, buff-menu.el, calendar/appt.el,
        case-table.el, cdl.el, cmuscheme.el, compare-w.el, completion.el,
        custom.el, derived.el, dired-aux.el, disp-table.el, dos-vars.el,
index 1b09628..8eea11c 100644 (file)
@@ -1,4 +1,4 @@
-;;; binhex.el -- elisp native binhex decode
+;;; binhex.el --- elisp native binhex decode
 ;; Copyright (c) 1998 Free Software Foundation, Inc.
 
 ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
index 0b53c34..71ef72a 100644 (file)
@@ -1,4 +1,4 @@
-;;; earcon.el --- Sound effects for messages
+;;; earcon.el --- sound effects for messages
 
 ;; Copyright (C) 1996, 2000 Free Software Foundation
 
index 3f3a3cb..65f23c6 100644 (file)
@@ -1106,7 +1106,7 @@ the actual number of articles toggled is returned."
          (error 
           (unless (funcall gnus-agent-confirmation-function
                            (format "Error (%s).  Continue? " err))
-            (error "Cannot fetch articles into the Gnus agent.")))
+            (error "Cannot fetch articles into the Gnus agent")))
          (quit 
           (unless (funcall gnus-agent-confirmation-function
                            (format "Quit (%s).  Continue? " err))
index d535cef..d812582 100644 (file)
@@ -2508,7 +2508,7 @@ The directory to save in defaults to `gnus-article-save-directory'."
   (when (string-equal command "")
     (if gnus-last-shell-command
        (setq command gnus-last-shell-command)
-      (error "A command is required.")))
+      (error "A command is required")))
   (gnus-eval-in-buffer-window gnus-article-buffer
     (save-restriction
       (widen)
index 8906745..b94de4b 100644 (file)
@@ -1,4 +1,4 @@
-;;; gnus-audio.el --- Sound effects for Gnus
+;;; gnus-audio.el --- sound effects for Gnus
 ;; Copyright (C) 1996, 2000 Free Software Foundation
 
 ;; Author: Steven L. Baur <steve@miranova.com>
index 03b1c1c..9d2c009 100644 (file)
 
 (provide 'gnus-logic)
 
-;;; gnus-logic.el ends here.
+;;; gnus-logic.el ends here
index d7c8fb3..f95cde2 100644 (file)
@@ -1,4 +1,4 @@
-;;; gnus-ml.el --- Mailing list minor mode for Gnus
+;;; gnus-ml.el --- mailing list minor mode for Gnus
 
 ;; Copyright (C) 2000 Free Software Foundation, Inc.
 
index 57b12a7..70619b5 100644 (file)
 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 ;; Boston, MA 02111-1307, USA.
 
+;;; Commentary:
+
+;;; Code:
+
 (eval-when-compile (require 'cl))
 (require 'gnus)
 (require 'gnus-sum)
@@ -225,3 +229,5 @@ Calling (gnus-group-split-fancy nil nil \"mail.misc\") returns:
     split))
 
 (provide 'gnus-mlspl)
+
+;;; gnus-mlspl.el ends here
index 84fc218..54c5b1b 100644 (file)
@@ -1,4 +1,4 @@
-;;; gnus-setup.el --- Initialization & Setup for Gnus 5
+;;; gnus-setup.el --- initialization & setup for Gnus 5
 
 ;; Copyright (C) 1995, 1996, 2000 Free Software Foundation, Inc.
 
index 03c1a46..2b7d82e 100644 (file)
@@ -806,4 +806,4 @@ buffer.
 
 (provide 'gnus-srvr)
 
-;;; gnus-srvr.el ends here.
+;;; gnus-srvr.el ends here
index 5719417..fa93337 100644 (file)
@@ -7918,7 +7918,7 @@ groups."
                       force t))
      (t (setq force t)))
     (if (and raw (not force) (equal gnus-newsgroup-name "nndraft:drafts"))
-       (error "Can't edit the raw article in group nndraft:drafts."))
+       (error "Can't edit the raw article in group nndraft:drafts"))
     (save-excursion
       (set-buffer gnus-summary-buffer)
       (let ((mail-parse-charset gnus-newsgroup-charset)
index 50c74e9..4cbe01a 100644 (file)
@@ -2134,4 +2134,4 @@ If no file has been included, the user will be asked for a file."
 
 (provide 'gnus-uu)
 
-;; gnus-uu.el ends here
+;;; gnus-uu.el ends here
index 53b741f..9024926 100644 (file)
@@ -105,4 +105,4 @@ save those articles instead."
 
 (provide 'gnus-vm)
 
-;;; gnus-vm.el ends here.
+;;; gnus-vm.el ends here
index b39decb..7e3db07 100644 (file)
@@ -1,4 +1,4 @@
-;;; ietf-drums.el --- Functions for parsing RFC822bis headers
+;;; ietf-drums.el --- functions for parsing RFC822bis headers
 ;; Copyright (C) 1998, 1999, 2000
 ;;        Free Software Foundation, Inc.
 
index d0ce7da..13ecd48 100644 (file)
@@ -1,4 +1,4 @@
-;;; mail-parse.el --- Interface functions for parsing mail
+;;; mail-parse.el --- interface functions for parsing mail
 ;; Copyright (C) 1998, 1999, 2000
 ;;        Free Software Foundation, Inc.
 
index 2566abc..a22accf 100644 (file)
@@ -1,4 +1,4 @@
-;;; mail-prsvr.el --- Interface variables for parsing mail
+;;; mail-prsvr.el --- interface variables for parsing mail
 ;; Copyright (C) 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index 8e7d602..a35e506 100644 (file)
@@ -444,7 +444,7 @@ Return the number of files that were found."
                 (error
                  (unless (yes-or-no-p
                           (format "Mail source error (%s).  Continue? " err))
-                   (error "Cannot get new mail."))
+                   (error "Cannot get new mail"))
                  0))))))))
 
 (defun mail-source-make-complex-temp-name (prefix)
@@ -756,7 +756,7 @@ If ARGS, PROMPT is used as an argument to `format'."
 This only works when `display-time' is enabled."
   (interactive "P")
   (if (not mail-source-primary-source)
-      (error "Need to set `mail-source-primary-source' to check for new mail."))
+      (error "Need to set `mail-source-primary-source' to check for new mail"))
   (let ((on (if (null arg)
                (not mail-source-report-new-mail)
              (> (prefix-numeric-value arg) 0))))
index eb0483a..51a16a6 100644 (file)
@@ -1,4 +1,4 @@
-;;; mm-bodies.el --- Functions for decoding MIME things
+;;; mm-bodies.el --- functions for decoding MIME things
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -264,4 +264,4 @@ The characters in CHARSET should then be decoded."
 
 (provide 'mm-bodies)
 
-;; mm-bodies.el ends here
+;;; mm-bodies.el ends here
index e272007..c603e79 100644 (file)
@@ -1,4 +1,4 @@
-;;; mm-decode.el --- Functions for decoding MIME things
+;;; mm-decode.el --- functions for decoding MIME things
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index 65fc34a..40a256d 100644 (file)
@@ -1,4 +1,4 @@
-;;; mm-encode.el --- Functions for encoding MIME things 
+;;; mm-encode.el --- functions for encoding MIME things 
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index 734b2a0..c65ddfa 100644 (file)
@@ -66,7 +66,7 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
        gnus-displaying-mime handles buffer)
     (unless (mm-handle-cache handle)
       (unless id
-       (error "Can not find message/partial id."))
+       (error "Can not find message/partial id"))
       (setq phandles
            (sort (cons handle 
                        (mm-partial-find-parts
@@ -99,7 +99,7 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
          (if ntotal
              (if total
                  (unless (eq total ntotal) 
-                 (error "The numbers of total are different."))
+                 (error "The numbers of total are different"))
                (setq total ntotal)))
          (unless (< nn n)
            (unless (eq nn n)
@@ -149,4 +149,4 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
                  (error nil))
                (delete-region ,(point-min-marker) ,(point-max-marker))))))))))
 
-;; mm-partial.el ends here
+;;; mm-partial.el ends here
index 529f568..aaff8e3 100644 (file)
@@ -1,4 +1,4 @@
-;;; mm-util.el --- Utility functions for MIME things
+;;; mm-util.el --- utility functions for MIME things
 ;; Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index c50c04b..4526330 100644 (file)
@@ -1,4 +1,4 @@
-;;; mm-uu.el -- Return uu stuff as mm handles
+;;; mm-uu.el --- return uu stuff as mm handles
 ;; Copyright (c) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
@@ -23,7 +23,6 @@
 
 ;;; Commentary:
 
-
 ;;; Code:
 
 (eval-when-compile (require 'cl))
index 9f389ba..a54fe03 100644 (file)
@@ -1,4 +1,4 @@
-;;; mm-view.el --- Functions for viewing MIME objects
+;;; mm-view.el --- functions for viewing MIME objects
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 
 (provide 'mm-view)
 
-;; mm-view.el ends here
+;;; mm-view.el ends here
index 83b16f1..87aff3e 100644 (file)
@@ -1,4 +1,4 @@
-;;; mml.el --- package for parsing and validating MML documents
+;;; mml.el --- package for parsing and validating MML documents
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index b1c5cac..a117ea0 100644 (file)
@@ -385,7 +385,7 @@ If EXAMINE is non-nil the group is selected read-only."
                      "nnimap: Group %s is not uidvalid.  Continue? " group)))
                imap-current-mailbox
              (imap-mailbox-unselect)
-             (error "nnimap: Group %s is not uid-valid." group))
+             (error "nnimap: Group %s is not uid-valid" group))
          (nnheader-report 'nnimap (imap-error-text)))))))
 
 (defun nnimap-replace-whitespace (string)
index 45bc275..272a247 100644 (file)
@@ -306,4 +306,4 @@ All functions will return nil and report an error."
                                                     backend function))))))))
 (provide 'nnoo)
 
-;;; nnoo.el ends here.
+;;; nnoo.el ends here
index d003251..bf593eb 100644 (file)
@@ -1,4 +1,4 @@
-;;; parse-time.el --- Parsing time strings
+;;; parse-time.el --- parsing time strings
 
 ;; Copyright (C) 1996, 2000 by Free Software Foundation, Inc.
 
index c3bb790..484f0f2 100644 (file)
@@ -4,7 +4,7 @@
 ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
 ;; Keywords: news HZ HZ+ mail i18n
 
-;; This file is part of GNU Emacs.
+;; 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
index 70c8c39..ff7716a 100644 (file)
@@ -1,4 +1,4 @@
-;;; rfc2045.el --- Functions for decoding rfc2045 headers
+;;; rfc2045.el --- functions for decoding rfc2045 headers
 
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
index e5d5abc..a5f3151 100644 (file)
@@ -1,4 +1,4 @@
-;;; rfc2047.el --- Functions for encoding and decoding rfc2047 messages
+;;; rfc2047.el --- functions for encoding and decoding rfc2047 messages
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index 3d45982..64dbe53 100644 (file)
@@ -51,6 +51,8 @@
 ;;; 1999-10-23  included in pgnus
 ;;; 2000-08-15  `rfc2104-hexstring-to-bitstring'
 ;;; 2000-05-12  added sha-1 example, added test case reference
+
+;;; Code:
  
 (eval-when-compile (require 'cl))
 
index a086162..3b3345f 100644 (file)
@@ -1,4 +1,4 @@
-;;; rfc2231.el --- Functions for decoding rfc2231 headers
+;;; rfc2231.el --- functions for decoding rfc2231 headers
 
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
index 3bfb9a4..823954b 100644 (file)
@@ -1,4 +1,4 @@
-;;; time-date.el --- Date and time handling functions
+;;; time-date.el --- date and time handling functions
 ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
index 9f423eb..18f04c2 100644 (file)
@@ -1,11 +1,11 @@
-;;; uudecode.el -- elisp native uudecode
+;;; uudecode.el --- elisp native uudecode
 
 ;; Copyright (c) 1998, 1999, 2000 Free Software Foundation, Inc.
 
 ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
 ;; Keywords: uudecode news
 
-;; This file is part of GNU Emacs.
+;; 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