Gnus development mailing list
 help / color / mirror / Atom feed
* Adding MFT headers in nntp groups
@ 2022-09-01  4:29 Pankaj Jangid
  2022-09-01  7:26 ` Robert Pluim
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2022-09-01  4:29 UTC (permalink / raw)
  To: ding

In mailing lists and mail groups, I am adding MFT headers successfully
using various methods - (subscribed, message-subscribed-*).

Is there a way to add MFT headers in newsgroup posts? Especially the
groups that are gateways to mailing lists.

--
Regards
Pankaj



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding MFT headers in nntp groups
  2022-09-01  4:29 Adding MFT headers in nntp groups Pankaj Jangid
@ 2022-09-01  7:26 ` Robert Pluim
  2022-09-01  8:19   ` Pankaj Jangid
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Pluim @ 2022-09-01  7:26 UTC (permalink / raw)
  To: Pankaj Jangid; +Cc: ding

>>>>> On Thu, 01 Sep 2022 09:59:20 +0530, Pankaj Jangid <pankaj@codeisgreat.org> said:

    Pankaj> In mailing lists and mail groups, I am adding MFT headers successfully
    Pankaj> using various methods - (subscribed, message-subscribed-*).

    Pankaj> Is there a way to add MFT headers in newsgroup posts? Especially the
    Pankaj> groups that are gateways to mailing lists.

You can either define posting styles in the group parameters of the
individual groups that add the MFT headers, or your global
`gnus-posting-styles' can match on the group name and do it there, eg

(setq gnus-posting-styles
      ʼ(("^nntp.*name-of-group"
        ("Mail-Followup-To" "mailing@list.domain"))))

Robert
-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding MFT headers in nntp groups
  2022-09-01  7:26 ` Robert Pluim
@ 2022-09-01  8:19   ` Pankaj Jangid
  2022-09-01  8:29     ` Robert Pluim
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2022-09-01  8:19 UTC (permalink / raw)
  To: Robert Pluim; +Cc: ding

Robert Pluim <rpluim@gmail.com> writes:

>     Pankaj> Is there a way to add MFT headers in newsgroup posts? Especially the
>     Pankaj> groups that are gateways to mailing lists.
>
> You can either define posting styles in the group parameters of the
> individual groups that add the MFT headers, or your global
> `gnus-posting-styles' can match on the group name and do it there, eg

This is one way. But I think, this will overwrite the exisitng
auto-generated MFT headers. For example, if I am reading a Post that
already has MFT headers then follow-up should include those as well.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adding MFT headers in nntp groups
  2022-09-01  8:19   ` Pankaj Jangid
@ 2022-09-01  8:29     ` Robert Pluim
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Pluim @ 2022-09-01  8:29 UTC (permalink / raw)
  To: ding

>>>>> On Thu, 01 Sep 2022 13:49:09 +0530, Pankaj Jangid <pankaj@codeisgreat.org> said:

    Pankaj> Robert Pluim <rpluim@gmail.com> writes:
    Pankaj> Is there a way to add MFT headers in newsgroup posts? Especially the
    Pankaj> groups that are gateways to mailing lists.
    >> 
    >> You can either define posting styles in the group parameters of the
    >> individual groups that add the MFT headers, or your global
    >> `gnus-posting-styles' can match on the group name and do it there, eg

    Pankaj> This is one way. But I think, this will overwrite the exisitng
    Pankaj> auto-generated MFT headers. For example, if I am reading a Post that
    Pankaj> already has MFT headers then follow-up should include those as well.

I think itʼs considered bad form to change received MFT headers. But
posting styles can run arbitrary elisp, so you can do whatever you want.

Robert
-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-01  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01  4:29 Adding MFT headers in nntp groups Pankaj Jangid
2022-09-01  7:26 ` Robert Pluim
2022-09-01  8:19   ` Pankaj Jangid
2022-09-01  8:29     ` Robert Pluim

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).