* Does Washing work for IMAP backend?
@ 2021-07-21 15:34 Pankaj Jangid
2021-07-21 17:40 ` Eric Abrahamsen
0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2021-07-21 15:34 UTC (permalink / raw)
To: info-gnus-english
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does Washing work for IMAP backend?
2021-07-21 15:34 Does Washing work for IMAP backend? Pankaj Jangid
@ 2021-07-21 17:40 ` Eric Abrahamsen
2021-07-22 4:31 ` Pankaj Jangid
0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2021-07-21 17:40 UTC (permalink / raw)
To: Pankaj Jangid; +Cc: info-gnus-english
Pankaj Jangid <pankaj@codeisgreat.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does Washing work for IMAP backend?
2021-07-21 17:40 ` Eric Abrahamsen
@ 2021-07-22 4:31 ` Pankaj Jangid
2021-07-22 8:29 ` Adam Sjøgren via info-gnus-english
0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2021-07-22 4:31 UTC (permalink / raw)
To: Eric Abrahamsen; +Cc: info-gnus-english
Eric Abrahamsen <eric@ericabrahamsen.net> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Does Washing work for IMAP backend?
2021-07-22 4:31 ` Pankaj Jangid
@ 2021-07-22 8:29 ` Adam Sjøgren via info-gnus-english
0 siblings, 0 replies; 4+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2021-07-22 8:29 UTC (permalink / raw)
To: 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" asjo@koldfront.dk
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-22 8:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 15:34 Does Washing work for IMAP backend? Pankaj Jangid
2021-07-21 17:40 ` Eric Abrahamsen
2021-07-22 4:31 ` Pankaj Jangid
2021-07-22 8:29 ` Adam Sjøgren via info-gnus-english
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).