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

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

Re: Inhibiting gnus-get-new-news at startup


From: Eric S Fraga
Subject: Re: Inhibiting gnus-get-new-news at startup
Date: Sat, 06 Jan 2024 15:56:33 +0000
User-agent: gnus (Emacs 30.0.50)

On Saturday,  6 Jan 2024 at 09:13, Lars-Johan Liman wrote:
> As for toggling: my queued messages are not automagically sent when I
> toggle to on-line ("plugged"). Do you know if this hinges on some
> setting somewhere? Any hints? It would be A Good Thing(tm) to have.

My bad!  It's a customization I have in my .gnus.el file:

--8<---------------cut here---------------start------------->8---
  (defun esf/gnus-agent-plugged ()
    (gnus-group-send-queue))
  (add-hook 'gnus-agent-plugged-hook 'esf/gnus-agent-plugged)
--8<---------------cut here---------------end--------------->8---

You could probably simply add 'gnus-group-send-queue to the hook without
defining an extra function.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-09-14) on Debian 12.2




reply via email to

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