aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/ChangeLog28
-rw-r--r--lisp/gnus/gnus-start.el6
-rw-r--r--lisp/gnus/nndiary.el30
3 files changed, 40 insertions, 24 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index dade2b4bbe5..8cb53de85fa 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,11 @@
12012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * nndiary.el (nndiary-request-create-group-functions)
4 (nndiary-request-update-info-functions)
5 (nndiary-request-accept-article-functions):
6 * gnus-start.el (gnus-subscribe-newsgroup-functions): Don't use
7 "-hooks" suffix.
8
12012-10-17 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) 92012-10-17 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2 10
3 * starttls.el (starttls-extra-arguments): Doc fix. 11 * starttls.el (starttls-extra-arguments): Doc fix.
@@ -110,7 +118,7 @@
110 118
1112012-09-05 Martin Stjernholm <mast@lysator.liu.se> 1192012-09-05 Martin Stjernholm <mast@lysator.liu.se>
112 120
113 * gnus-demon.el (gnus-demon-init): Fixed regression when IDLE is t and 121 * gnus-demon.el (gnus-demon-init): Fix regression when IDLE is t and
114 TIME is set. 122 TIME is set.
115 123
1162012-09-05 Juri Linkov <juri@jurta.org> 1242012-09-05 Juri Linkov <juri@jurta.org>
@@ -571,7 +579,7 @@
571 * gnus.el: Register gnus-registry functions. 579 * gnus.el: Register gnus-registry functions.
572 580
573 * gnus-registry.el (gnus-try-warping-via-registry): 581 * gnus-registry.el (gnus-try-warping-via-registry):
574 Moved here and indent. 582 Move here and indent.
575 583
576 * gnus-int.el (gnus-warp-to-article): 584 * gnus-int.el (gnus-warp-to-article):
577 Check whether the registry is enabled before warping. 585 Check whether the registry is enabled before warping.
@@ -703,7 +711,7 @@
703 (message-multi-smtp-send-mail): Respect the X-Message-SMTP-Method 711 (message-multi-smtp-send-mail): Respect the X-Message-SMTP-Method
704 header to implement multi-SMTP functionality. 712 header to implement multi-SMTP functionality.
705 713
706 * gnus-agent.el (gnus-agent-send-mail-function): Removed. 714 * gnus-agent.el (gnus-agent-send-mail-function): Remove.
707 (gnus-agentize): Don't set it. 715 (gnus-agentize): Don't set it.
708 (gnus-agent-send-mail): Don't use it. 716 (gnus-agent-send-mail): Don't use it.
709 717
@@ -844,8 +852,8 @@
844 852
8452012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org> 8532012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
846 854
847 * gnus-group.el (gnus-group-get-new-news): Respect 855 * gnus-group.el (gnus-group-get-new-news):
848 `gnus-group-use-permanent-levels', as documented (bug#11638). 856 Respect `gnus-group-use-permanent-levels', as documented (bug#11638).
849 857
8502012-06-10 Dave Abrahams <dave@boostpro.com> 8582012-06-10 Dave Abrahams <dave@boostpro.com>
851 859
@@ -985,7 +993,7 @@
985 (shr-insert): Allow the natural width to be computed for tables again. 993 (shr-insert): Allow the natural width to be computed for tables again.
986 (shr-tag-table-1): Rework how the natural widths are computed by 994 (shr-tag-table-1): Rework how the natural widths are computed by
987 rendering the table a third time. 995 rendering the table a third time.
988 (shr-natural-width): Removed. 996 (shr-natural-width): Remove.
989 (shr-buffer-width): New function. 997 (shr-buffer-width): New function.
990 (shr-expand-newlines): Use it. 998 (shr-expand-newlines): Use it.
991 999
@@ -1396,8 +1404,8 @@
1396 1404
13972012-01-04 Wolfgang Jenkner <wjenkner@inode.at> (tiny change) 14052012-01-04 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1398 1406
1399 * gnus-agent.el (gnus-agent-load-local): Recompute 1407 * gnus-agent.el (gnus-agent-load-local):
1400 gnus-agent-article-local on changing method. 1408 Recompute gnus-agent-article-local on changing method.
1401 1409
14022012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org> 14102012-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1403 1411
@@ -1689,8 +1697,8 @@
1689 1697
16902011-09-27 Daiki Ueno <ueno@unixuser.org> 16982011-09-27 Daiki Ueno <ueno@unixuser.org>
1691 1699
1692 * plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify 1700 * plstore.el (plstore-select-keys, plstore-encrypt-to):
1693 documentation. 1701 Clarify documentation.
1694 1702
16952011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org> 17032011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1696 1704
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 40ee78bb695..eaf17d9e579 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -291,7 +291,9 @@ claim them."
291 function 291 function
292 (repeat function))) 292 (repeat function)))
293 293
294(defcustom gnus-subscribe-newsgroup-hooks nil 294(define-obsolete-variable-alias 'gnus-subscribe-newsgroup-hooks
295 'gnus-subscribe-newsgroup-functions "24.3")
296(defcustom gnus-subscribe-newsgroup-functions nil
295 "*Hooks run after you subscribe to a new group. 297 "*Hooks run after you subscribe to a new group.
296The hooks will be called with new group's name as argument." 298The hooks will be called with new group's name as argument."
297 :version "22.1" 299 :version "22.1"
@@ -639,7 +641,7 @@ the first newsgroup."
639 gnus-level-killed (gnus-group-entry (or next "dummy.group"))) 641 gnus-level-killed (gnus-group-entry (or next "dummy.group")))
640 (gnus-request-update-group-status newsgroup 'subscribe) 642 (gnus-request-update-group-status newsgroup 'subscribe)
641 (gnus-message 5 "Subscribe newsgroup: %s" newsgroup) 643 (gnus-message 5 "Subscribe newsgroup: %s" newsgroup)
642 (run-hook-with-args 'gnus-subscribe-newsgroup-hooks newsgroup) 644 (run-hook-with-args 'gnus-subscribe-newsgroup-functions newsgroup)
643 t)) 645 t))
644 646
645(defun gnus-read-active-file-p () 647(defun gnus-read-active-file-p ()
diff --git a/lisp/gnus/nndiary.el b/lisp/gnus/nndiary.el
index 8752972c3c8..73dd2921b68 100644
--- a/lisp/gnus/nndiary.el
+++ b/lisp/gnus/nndiary.el
@@ -179,22 +179,28 @@ In order to make this clear, here are some examples:
179 :group 'nndiary) 179 :group 'nndiary)
180 180
181 181
182(defcustom nndiary-request-create-group-hooks nil 182(define-obsolete-variable-alias 'nndiary-request-create-group-hooks
183 "*Hooks to run after `nndiary-request-create-group' is executed. 183 'nndiary-request-create-group-functions "24.3")
184The hooks will be called with the full group name as argument." 184(defcustom nndiary-request-create-group-functions nil
185 "*Hook run after `nndiary-request-create-group' is executed.
186The hook functions will be called with the full group name as argument."
185 :group 'nndiary 187 :group 'nndiary
186 :type 'hook) 188 :type 'hook)
187 189
188(defcustom nndiary-request-update-info-hooks nil 190(define-obsolete-variable-alias 'nndiary-request-update-info-hooks
189 "*Hooks to run after `nndiary-request-update-info-group' is executed. 191 'nndiary-request-update-info-functions "24.3")
190The hooks will be called with the full group name as argument." 192(defcustom nndiary-request-update-info-functions nil
193 "*Hook run after `nndiary-request-update-info-group' is executed.
194The hook functions will be called with the full group name as argument."
191 :group 'nndiary 195 :group 'nndiary
192 :type 'hook) 196 :type 'hook)
193 197
194(defcustom nndiary-request-accept-article-hooks nil 198(define-obsolete-variable-alias 'nndiary-request-accept-article-hooks
195 "*Hooks to run before accepting an article. 199 'nndiary-request-accept-article-functions "24.3")
200(defcustom nndiary-request-accept-article-functions nil
201 "*Hook run before accepting an article.
196Executed near the beginning of `nndiary-request-accept-article'. 202Executed near the beginning of `nndiary-request-accept-article'.
197The hooks will be called with the article in the current buffer." 203The hook functions will be called with the article in the current buffer."
198 :group 'nndiary 204 :group 'nndiary
199 :type 'hook) 205 :type 'hook)
200 206
@@ -541,7 +547,7 @@ all. This may very well take some time.")
541 (setcar active (apply 'min articles)) 547 (setcar active (apply 'min articles))
542 (setcdr active (apply 'max articles)))) 548 (setcdr active (apply 'max articles))))
543 (nnmail-save-active nndiary-group-alist nndiary-active-file) 549 (nnmail-save-active nndiary-group-alist nndiary-active-file)
544 (run-hook-with-args 'nndiary-request-create-group-hooks 550 (run-hook-with-args 'nndiary-request-create-group-functions
545 (gnus-group-prefixed-name group 551 (gnus-group-prefixed-name group
546 (list "nndiary" server))) 552 (list "nndiary" server)))
547 t)) 553 t))
@@ -633,7 +639,7 @@ all. This may very well take some time.")
633(deffoo nndiary-request-accept-article (group &optional server last) 639(deffoo nndiary-request-accept-article (group &optional server last)
634 (nndiary-possibly-change-directory group server) 640 (nndiary-possibly-change-directory group server)
635 (nnmail-check-syntax) 641 (nnmail-check-syntax)
636 (run-hooks 'nndiary-request-accept-article-hooks) 642 (run-hooks 'nndiary-request-accept-article-functions)
637 (when (nndiary-schedule) 643 (when (nndiary-schedule)
638 (let (result) 644 (let (result)
639 (when nnmail-cache-accepted-message-ids 645 (when nnmail-cache-accepted-message-ids
@@ -804,7 +810,7 @@ all. This may very well take some time.")
804 (gnus-info-set-read info (gnus-update-read-articles 810 (gnus-info-set-read info (gnus-update-read-articles
805 (gnus-info-group info) unread t))) 811 (gnus-info-group info) unread t)))
806 )) 812 ))
807 (run-hook-with-args 'nndiary-request-update-info-hooks 813 (run-hook-with-args 'nndiary-request-update-info-functions
808 (gnus-info-group info)) 814 (gnus-info-group info))
809 t)) 815 t))
810 816