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!


_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to