git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] send-email: support NNTP

From
Thomas Rast <trast@inf.ethz.ch>
Date
Apr 24, 2013, 09:29 UTC
Message-ID
<8761zce0oi.fsf@linux-k42r.v.cablecom.net>
In-Reply-To
<87bo94720r.fsf@samsung.com>
l.stelmach@samsung.com (Łukasz Stelmach) writes:
Show 12 quoted lines
> It was <2013-04-24 śro 09:38>, when Thomas Rast wrote:
>> Łukasz Stelmach <l.stelmach@samsung.com> writes:
>>> +	if ($email_protocol eq 'nntp') {
>>> +		$header = "Newsgroups: $to\n" . $header;
>>> +	} else {
>>> +		$header = "To: $to${ccline}\n" . $header;
>>> +	}
>>
>> Are you silently ignoring any Ccs that have been set if you're in NNTP
>> mode?
>
> Yes.

So wouldn't it be preferable to complain and abort, at the very least if the user explicitly gave some --cc options?

And in the documentation that you should write anyway :-), you can state that --protocol nntp does not support Cc or Bcc. That should be good enough.

Show 5 quoted lines
>> At least in the git@vger world with a lot of etiquette surrounding the
>> use of Ccs, NNTP mode isn't very useful if you can't also send Ccs.  But
>> maybe you have another use-case where that is not a problem?
>
> I've sent this patch vi NNTP :) You've got it.

However, according to the etiquette here you would e.g. send the v2 patch Cc: everyone who has reviewed the v1 patch.

Don't let that hold you up though. I'm fine with the feature as long as its limitations are clear and documented, and it catches the obvious user errors. Someone who actually needs NNTP *and* Ccs in the same mail can implement the required support later.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Łukasz StelmachNext: Junio C Hamano
Message 12 of 14 in “send-email: support NNTP”
  1. send-email: support NNTPŁukasz Stelmach, Apr 23, 2013
  2. Junio C HamanoApr 23, 2013
  3. Łukasz StelmachApr 24, 2013
  4. Junio C HamanoApr 24, 2013
  5. Łukasz StelmachApr 25, 2013
  6. Junio C HamanoApr 25, 2013
  7. Junio C HamanoApr 25, 2013
  8. Eric SunshineApr 24, 2013
  9. Łukasz StelmachApr 24, 2013
  10. Thomas RastApr 24, 2013
  11. Łukasz StelmachApr 24, 2013
  12. Thomas RastApr 24, 2013
  13. Junio C HamanoApr 24, 2013
  14. Łukasz StelmachApr 25, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.