Hello,

On Thu 18 Dec 2025 at 01:16am +01, Nickolai Dobrynin wrote:

> Sean Whitton <[email protected]> writes:
>
>>> Also, how can I programmatically unsubscribe from a specific group? In
>>> my case, from the trash folder.
>>
>> I have something in gnus-started-hook to handle this sort of thing.
>
> Rather than me re-inventing the wheel, can you please post the relevant
> snippet?

I have a defun that is many many lines long added to that hook, doing
lots of stuff.  Here is the bit of it that handles some unsubscription:

    (when (gnus-group-entry "nnmaildir+fmail:annex")
      (gnus-group-set-subscription "nnmaildir+fmail:annex" 7))

-- 
Sean Whitton

  • ... Nickolai Dobrynin
    • ... Sean Whitton
      • ... Michael Heerdegen
        • ... Nickolai Dobrynin
          • ... Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
            • ... Nickolai Dobrynin
              • ... Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
      • ... Nickolai Dobrynin
        • ... Sean Whitton
          • ... Nickolai Dobrynin

Reply via email to