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

Re: "mailinfo: Remove only one set of square brackets" considered harmful

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 15, 2009, 22:31 UTC
Message-ID
<alpine.LFD.2.01.0907151520380.13838@localhost.localdomain>
In-Reply-To
<7vljmpegy4.fsf@alter.siamese.dyndns.org>
On Wed, 15 Jul 2009, Junio C Hamano wrote:
Show 6 quoted lines
> 
> Even though it is silly not to rely on already well established
> conventions such as X-Mailing-List and List-ID but instead to waste
> precious real estate at the initial part of the Subject in this century
> merely for list identification purposes, this change regresses the end
> result.

Note that at least for the security list, it's not about "list identification", but simply to make the thing stand out in peoples mailboxes.

But I do agree that it's not perfect, and I would like to make the bracket removal stricter. Andreas' patch was a step in that direction. But different users would probably have different requirements.

For example, from a strictly git tools perspective, it's not even "any square bracket", and some people might want to remove only a single bracketed level, and only if it starts with "[PATCH".

For other uses, we want to remove the "Re: " at the beginning (and some crazy email readers use language/locale-specific versions like "Vs:" for that), and examples like the above "[Security]" from the security list.

So maybe the right solution is to allow people to configure this somehow.
		Linus
Previous: Junio C Hamano
Message 4 of 4 in “"mailinfo: Remove only one set of square brackets" considered harmful”
  1. Linus TorvaldsJul 15, 2009
  2. Junio C HamanoJul 15, 2009
  3. Junio C HamanoJul 15, 2009
  4. Linus TorvaldsJul 15, 2009

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.