Re: Does Washing work for IMAP backend?

2021-07-22 Thread Adam Sjøgren via info-gnus-english
Pankaj writes:

> (custom-set-variables
>  '(nnmail-list-identifiers
>'("[ABC Forum]")))

The value is interpreted as regexes, so you might want some \\'s before
the brackets.

But if nothing at all happens, I guess that's not it.

Just setting e.g.:

  (setq gnus-list-identifiers
'("\\[External\\]"))

works for me (both for email and news) - not touching any hooks. Hm,
wait, that's another variable!


  Best regards,

Adam

-- 
 "Finns det någon väg som leder oss hem Adam Sjøgren
  Finns det ens ett hem där vägen tar slut"a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Does Washing work for IMAP backend?

2021-07-21 Thread Pankaj Jangid
Eric Abrahamsen  writes:

> It should -- as far as I know all the nnmail splitting/washing stuff
> happens on a _copy_ of the message buffer, ie you're not changing the
> actual underlying message, as the IMAP server sees it.

Hmm... I have this in my ~/.gnus.el. But nothing is happening. Are there
any other settings complementing the ones below?:

--8<---cut here---start->8---
(custom-set-variables
 '(nnmail-list-identifiers
   '("[ABC Forum]")))
(add-hook 'nnmail-prepare-incoming-header-hook
  'nnmail-remove-list-identifiers)
--8<---cut here---end--->8---

I want to remove the string "[ABC Forum]" from the subject line.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Does Washing work for IMAP backend?

2021-07-21 Thread Eric Abrahamsen
Pankaj Jangid  writes:

> Especially, ‘nnmail-prepare-incoming-header-hook’. Does it work for IMAP
> backend?

It should -- as far as I know all the nnmail splitting/washing stuff
happens on a _copy_ of the message buffer, ie you're not changing the
actual underlying message, as the IMAP server sees it.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Does Washing work for IMAP backend?

2021-07-21 Thread Pankaj Jangid
Especially, ‘nnmail-prepare-incoming-header-hook’. Does it work for IMAP
backend?

-- 
Regards ~Pankaj


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english