aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/ChangeLog57
-rw-r--r--lisp/gnus/gnus-art.el37
-rw-r--r--lisp/gnus/gnus-sieve.el2
-rw-r--r--lisp/gnus/gnus-sum.el2
-rw-r--r--lisp/gnus/legacy-gnus-agent.el8
-rw-r--r--lisp/gnus/message.el4
-rw-r--r--lisp/gnus/nnfolder.el2
-rw-r--r--lisp/gnus/spam-stat.el4
8 files changed, 76 insertions, 40 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 83b5e3820e6..e210b4def7c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,10 +1,42 @@
12005-06-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * gnus-sieve.el (gnus-sieve-article-add-rule):
4 * legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
5 * spam-stat.el (spam-stat-buffer-change-to-spam)
6 (spam-stat-buffer-change-to-non-spam): Follow error conventions.
7
8 * message.el (message-is-yours-p):
9 * gnus-sum.el (gnus-auto-select-subject): Fix quoting in docstring.
10
112005-06-14 Katsumi Yamaoka <yamaoka@jpl.org>
12
13 * mm-view.el (mm-inline-text): Withdraw the last change.
14
152005-06-09 Katsumi Yamaoka <yamaoka@jpl.org>
16
17 * mm-view.el (mm-inline-text): Turn off adaptive-fill-mode while
18 executing enriched-decode.
19
202005-06-04 Luc Teirlinck <teirllm@auburn.edu>
21
22 * gnus-art.el (article-update-date-lapsed): Use `save-match-data'.
23
242005-06-04 Lute Kamstra <lute@gnu.org>
25
26 * nnfolder.el (nnfolder-read-folder): Make sure that undo
27 information is never recorded.
28
292005-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * gnus-art.el (gnus-emphasis-alist): Disable the strikethru thingy.
32
12005-06-02 Katsumi Yamaoka <yamaoka@jpl.org> 332005-06-02 Katsumi Yamaoka <yamaoka@jpl.org>
2 34
3 * pop3.el (pop3-md5): Run md5 in the binary mode. 35 * pop3.el (pop3-md5): Run md5 in the binary mode.
4 (pop3-md5-program-args): New variable. 36 (pop3-md5-program-args): New variable.
5 37
6 * starttls.el (starttls-set-process-query-on-exit-flag): Use 38 * starttls.el (starttls-set-process-query-on-exit-flag):
7 eval-and-compile. 39 Use eval-and-compile.
8 40
92005-05-31 Katsumi Yamaoka <yamaoka@jpl.org> 412005-05-31 Katsumi Yamaoka <yamaoka@jpl.org>
10 42
@@ -29,8 +61,8 @@
29 61
30 * mml2015.el: Bind pgg-default-user-id when compiling. 62 * mml2015.el: Bind pgg-default-user-id when compiling.
31 63
32 * nndraft.el (nndraft-request-associate-buffer): Use 64 * nndraft.el (nndraft-request-associate-buffer):
33 write-contents-functions instead of write-contents-hooks if it is 65 Use write-contents-functions instead of write-contents-hooks if it is
34 available. 66 available.
35 67
36 * nnheader.el (nnheader-find-file-noselect): Bind find-file-hook 68 * nnheader.el (nnheader-find-file-noselect): Bind find-file-hook
@@ -58,7 +90,7 @@
58 90
592005-05-31 Kevin Greiner <kgreiner@xpediantsolutions.com> 912005-05-31 Kevin Greiner <kgreiner@xpediantsolutions.com>
60 92
61 * gnus-group.el (): Require gnus-sum and autoload functions to 93 * gnus-group.el: Require gnus-sum and autoload functions to
62 resolve warnings when gnus-group.el compiled alone. 94 resolve warnings when gnus-group.el compiled alone.
63 95
642005-05-30 Reiner Steib <Reiner.Steib@gmx.de> 962005-05-30 Reiner Steib <Reiner.Steib@gmx.de>
@@ -195,7 +227,7 @@
195 (gnus-summary-high-unread-face): Ditto. 227 (gnus-summary-high-unread-face): Ditto.
196 (gnus-summary-low-unread-face): Ditto. 228 (gnus-summary-low-unread-face): Ditto.
197 (gnus-summary-normal-unread-face): Ditto. 229 (gnus-summary-normal-unread-face): Ditto.
198 (gnus-summary-high-read-face, gnus-summary-low-read-face): Diito 230 (gnus-summary-high-read-face, gnus-summary-low-read-face): Ditto.
199 (gnus-summary-normal-read-face, gnus-splash-face): Ditto. 231 (gnus-summary-normal-read-face, gnus-splash-face): Ditto.
200 232
201 * message.el (message-minibuffer-local-map): Add :group. 233 * message.el (message-minibuffer-local-map): Add :group.
@@ -205,7 +237,7 @@
205 (sieve-manage-server-eol, sieve-manage-client-eol): Ditto. 237 (sieve-manage-server-eol, sieve-manage-client-eol): Ditto.
206 (sieve-manage-streams, sieve-manage-stream-alist): Ditto. 238 (sieve-manage-streams, sieve-manage-stream-alist): Ditto.
207 (sieve-manage-authenticators): Ditto. 239 (sieve-manage-authenticators): Ditto.
208 (sieve-manage-authenticator-alist): Ditto 240 (sieve-manage-authenticator-alist): Ditto.
209 (sieve-manage-default-port): Ditto. 241 (sieve-manage-default-port): Ditto.
210 242
211 * sieve-mode.el (sieve-control-commands-face): Add :group. 243 * sieve-mode.el (sieve-control-commands-face): Add :group.
@@ -438,11 +470,11 @@
438 470
439 * nnimap.el (nnimap-date-days-ago): Ditto. 471 * nnimap.el (nnimap-date-days-ago): Ditto.
440 472
441 * gnus-demon.el (parse-time-string): Added autoload. 473 * gnus-demon.el (parse-time-string): Add autoload.
442 474
443 * gnus-delay.el (parse-time-string): Added autoload. 475 * gnus-delay.el (parse-time-string): Add autoload.
444 476
445 * gnus-art.el (parse-time-string): Added autoload. 477 * gnus-art.el (parse-time-string): Add autoload.
446 478
447 * nnultimate.el (parse-time): Require for `parse-time-string'. 479 * nnultimate.el (parse-time): Require for `parse-time-string'.
448 480
@@ -496,14 +528,13 @@
496 (rfc2047-encoded-word-regexp): Don't use shy group. 528 (rfc2047-encoded-word-regexp): Don't use shy group.
497 (rfc2047-decode-region): Follow rfc2047-encoded-word-regexp change. 529 (rfc2047-decode-region): Follow rfc2047-encoded-word-regexp change.
498 (rfc2047-parse-and-decode): Ditto. 530 (rfc2047-parse-and-decode): Ditto.
499 (rfc2047-decode): Treat the ascii coding-system as raw-text by 531 (rfc2047-decode): Treat the ascii coding-system as raw-text by default.
500 default.
501 532
5022005-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org> 5332005-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
503 534
504 * rfc2047.el (rfc2047-encode-encoded-words): New variable. 535 * rfc2047.el (rfc2047-encode-encoded-words): New variable.
505 (rfc2047-field-value): Strip props. 536 (rfc2047-field-value): Strip props.
506 (rfc2047-encode-message-header): Disabled header folding -- not 537 (rfc2047-encode-message-header): Disable header folding -- not
507 all headers can be folded, and this should be done by the message 538 all headers can be folded, and this should be done by the message
508 composition mode. Probably. I think. 539 composition mode. Probably. I think.
509 (rfc2047-encodable-p): Say that =? needs encoding. 540 (rfc2047-encodable-p): Say that =? needs encoding.
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 4af363c6b2e..498596dd63c 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -367,8 +367,12 @@ advertisements. For example:
367 (or (nth 4 spec) 3) 367 (or (nth 4 spec) 3)
368 (intern (format "gnus-emphasis-%s" (nth 2 spec))))) 368 (intern (format "gnus-emphasis-%s" (nth 2 spec)))))
369 types)) 369 types))
370 '(("\\(\\s-\\|^\\)\\(-\\(\\(\\w\\|-[^-]\\)+\\)-\\)\\(\\s-\\|[?!.,;]\\)" 370 '(;; I've never seen anyone use this strikethru convention whereas I've
371 2 3 gnus-emphasis-strikethru) 371 ;; several times seen it triggered by normal text. --Stef
372 ;; Miles suggests that this form is sometimes used but for italics,
373 ;; so maybe we should map it to `italic'.
374 ;; ("\\(\\s-\\|^\\)\\(-\\(\\(\\w\\|-[^-]\\)+\\)-\\)\\(\\s-\\|[?!.,;]\\)"
375 ;; 2 3 gnus-emphasis-strikethru)
372 ("\\(\\s-\\|^\\)\\(_\\(\\(\\w\\|_[^_]\\)+\\)_\\)\\(\\s-\\|[?!.,;]\\)" 376 ("\\(\\s-\\|^\\)\\(_\\(\\(\\w\\|_[^_]\\)+\\)_\\)\\(\\s-\\|[?!.,;]\\)"
373 2 3 gnus-emphasis-underline)))) 377 2 3 gnus-emphasis-underline))))
374 "*Alist that says how to fontify certain phrases. 378 "*Alist that says how to fontify certain phrases.
@@ -3034,20 +3038,21 @@ function and want to see what the date was before converting."
3034 3038
3035(defun article-update-date-lapsed () 3039(defun article-update-date-lapsed ()
3036 "Function to be run from a timer to update the lapsed time line." 3040 "Function to be run from a timer to update the lapsed time line."
3037 (let (deactivate-mark) 3041 (save-match-data
3038 (save-excursion 3042 (let (deactivate-mark)
3039 (ignore-errors 3043 (save-excursion
3040 (walk-windows 3044 (ignore-errors
3041 (lambda (w) 3045 (walk-windows
3042 (set-buffer (window-buffer w)) 3046 (lambda (w)
3043 (when (eq major-mode 'gnus-article-mode) 3047 (set-buffer (window-buffer w))
3044 (let ((mark (point-marker))) 3048 (when (eq major-mode 'gnus-article-mode)
3045 (goto-char (point-min)) 3049 (let ((mark (point-marker)))
3046 (when (re-search-forward "^X-Sent:" nil t) 3050 (goto-char (point-min))
3047 (article-date-lapsed t)) 3051 (when (re-search-forward "^X-Sent:" nil t)
3048 (goto-char (marker-position mark)) 3052 (article-date-lapsed t))
3049 (move-marker mark nil)))) 3053 (goto-char (marker-position mark))
3050 nil 'visible))))) 3054 (move-marker mark nil))))
3055 nil 'visible))))))
3051 3056
3052(defun gnus-start-date-timer (&optional n) 3057(defun gnus-start-date-timer (&optional n)
3053 "Start a timer to update the X-Sent header in the article buffers. 3058 "Start a timer to update the X-Sent header in the article buffers.
diff --git a/lisp/gnus/gnus-sieve.el b/lisp/gnus/gnus-sieve.el
index e7409c39df0..db9c8c91f5d 100644
--- a/lisp/gnus/gnus-sieve.el
+++ b/lisp/gnus/gnus-sieve.el
@@ -129,7 +129,7 @@ Return nil if no rule could be guessed."
129 (let ((rule (gnus-sieve-guess-rule-for-article)) 129 (let ((rule (gnus-sieve-guess-rule-for-article))
130 (info (gnus-get-info gnus-newsgroup-name))) 130 (info (gnus-get-info gnus-newsgroup-name)))
131 (if (null rule) 131 (if (null rule)
132 (error "Could not guess rule for article.") 132 (error "Could not guess rule for article")
133 (gnus-info-set-params info (cons rule (gnus-info-params info))) 133 (gnus-info-set-params info (cons rule (gnus-info-params info)))
134 (message "Added rule in group %s for article: %s" gnus-newsgroup-name 134 (message "Added rule in group %s for article: %s" gnus-newsgroup-name
135 rule))))) 135 rule)))))
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 8d4c536229b..5447da73fde 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -320,7 +320,7 @@ This variable can either be the symbols `first' (place point on the
320first subject), `unread' (place point on the subject line of the first 320first subject), `unread' (place point on the subject line of the first
321unread article), `best' (place point on the subject line of the 321unread article), `best' (place point on the subject line of the
322higest-scored article), `unseen' (place point on the subject line of 322higest-scored article), `unseen' (place point on the subject line of
323the first unseen article), 'unseen-or-unread' (place point on the subject 323the first unseen article), `unseen-or-unread' (place point on the subject
324line of the first unseen article or, if all article have been seen, on the 324line of the first unseen article or, if all article have been seen, on the
325subject line of the first unread article), or a function to be called to 325subject line of the first unread article), or a function to be called to
326place point on some subject line." 326place point on some subject line."
diff --git a/lisp/gnus/legacy-gnus-agent.el b/lisp/gnus/legacy-gnus-agent.el
index 16b0cf6c89f..50675b0ba27 100644
--- a/lisp/gnus/legacy-gnus-agent.el
+++ b/lisp/gnus/legacy-gnus-agent.el
@@ -25,7 +25,7 @@ converted to the compressed format."
25 ((file-directory-p member) 25 ((file-directory-p member)
26 (push member search-in)) 26 (push member search-in))
27 ((equal (file-name-nondirectory member) ".agentview") 27 ((equal (file-name-nondirectory member) ".agentview")
28 (setq converted-something 28 (setq converted-something
29 (or (gnus-agent-convert-agentview member) 29 (or (gnus-agent-convert-agentview member)
30 converted-something)))))) 30 converted-something))))))
31 31
@@ -175,7 +175,7 @@ converted to the compressed format."
175 (t 175 (t
176 t)))))) 176 t))))))
177 (kill-buffer buffer)) 177 (kill-buffer buffer))
178 (error "Change gnus-agent-expire-days to an integer for gnus to start.")))) 178 (error "Change gnus-agent-expire-days to an integer for gnus to start"))))
179 179
180;; The gnus-agent-unlist-expire-days has its own conversion prompt. 180;; The gnus-agent-unlist-expire-days has its own conversion prompt.
181;; Therefore, hide the default prompt. 181;; Therefore, hide the default prompt.
@@ -198,8 +198,8 @@ possible that the hook was persistently saved."
198 198
199 (when (cond ((eq (type-of func) 'compiled-function) 199 (when (cond ((eq (type-of func) 'compiled-function)
200 ;; Search def. of compiled function for gnus-agent-do-once string 200 ;; Search def. of compiled function for gnus-agent-do-once string
201 (let* (definition 201 (let* (definition
202 print-level 202 print-level
203 print-length 203 print-length
204 (standard-output 204 (standard-output
205 (lambda (char) 205 (lambda (char)
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index eaac4e390a9..b65eec7ec12 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -5912,9 +5912,9 @@ want to get rid of this query permanently."))
5912 5912
5913(defun message-is-yours-p () 5913(defun message-is-yours-p ()
5914 "Non-nil means current article is yours. 5914 "Non-nil means current article is yours.
5915If you have added 'cancel-messages to 'message-shoot-gnksa-feet', all articles 5915If you have added 'cancel-messages to `message-shoot-gnksa-feet', all articles
5916are yours except those that have Cancel-Lock header not belonging to you. 5916are yours except those that have Cancel-Lock header not belonging to you.
5917Instead of shooting GNKSA feet, you should modify 'message-alternative-emails' 5917Instead of shooting GNKSA feet, you should modify `message-alternative-emails'
5918regexp to match all of yours addresses." 5918regexp to match all of yours addresses."
5919 ;; Canlock-logic as suggested by Per Abrahamsen 5919 ;; Canlock-logic as suggested by Per Abrahamsen
5920 ;; <abraham@dina.kvl.dk> 5920 ;; <abraham@dina.kvl.dk>
diff --git a/lisp/gnus/nnfolder.el b/lisp/gnus/nnfolder.el
index 961f124a614..20cdb3da273 100644
--- a/lisp/gnus/nnfolder.el
+++ b/lisp/gnus/nnfolder.el
@@ -875,6 +875,7 @@ deleted. Point is left where the deleted region was."
875 nnfolder-file-coding-system)) 875 nnfolder-file-coding-system))
876 (nnheader-find-file-noselect file t))))) 876 (nnheader-find-file-noselect file t)))))
877 (mm-enable-multibyte) ;; Use multibyte buffer for future copying. 877 (mm-enable-multibyte) ;; Use multibyte buffer for future copying.
878 (buffer-disable-undo)
878 (if (equal (cadr (assoc group nnfolder-scantime-alist)) 879 (if (equal (cadr (assoc group nnfolder-scantime-alist))
879 (nth 5 (file-attributes file))) 880 (nth 5 (file-attributes file)))
880 ;; This looks up-to-date, so we don't do any scanning. 881 ;; This looks up-to-date, so we don't do any scanning.
@@ -901,7 +902,6 @@ deleted. Point is left where the deleted region was."
901 maxid start end newscantime 902 maxid start end newscantime
902 novbuf articles newnum 903 novbuf articles newnum
903 buffer-read-only) 904 buffer-read-only)
904 (buffer-disable-undo)
905 (setq maxid (cdr active)) 905 (setq maxid (cdr active))
906 906
907 (unless (or gnus-nov-is-evil nnfolder-nov-is-evil 907 (unless (or gnus-nov-is-evil nnfolder-nov-is-evil
diff --git a/lisp/gnus/spam-stat.el b/lisp/gnus/spam-stat.el
index ca1cdc6ce60..6af9b2e2b3f 100644
--- a/lisp/gnus/spam-stat.el
+++ b/lisp/gnus/spam-stat.el
@@ -370,7 +370,7 @@ Use `spam-stat-ngood', `spam-stat-nbad', `spam-stat-good',
370 (lambda (word count) 370 (lambda (word count)
371 (let ((entry (gethash word spam-stat))) 371 (let ((entry (gethash word spam-stat)))
372 (if (not entry) 372 (if (not entry)
373 (error "This buffer has unknown words in it.") 373 (error "This buffer has unknown words in it")
374 (spam-stat-set-good entry (- (spam-stat-good entry) count)) 374 (spam-stat-set-good entry (- (spam-stat-good entry) count))
375 (spam-stat-set-bad entry (+ (spam-stat-bad entry) count)) 375 (spam-stat-set-bad entry (+ (spam-stat-bad entry) count))
376 (spam-stat-set-score entry (spam-stat-compute-score entry)) 376 (spam-stat-set-score entry (spam-stat-compute-score entry))
@@ -386,7 +386,7 @@ Use `spam-stat-ngood', `spam-stat-nbad', `spam-stat-good',
386 (lambda (word count) 386 (lambda (word count)
387 (let ((entry (gethash word spam-stat))) 387 (let ((entry (gethash word spam-stat)))
388 (if (not entry) 388 (if (not entry)
389 (error "This buffer has unknown words in it.") 389 (error "This buffer has unknown words in it")
390 (spam-stat-set-good entry (+ (spam-stat-good entry) count)) 390 (spam-stat-set-good entry (+ (spam-stat-good entry) count))
391 (spam-stat-set-bad entry (- (spam-stat-bad entry) count)) 391 (spam-stat-set-bad entry (- (spam-stat-bad entry) count))
392 (spam-stat-set-score entry (spam-stat-compute-score entry)) 392 (spam-stat-set-score entry (spam-stat-compute-score entry))