From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58472: [PATCH] Make `message-unique-id' less prone to collisions Date: Thu, 13 Oct 2022 21:15:59 +0200 Message-ID: <87v8on5yc0.fsf@gnus.org> References: <87tu486j66.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6125"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58472@debbugs.gnu.org, Paul Eggert To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 21:28:26 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oj3sX-0001P8-AA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 21:28:25 +0200 Original-Received: from localhost ([::1]:36698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj3sW-00011O-8x for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 15:28:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj3hX-0006L6-6G for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 15:17:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj3hW-0006xt-U7 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 15:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj3hW-0002kb-Na for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58472 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58472-submit@debbugs.gnu.org id=B58472.166568857110461 (code B ref 58472); Thu, 13 Oct 2022 19:17:02 +0000 Original-Received: (at 58472) by debbugs.gnu.org; 13 Oct 2022 19:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:34980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj3gg-0002ie-TQ for submit@debbugs.gnu.org; Thu, 13 Oct 2022 15:16:11 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:38026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj3ge-0002iP-SZ for 58472@debbugs.gnu.org; Thu, 13 Oct 2022 15:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ndfdd7HZ3jjohu6IY8/5Tdkqek/Q9lQYXXL6HLWXTRI=; b=la7g9uYv3xaT4Fg5xqQ5SURscx KhC3oDx+7Kha0j/x7Q+r8atqY59CqKoXZJCgVXghrkO3n3H9b5vIpIuUohLFYzxwJmjCYDXVU/CMQ LMKlA2cEFjtCVaHqE0y4f6nt6uWlK+aUxbusxes6tIlM30XoZTpVvlca3D35svhq+buk=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oj3gV-0006vm-S4; Thu, 13 Oct 2022 21:16:02 +0200 In-Reply-To: (Stefan Kangas's message of "Thu, 13 Oct 2022 12:10:19 +0000") X-Now-Playing: Arovane's _Atol Scrap_: "amine (2021 Remaster)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245347 Archived-At: Stefan Kangas writes: > Hmm, right (from `(message) News Headers'): >=20 > =E2=80=98Message-ID=E2=80=99 > This required header will be generated by Message. A unique ID > will be created based on the date, time, user name (for the local > part) and the domain part. >=20 > Actually, the user name is currently only used on MS-DOS, AFAICT. > So I guess the documentation is already wrong? Is says "based on", not that the user name is actually in the string. (And it uses the uid instead, but same same.) >> That is, we've got tricks like being able to score on References based >> on your Message-ID to score up threads you've been a part of, etc. > > It seems flaky to use it for such scoring purposes though, as almost > everyone is named "87"... Do we really have code that does that? > > Should we care? I thought I remembered it being a part of the scoring section of the manual, so either it's been removed or I misremember. But that's the reason the algo is the way it is now -- it allows you do do stuff based on in References/In-reply-to etc. If there's only one UID per domain (which is the case these days), that's less of a thing, of course.