|
| From: | Oleksandr Gavenko |
| Subject: | Score on same subject to avoid read message with this subject in future... |
| Date: | Mon, 08 Apr 2013 00:59:15 +0300 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
I found useful hide uninterested threads by:
.emacs:
(setq gnus-use-adaptive-scoring t)
(setq gnus-default-adaptive-score-alist
'(
(gnus-del-mark (followup -50))
(gnus-killed-mark (followup -50))
))
all.SCORE:
(
(mark-and-expunge -20)
(thread-mark-and-expunge -20)
)
and pressing 'T k' or 'k' or 'C-k' or 'C-M-k'. Uninterested parts marked as
killed and when I leave group 'group.ADAPT' file save message-ids of killed
articles and any followups to them didn't showed.
But sometimes threads are broken or group are broken (in case of forum to NNTP
gateway).
So I try to implement killing by subject:
(defun my-gnus-summary-kill-same-subject (&optional unmark)
(interactive "P")
(when (or (not (integerp unmark)) (< 0 unmark))
(gnus-summary-score-entry
"subject" (gnus-simplify-subject-fuzzy (gnus-summary-article-subject))
's (- gnus-score-interactive-default-score) (current-time-string)))
(gnus-summary-kill-same-subject unmark))
(eval-after-load 'gnus-summary
'(define-key gnus-summary-mode-map (kbd "C-k")
#'my-gnus-summary-kill-same-subject))
I know about 'I' key binding but it require a lot of typing and attention...
Is that function a good way to hide uninterested threads by subject?
--
Best regards!
| [Prev in Thread] | Current Thread | [Next in Thread] |