[Top][All Lists]

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

Re: Mute a thread

From: Lluís Vilanova
Subject: Re: Mute a thread
Date: Sat, 09 Feb 2013 19:58:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Anssi Saari writes:

> Kevin Brubeck Unhammer <> writes:
>> Anssi Saari <> writes:
>>> What about T l? It's bound to gnus-summary-lower-thread and seems to work.
>> It does! How do you make that permanent though?

> Yeah, I noticed the lack of permanence too, after posting of course... 

> However, at least for me, L T RET works and creates a scorefile entry
> too so it's more permanent (although that's a temporary score so it goes
> away if it hasn't matched anything for a while).

This is what I use:
* Temporarily lower score by 200 on current Message-ID
* Temporarily lower score by 200 on current thread
* Hide current thread and move to next

(defun my-gnus-lower-thread ()                            ; lower thread score
     "Permanently lower score for a whole (sub)thread."
     (kmacro-exec-ring-item (quote ([?\C-2 ?\C-0 ?\C-0 ?\C-0 ?L ?i ?e ?t ?\C-m] 
0 "%d")) nil) ; message-id
     (kmacro-exec-ring-item (quote ([?\C-2 ?\C-0 ?\C-0 ?\C-0 ?L ?t ?f ?t ?\C-m] 
0 "%d")) nil) ; thread
     (gnus-summary-next-thread 1))

Unfortunately, the process seems to be quite slow, and could not find any
suitable function to call instead of replaying keystrokes.

BTW, on some cases it seems to not work (what seem as replies to a lowered
thread do not get automatically lowered), but I'm not sure if that's because
other people's MUAs are breaking the headers.


 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom

reply via email to

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