comparison lisp/mail/rnews.el @ 14040:187735b53d52

Comment fixes.
author Karl Heuer <kwzh@gnu.org>
date Fri, 05 Jan 1996 22:21:28 +0000
parents 3e97c809ace1
children 83f275dcd93a
comparison
equal deleted inserted replaced
14039:831c5fda97f4 14040:187735b53d52
41 ;; bound rmail-output to C-o; and changed header-field commands binding to 41 ;; bound rmail-output to C-o; and changed header-field commands binding to
42 ;; agree with the new C-c C-f usage in sendmail 42 ;; agree with the new C-c C-f usage in sendmail
43 ;; tower@prep Sep 3 1986 43 ;; tower@prep Sep 3 1986
44 ;; added news-rotate-buffer-body 44 ;; added news-rotate-buffer-body
45 ;; tower@prep Oct 17 1986 45 ;; tower@prep Oct 17 1986
46 ;; made messages more user friendly, cleanuped news-inews 46 ;; made messages more user friendly, cleaned up news-inews
47 ;; move posting and mail code to new file rnewpost.el 47 ;; move posting and mail code to new file rnewpost.el
48 ;; tower@prep Oct 29 1986 48 ;; tower@prep Oct 29 1986
49 ;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly 49 ;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly
50 ;; tower@prep Nov 21 1986 50 ;; tower@prep Nov 21 1986
51 ;; added tower@prep 22 Apr 87 51 ;; added tower@prep 22 Apr 87
794 (signal 'file-error (cdr error))) 794 (signal 'file-error (cdr error)))
795 nil))) 795 nil)))
796 (setq tem news-list-of-files) 796 (setq tem news-list-of-files)
797 (while tem 797 (while tem
798 (if (or (not (string-match "^[0-9]*$" (car tem))) 798 (if (or (not (string-match "^[0-9]*$" (car tem)))
799 ;; dont get confused by directories that look like numbers 799 ;; don't get confused by directories that look like numbers
800 (file-directory-p 800 (file-directory-p
801 (concat file-directory "/" (car tem))) 801 (concat file-directory "/" (car tem)))
802 (<= (string-to-int (car tem)) end-file-no)) 802 (<= (string-to-int (car tem)) end-file-no))
803 (setq news-list-of-files 803 (setq news-list-of-files
804 (delq (car tem) news-list-of-files))) 804 (delq (car tem) news-list-of-files)))
856 t))) 856 t)))
857 857
858 (defun news-add-news-group (gp) 858 (defun news-add-news-group (gp)
859 "Resubscribe to or add a USENET news group named GROUP (a string)." 859 "Resubscribe to or add a USENET news group named GROUP (a string)."
860 ; @@ (completing-read ...) 860 ; @@ (completing-read ...)
861 ; @@ could be based on news library file ../active (slightly facist) 861 ; @@ could be based on news library file ../active (slightly fascist)
862 ; @@ or (expensive to compute) all directories under the news spool directory 862 ; @@ or (expensive to compute) all directories under the news spool directory
863 (interactive "sAdd news group: ") 863 (interactive "sAdd news group: ")
864 (let ((file-dir (concat news-path (string-subst-char ?/ ?. gp)))) 864 (let ((file-dir (concat news-path (string-subst-char ?/ ?. gp))))
865 (save-excursion 865 (save-excursion
866 (if (null (assoc gp news-group-article-assoc)) 866 (if (null (assoc gp news-group-article-assoc))