diff options
| author | Dave Love | 2000-10-27 18:06:48 +0000 |
|---|---|---|
| committer | Dave Love | 2000-10-27 18:06:48 +0000 |
| commit | 2491844d11f30fb5d599e177aea026b3607a9f6f (patch) | |
| tree | 41164738432ac0562d600f790824588b8c3052cb | |
| parent | 8bc0957aa97b196add9ac9df0ec8599945ecbefa (diff) | |
| download | emacs-2491844d11f30fb5d599e177aea026b3607a9f6f.tar.gz emacs-2491844d11f30fb5d599e177aea026b3607a9f6f.zip | |
2000-09-24 Simon Josefsson <simon@josefsson.org>
* gnus-group.el (gnus-group-nnimap-edit-acl): Check if server
support ACL's.
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-group.el (gnus-group-make-kiboze-group): Use
nnkiboze-score-file.
(gnus-group-make-kiboze-group): Fix prompt.
| -rw-r--r-- | lisp/gnus/gnus-group.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 20bf629b28e..b85cac99cad 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | 5 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 6 | ;; Maintainer: bugs@gnus.org | ||
| 6 | ;; Keywords: news | 7 | ;; Keywords: news |
| 7 | 8 | ||
| 8 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| @@ -1771,7 +1772,9 @@ Return the name of the group if selection was successful." | |||
| 1771 | (when (gnus-group-read-group t t group select-articles) | 1772 | (when (gnus-group-read-group t t group select-articles) |
| 1772 | group) | 1773 | group) |
| 1773 | ;;(error nil) | 1774 | ;;(error nil) |
| 1774 | (quit nil))))) | 1775 | (quit |
| 1776 | (message "Quit reading the ephemeral group") | ||
| 1777 | nil))))) | ||
| 1775 | 1778 | ||
| 1776 | (defun gnus-group-jump-to-group (group) | 1779 | (defun gnus-group-jump-to-group (group) |
| 1777 | "Jump to newsgroup GROUP." | 1780 | "Jump to newsgroup GROUP." |
| @@ -2359,13 +2362,14 @@ score file entries for articles to include in the group." | |||
| 2359 | "Match on header: " headers nil t)))) | 2362 | "Match on header: " headers nil t)))) |
| 2360 | (setq regexps nil) | 2363 | (setq regexps nil) |
| 2361 | (while (not (equal "" (setq regexp (read-string | 2364 | (while (not (equal "" (setq regexp (read-string |
| 2362 | (format "Match on %s (string): " | 2365 | (format "Match on %s (regexp): " |
| 2363 | header))))) | 2366 | header))))) |
| 2364 | (push (list regexp nil nil 'r) regexps)) | 2367 | (push (list regexp nil nil 'r) regexps)) |
| 2365 | (push (cons header regexps) scores)) | 2368 | (push (cons header regexps) scores)) |
| 2366 | scores))) | 2369 | scores))) |
| 2367 | (gnus-group-make-group group "nnkiboze" address) | 2370 | (gnus-group-make-group group "nnkiboze" address) |
| 2368 | (let* ((score-file (gnus-score-file-name (concat "nnkiboze:" group))) | 2371 | (let* ((nnkiboze-current-group group) |
| 2372 | (score-file (car (nnkiboze-score-file ""))) | ||
| 2369 | (score-dir (file-name-directory score-file))) | 2373 | (score-dir (file-name-directory score-file))) |
| 2370 | (unless (file-exists-p score-dir) | 2374 | (unless (file-exists-p score-dir) |
| 2371 | (make-directory score-dir)) | 2375 | (make-directory score-dir)) |
| @@ -2450,8 +2454,9 @@ score file entries for articles to include in the group." | |||
| 2450 | (error "Killed group; can't be edited")) | 2454 | (error "Killed group; can't be edited")) |
| 2451 | (unless (eq (car (setq method (gnus-find-method-for-group group))) 'nnimap) | 2455 | (unless (eq (car (setq method (gnus-find-method-for-group group))) 'nnimap) |
| 2452 | (error "%s is not an nnimap group" group)) | 2456 | (error "%s is not an nnimap group" group)) |
| 2453 | (gnus-edit-form (setq acl (nnimap-acl-get mailbox (cadr method))) | 2457 | (unless (setq acl (nnimap-acl-get mailbox (cadr method))) |
| 2454 | (format "Editing the access control list for `%s'. | 2458 | (error "Server does not support ACL's")) |
| 2459 | (gnus-edit-form acl (format "Editing the access control list for `%s'. | ||
| 2455 | 2460 | ||
| 2456 | An access control list is a list of (identifier . rights) elements. | 2461 | An access control list is a list of (identifier . rights) elements. |
| 2457 | 2462 | ||