aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-11-10 23:03:34 +0000
committerDave Love2000-11-10 23:03:34 +0000
commit850846fdde89e5d861583a6a609fe8dd2e369d4d (patch)
tree13c81615c69a390e7c1e8c80e8a87621c8045c23
parent2d447df6f8d838a70332c2113d6ca2e46b8b4e68 (diff)
downloademacs-850846fdde89e5d861583a6a609fe8dd2e369d4d.tar.gz
emacs-850846fdde89e5d861583a6a609fe8dd2e369d4d.zip
(gnus-agent-confirmation-function): Add :version.
(gnus-agent-lib-file, gnus-agent-load-alist) (gnus-agent-save-alist, gnus-agent-article-name): Use expand-file-name.
-rw-r--r--lisp/gnus/ChangeLog36
-rw-r--r--lisp/gnus/gnus-agent.el17
2 files changed, 47 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 3fca4023056..aabe1de012b 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,37 @@
12000-11-10 Dave Love <fx@gnu.org> 12000-11-10 Dave Love <fx@gnu.org>
2 2
3 * gnus-agent.el (gnus-agent-confirmation-function): Add :version.
4 (gnus-agent-lib-file, gnus-agent-load-alist)
5 (gnus-agent-save-alist, gnus-agent-article-name): Use
6 expand-file-name.
7
8 * gnus-group.el (gnus-group-name-charset-method-alist): Add
9 :version.
10 (nnkiboze-score-file): Defvar when compiling.
11
12 * gnus-start.el (gnus-read-newsrc-file): Add :version.
13
14 * gnus-art.el (gnus-article-banner-alist)
15 (gnus-emphasize-whitespace-regexp, gnus-ignored-mime-types)
16 (gnus-article-date-lapsed-new-header)
17 (gnus-article-mime-match-handle-function, gnus-mime-action-alist)
18 (gnus-treat-strip-list-identifiers, gnus-treat-date-iso8601)
19 (gnus-treat-strip-headers-in-body)
20 (gnus-treat-capitalize-sentences, gnus-treat-play-sounds)
21 (gnus-treat-translate): Add :version.
22 (gnus-article-mime-part-function): Fix defcustom.
23
24 * nnmail.el (nnmail-expiry-target)
25 (nnmail-scan-directory-mail-source-once, nnmail-extra-headers)
26 (nnmail-split-header-length-limit): Add :version.
27
28 * gnus-sum.el (gnus-auto-expirable-marks)
29 (gnus-inhibit-user-auto-expire, gnus-list-identifiers)
30 (gnus-extra-headers, gnus-ignored-from-addresses)
31 (gnus-newsgroup-ignored-charsets)
32 (gnus-group-highlight-words-alist)
33 (gnus-summary-show-article-charset-alist): Add :version.
34
3 * catchup.pbm, describe-group.pbm, exit-gnus.pbm, get-news.pbm: 35 * catchup.pbm, describe-group.pbm, exit-gnus.pbm, get-news.pbm:
4 gnntg.pbm, kill-group.pbm, subscribe.pbm, unsubscribe.pbm: New 36 gnntg.pbm, kill-group.pbm, subscribe.pbm, unsubscribe.pbm: New
5 files, converted from the XPMs. 37 files, converted from the XPMs.
@@ -15,6 +47,10 @@
15 * message.el (message-mode) <adaptive-fill-regexp>: 47 * message.el (message-mode) <adaptive-fill-regexp>:
16 <adaptive-fill-first-line-regexp>: Use [:alnum:] in regexp range. 48 <adaptive-fill-first-line-regexp>: Use [:alnum:] in regexp range.
17 (message-newline-and-reformat): Likewise. 49 (message-newline-and-reformat): Likewise.
50 (message-forward-as-mime, message-forward-ignored-headers)
51 (message-buffer-naming-style, message-default-charset)
52 (message-dont-reply-to-names, message-send-mail-partially-limit):
53 Add :version.
18 54
19 * mm-util.el: Doc fixes. 55 * mm-util.el: Doc fixes.
20 (mm-mime-charset): Don't use the raw result of 56 (mm-mime-charset): Don't use the raw result of
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el
index 39f1dde08c4..3f3a3cbb32d 100644
--- a/lisp/gnus/gnus-agent.el
+++ b/lisp/gnus/gnus-agent.el
@@ -2,7 +2,6 @@
2;; Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. 2;; Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
3 3
4;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 4;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
5;; Maintainer: bugs@gnus.org
6;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
7 6
8;; GNU Emacs is free software; you can redistribute it and/or modify 7;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -83,12 +82,14 @@ If nil, only read articles will be expired."
83 82
84(defcustom gnus-agent-confirmation-function 'y-or-n-p 83(defcustom gnus-agent-confirmation-function 'y-or-n-p
85 "Function to confirm when error happens." 84 "Function to confirm when error happens."
85 :version "21.1"
86 :group 'gnus-agent 86 :group 'gnus-agent
87 :type 'function) 87 :type 'function)
88 88
89(defcustom gnus-agent-synchronize-flags 'ask 89(defcustom gnus-agent-synchronize-flags 'ask
90 "Indicate if flags are synchronized when you plug in. 90 "Indicate if flags are synchronized when you plug in.
91If this is `ask' the hook will query the user." 91If this is `ask' the hook will query the user."
92 :version "21.1"
92 :type '(choice (const :tag "Always" t) 93 :type '(choice (const :tag "Always" t)
93 (const :tag "Never" nil) 94 (const :tag "Never" nil)
94 (const :tag "Ask" ask)) 95 (const :tag "Ask" ask))
@@ -171,7 +172,9 @@ If this is `ask' the hook will query the user."
171 172
172(defun gnus-agent-lib-file (file) 173(defun gnus-agent-lib-file (file)
173 "The full path of the Gnus agent library FILE." 174 "The full path of the Gnus agent library FILE."
174 (concat (gnus-agent-directory) "agent.lib/" file)) 175 (expand-file-name file
176 (file-name-as-directory
177 (expand-file-name "agent.lib" (gnus-agent-directory)))))
175 178
176;;; Fetching setup functions. 179;;; Fetching setup functions.
177 180
@@ -1043,14 +1046,14 @@ the actual number of articles toggled is returned."
1043 (setq gnus-agent-article-alist 1046 (setq gnus-agent-article-alist
1044 (gnus-agent-read-file 1047 (gnus-agent-read-file
1045 (if dir 1048 (if dir
1046 (concat dir ".agentview") 1049 (expand-file-name ".agentview" dir)
1047 (gnus-agent-article-name ".agentview" group))))) 1050 (gnus-agent-article-name ".agentview" group)))))
1048 1051
1049(defun gnus-agent-save-alist (group &optional articles state dir) 1052(defun gnus-agent-save-alist (group &optional articles state dir)
1050 "Save the article-state alist for GROUP." 1053 "Save the article-state alist for GROUP."
1051 (let ((file-name-coding-system nnmail-pathname-coding-system)) 1054 (let ((file-name-coding-system nnmail-pathname-coding-system))
1052 (with-temp-file (if dir 1055 (with-temp-file (if dir
1053 (concat dir ".agentview") 1056 (expand-file-name ".agentview" dir)
1054 (gnus-agent-article-name ".agentview" group)) 1057 (gnus-agent-article-name ".agentview" group))
1055 (princ (setq gnus-agent-article-alist 1058 (princ (setq gnus-agent-article-alist
1056 (nconc gnus-agent-article-alist 1059 (nconc gnus-agent-article-alist
@@ -1060,8 +1063,10 @@ the actual number of articles toggled is returned."
1060 (insert "\n")))) 1063 (insert "\n"))))
1061 1064
1062(defun gnus-agent-article-name (article group) 1065(defun gnus-agent-article-name (article group)
1063 (concat (gnus-agent-directory) (gnus-agent-group-path group) "/" 1066 (expand-file-name (if (stringp article) article (string-to-number article))
1064 (if (stringp article) article (string-to-number article)))) 1067 (file-name-as-directory
1068 (expand-file-name (gnus-agent-group-path group)
1069 (gnus-agent-directory)))))
1065 1070
1066(defun gnus-agent-batch-confirmation (msg) 1071(defun gnus-agent-batch-confirmation (msg)
1067 "Show error message and return t." 1072 "Show error message and return t."