Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: hput <hputn3@zohomail.com>
To: Bodertz <bodertz@gmail.com>
Cc: info-gnus-english@gnu.org
Subject: Re: Where in gnus manual is info about timers
Date: Mon, 17 Jan 2022 13:37:36 -0500	[thread overview]
Message-ID: <87czkqgqdr.fsf@local.lan> (raw)
In-Reply-To: <87lezfnwhv.fsf@gmail.com> (bodertz@gmail.com's message of "Sun,  16 Jan 2022 15:31:24 -0700")

Bodertz <bodertz@gmail.com> writes:

> I think you just need to make it a function.
>
>   (gnus-demon-init)
>
>   (defun my-gnus-close-servers ()
>     (dolist (elem gnus-opened-servers)
>      (gnus-close-server (car elem))))
>
>   (gnus-demon-add-handler #'my-gnus-close-servers 30 t)
>
>
> I haven't tested that, though.

very nice, thank you.

I'm trying it now... so far it evals with no problem

I'm not really sure how to tell if its working... I guess the best
test will be to see if the server remains usable with that started.



  reply	other threads:[~2022-01-17 18:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-15 19:43 hput via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
2022-01-15 21:04 ` Bodertz
2022-01-16 14:51   ` hput via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
2022-01-16 16:02   ` hput via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
2022-01-16 22:31     ` Bodertz
2022-01-17 18:37       ` hput [this message]
2022-01-15 21:13 ` Adam Sjøgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czkqgqdr.fsf@local.lan \
    --to=hputn3@zohomail.com \
    --cc=bodertz@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).