Re: Where in gnus manual is info about timers

2022-01-17 Thread hput
Bodertz  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.




Re: mail splitting with mime-encoded headers

2022-01-17 Thread Roland Winkler
On Mon, Jan 17 2022, Adam Sjøgren wrote:
> Roland writes:
>> What is the recommended way for dealing with mime-encoded headers when
>> splitting mail?
>
> I use this:
>
> ; Decode headers before splitting on them:
> (setq nnmail-mail-splitting-decodes t)

Thanks, that was exactly what I was looking for.




Re: mail splitting with mime-encoded headers

2022-01-17 Thread Adam Sjøgren
Roland writes:

> What is the recommended way for dealing with mime-encoded headers when
> splitting mail?

I use this:

; Decode headers before splitting on them:
(setq nnmail-mail-splitting-decodes t)


,[ C-h v nnmail-mail-splitting-decodes RET ]
| nnmail-mail-splitting-decodes is a variable defined in ‘nnmail.el’.
| 
| Its value is t
| Original value was nil
| 
| Whether the nnmail splitting functionality should MIME decode headers.
| 
`


  Best regards,

Adam

-- 
 "En monoton vers behöver en stark refräng" Adam Sjøgren
   a...@koldfront.dk