info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Score on same subject to avoid read message with this subject in fut


From: Oleksandr Gavenko
Subject: Re: Score on same subject to avoid read message with this subject in future...
Date: Wed, 10 Apr 2013 23:32:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

On 2013-04-09, Oleksandr Gavenko wrote:

> On 2013-04-08, Oleksandr Gavenko wrote:
>
>> 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))
>
> One problem that I found with this function - it doesn't save
> 'gnus-summary-score-entry' to group.SCORE file on group exiting unless I flush
> by 'V F'.
>
> How can I do this automatically?
>
> Do I need alter 'gnus-exit-group-hook'?

I found a root of problem. Instead of:

>>   (eval-after-load 'gnus-summary

I need use:

  (eval-after-load 'gnus-sum ...)

-- 
Best regards!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]