Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: info-gnus-english@gnu.org
Subject: Score on same subject to avoid read message with this subject in future...
Date: Mon, 08 Apr 2013 00:59:15 +0300	[thread overview]
Message-ID: <878v4uf1e4.fsf@gavenkoa.example.com> (raw)

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!

             reply	other threads:[~2013-04-07 21:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 21:59 Oleksandr Gavenko [this message]
2013-04-08 21:33 ` Oleksandr Gavenko
2013-04-10 20:32   ` Oleksandr Gavenko
2013-04-10 21:14 ` Oleksandr Gavenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v4uf1e4.fsf@gavenkoa.example.com \
    --to=gavenkoa@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).