aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGnus developers2013-07-30 22:09:37 +0000
committerKatsumi Yamaoka2013-07-30 22:09:37 +0000
commit3eb9b5fd29bacb7b4a9ab15bccfc44f77627c059 (patch)
tree3b39fb63e3166a5031f1a8b3533c218e34eea9d6
parentf4b169ce6767c017de7cc7aaa07652b6a71e361f (diff)
downloademacs-3eb9b5fd29bacb7b4a9ab15bccfc44f77627c059.tar.gz
emacs-3eb9b5fd29bacb7b4a9ab15bccfc44f77627c059.zip
Merge Changes made in Gnus master
2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-read-active-for-groups): Always mark the data as dirty to ensure nnimap data being saved. 2013-07-30 Tassilo Horn <tsdh@gnu.org> * gnus-sum.el (gnus-summary-make-menu-bar): Add "Current thread score" menu entry. * gnus-score.el (gnus-summary-current-score): Use prefix arg to show the current thread's total score instead of the current article's score.
-rw-r--r--lisp/gnus/ChangeLog12
-rw-r--r--lisp/gnus/gnus-score.el13
-rw-r--r--lisp/gnus/gnus-start.el3
-rw-r--r--lisp/gnus/gnus-sum.el3
4 files changed, 26 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 4230d010a5d..226d97fdf37 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,17 @@
12013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * gnus-start.el (gnus-read-active-for-groups): Always mark the data as
4 dirty to ensure nnimap data being saved.
5
12013-07-30 Tassilo Horn <tsdh@gnu.org> 62013-07-30 Tassilo Horn <tsdh@gnu.org>
2 7
8 * gnus-sum.el (gnus-summary-make-menu-bar): Add "Current thread score"
9 menu entry.
10
11 * gnus-score.el (gnus-summary-current-score): Use prefix arg to show
12 the current thread's total score instead of the current article's
13 score.
14
3 * gnus-sum.el (gnus-subthread-sort-functions): New defcustom. 15 * gnus-sum.el (gnus-subthread-sort-functions): New defcustom.
4 (gnus-sort-threads-recursively): Delete defcustom. 16 (gnus-sort-threads-recursively): Delete defcustom.
5 (gnus-sort-threads-recursive): Adapt accordingly. 17 (gnus-sort-threads-recursive): Adapt accordingly.
diff --git a/lisp/gnus/gnus-score.el b/lisp/gnus/gnus-score.el
index da5c31325bd..5f91246761e 100644
--- a/lisp/gnus/gnus-score.el
+++ b/lisp/gnus/gnus-score.el
@@ -1071,10 +1071,15 @@ EXTRA is the possible non-standard header."
1071 (push (cons article n) gnus-newsgroup-scored))) 1071 (push (cons article n) gnus-newsgroup-scored)))
1072 (gnus-summary-update-line))) 1072 (gnus-summary-update-line)))
1073 1073
1074(defun gnus-summary-current-score () 1074(defun gnus-summary-current-score (arg)
1075 "Return the score of the current article." 1075 "Return the score of the current article.
1076 (interactive) 1076 With prefix ARG, return the total score of the current (sub)thread."
1077 (gnus-message 1 "%s" (gnus-summary-article-score))) 1077 (interactive "P")
1078 (gnus-message 1 "%s" (if arg
1079 (gnus-thread-total-score
1080 (gnus-id-to-thread
1081 (mail-header-id (gnus-summary-article-header))))
1082 (gnus-summary-article-score))))
1078 1083
1079(defun gnus-score-change-score-file (file) 1084(defun gnus-score-change-score-file (file)
1080 "Change current score alist." 1085 "Change current score alist."
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 05cf290cac9..e27fb522b86 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -1807,6 +1807,9 @@ backend check whether the group actually exists."
1807 (or (not (gnus-agent-method-p method)) 1807 (or (not (gnus-agent-method-p method))
1808 (gnus-online method))) 1808 (gnus-online method)))
1809 (gnus-finish-retrieve-group-infos method infos early-data) 1809 (gnus-finish-retrieve-group-infos method infos early-data)
1810 ;; We may have altered the data now, so mark the dribble buffer
1811 ;; as dirty so that it gets saved.
1812 (gnus-dribble-touch)
1810 (gnus-agent-save-active method)) 1813 (gnus-agent-save-active method))
1811 ;; Most backends have -retrieve-groups. 1814 ;; Most backends have -retrieve-groups.
1812 ((gnus-check-backend-function 'retrieve-groups (car method)) 1815 ((gnus-check-backend-function 'retrieve-groups (car method))
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index a7269baee74..94f4e703180 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -2359,7 +2359,8 @@ increase the score of each group you read."
2359 ["Mark above" gnus-summary-mark-above t] 2359 ["Mark above" gnus-summary-mark-above t]
2360 ["Tick above" gnus-summary-tick-above t] 2360 ["Tick above" gnus-summary-tick-above t]
2361 ["Clear above" gnus-summary-clear-above t]) 2361 ["Clear above" gnus-summary-clear-above t])
2362 ["Current score" gnus-summary-current-score t] 2362 ["Current article score" gnus-summary-current-score t]
2363 ["Current thread score" (gnus-summary-current-score 'total) t]
2363 ["Set score" gnus-summary-set-score t] 2364 ["Set score" gnus-summary-set-score t]
2364 ["Switch current score file..." gnus-score-change-score-file t] 2365 ["Switch current score file..." gnus-score-change-score-file t]
2365 ["Set mark below..." gnus-score-set-mark-below t] 2366 ["Set mark below..." gnus-score-set-mark-below t]