X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Mike Kupfer <kupfer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Mar 2025 00:58:02 +0000 Resent-Message-ID: <handler.76655.B.174079063430295 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76655 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174079063430295 (code B ref -1); Sat, 01 Mar 2025 00:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Mar 2025 00:57:14 +0000 Received: from localhost ([127.0.0.1]:55217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toBAH-0007sX-7G for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 19:57:13 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54488) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <kupfer@HIDDEN>) id 1toBAD-0007rj-Kf for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 19:57:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kupfer@HIDDEN>) id 1toBA2-0006Ks-SX for bug-gnu-emacs@HIDDEN; Fri, 28 Feb 2025 19:57:00 -0500 Received: from shell1.rawbw.com ([198.144.192.42]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <kupfer@HIDDEN>) id 1toBA0-0001vb-Ud for bug-gnu-emacs@HIDDEN; Fri, 28 Feb 2025 19:56:58 -0500 Received: from alto.camomileplus.org (135-180-175-182.dsl.dynamic.sonic.net [135.180.175.182] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 5210ug3t011883 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <bug-gnu-emacs@HIDDEN>; Fri, 28 Feb 2025 16:56:48 -0800 (PST) (envelope-from kupfer@HIDDEN) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-175-182.dsl.dynamic.sonic.net [135.180.175.182] (may be forged) claimed to be alto.camomileplus.org From: Mike Kupfer <kupfer@HIDDEN> X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <36294.1740790601.1@HIDDEN> Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Feb 2025 16:56:41 -0800 Message-ID: <36295.1740790601@HIDDEN> Received-SPF: pass client-ip=198.144.192.42; envelope-from=kupfer@HIDDEN; helo=shell1.rawbw.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) A user running 30.1 reported that when he runs mh-index-new-messages, the resulting index folder (+mhe-index/sequence/unseen) does not list the source folder(s) for the found messages. The folder should look something like +readLater/linux 4 02/28 [Van Snyder ] Re: Hardware question 6 02/28 [Greg Wooledge ] Re: Hardware question 8 %02/28 [Salvatore Bonac] [SECURITY] [DSA 5872-1] xorg-server securi= ty upda = +readLater/misc 22+t02/28 [Substack ] In-app video publishing, Notes stats, and = a new t 23 %02/28 [Palo Alto Farme] Shop the Market, Support Our Community But this user is missing the "+readLater/linux" and "+readLater/misc" lines. Furthermore, if the user views or deletes the message in the index folder, a corresponding action is supposed to be performed on the message in the source folder. That's not happening. Normally, messages in an MH-E index folder should have an "X-MHE-Checksum" header line. The user reports that those headers are missing from the emails in the index folder. MH-E uses this header to tie the entry in the index folder to the entry in the source folder, so their absence explains the above two problems. The relevant code in MH-E is rather twisty, but it looks like the headers are missing due to a bug in mh-index-sequenced-messages. MH-E calls out to an external program to compute the MD5 checksum for a message. mh-index-sequenced-messages sets mh-search-next-result-function to mh-mairix-next-result, which works if the external program is md5sum, which is what Linux users usually get. But the user reports that mh-checksum-cmd is set to invoke openssl, and it looks like MH-E is unable to parse the openssl output. The reason for using an external program are historical. (These problems are not a regression in Emacs 30. The user also saw them with Emacs 29.) MH-E should get rid of the current framework (mh-checksum-cmd, mh-checksum-parser, mh-checksum-choose, etc.) and just use Emacs's md5 function.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Mike Kupfer <kupfer@HIDDEN> Subject: bug#76655: Acknowledgement (30.1; MH-E: "unseen" folder broken on OpenBSD) Message-ID: <handler.76655.B.174079063430295.ack <at> debbugs.gnu.org> References: <36295.1740790601@HIDDEN> X-Gnu-PR-Message: ack 76655 X-Gnu-PR-Package: emacs Reply-To: 76655 <at> debbugs.gnu.org Date: Sat, 01 Mar 2025 00:58:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76655 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76655: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76655 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: more investigation needed References: <36295.1740790601@HIDDEN> In-Reply-To: <36295.1740790601@HIDDEN> Resent-From: Mike Kupfer <kupfer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Mar 2025 02:00:02 +0000 Resent-Message-ID: <handler.76655.B76655.174079435625975 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76655 <at> debbugs.gnu.org Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.174079435625975 (code B ref 76655); Sat, 01 Mar 2025 02:00:02 +0000 Received: (at 76655) by debbugs.gnu.org; 1 Mar 2025 01:59:16 +0000 Received: from localhost ([127.0.0.1]:55815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toC8J-0006kt-Ob for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:59:15 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:50687 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <kupfer@HIDDEN>) id 1toC8G-0006k7-Qw for 76655 <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:59:13 -0500 Received: from alto.camomileplus.org (135-180-175-182.dsl.dynamic.sonic.net [135.180.175.182] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 5211x6Nu024858 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <76655 <at> debbugs.gnu.org>; Fri, 28 Feb 2025 17:59:11 -0800 (PST) (envelope-from kupfer@HIDDEN) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-175-182.dsl.dynamic.sonic.net [135.180.175.182] (may be forged) claimed to be alto.camomileplus.org From: Mike Kupfer <kupfer@HIDDEN> X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <44995.1740794346.1@HIDDEN> Date: Fri, 28 Feb 2025 17:59:06 -0800 Message-ID: <44996.1740794346@HIDDEN> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I looked at the code some more and ran an additional test. I now think that the thing that I noticed about mh-search-next-result-function is unrelated to the checksum problem. If I force Emacs on my Linux system to use openssl, I still get the proper results in the index folder, and I see a checksum header in a test email. So there's something else peculiar about OpenBSD that I need to track down. I'll try standing up an OpenBSD VM to reproduce the problem. It would still be nice to replace the calls to an external program with the Emacs md5 function. mike
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Mar 2025 09:00:03 +0000 Resent-Message-ID: <handler.76655.B76655.174081958328515 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mike Kupfer <kupfer@HIDDEN>, Bill Wohler <wohler@HIDDEN> Cc: 76655 <at> debbugs.gnu.org Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.174081958328515 (code B ref 76655); Sat, 01 Mar 2025 09:00:03 +0000 Received: (at 76655) by debbugs.gnu.org; 1 Mar 2025 08:59:43 +0000 Received: from localhost ([127.0.0.1]:60786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toIhB-0007Ph-S2 for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 03:59:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44890) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1toIh8-0007P4-Dp for 76655 <at> debbugs.gnu.org; Sat, 01 Mar 2025 03:59:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1toIh2-00079r-1A; Sat, 01 Mar 2025 03:59:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XkNWuJkzVifovrT3ZRVkNqyP5NSddGpTMex9SfAgmQY=; b=NGmSYqwz6X+U s9EdkA0w6i8nD1CuEHGI7REXKZoyNS8M6euyngg8p3A381wQ4o9XUPSl08uPIV6APGALmmiOq1sWY 8LblhNibKcSmsWT+DyHqjE+S9Eui514Z6vbo+u4WjduXO4/ypsVptTUSLwx+3O3+j8ti6VloweFlv yldETdZxE/8BuGZlo4G+le67eTAWv3SzVsVQH4dqCEfRKeXcWVkfSBFM3UDrJL/wwyXNdUO70hWIa FT6umRkC5HN3p+r7tWd0847r4dx1a8RvoMUHvTTKubPcsK6qvjeF28vQRRt6tq/c2od1/Ueobz6BQ zu3tOTSFF299Szw4d8y1UA==; Date: Sat, 01 Mar 2025 10:59:19 +0200 Message-Id: <86senxqg7s.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <36295.1740790601@HIDDEN> (message from Mike Kupfer on Fri, 28 Feb 2025 16:56:41 -0800) References: <36295.1740790601@HIDDEN> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Mike Kupfer <kupfer@HIDDEN> > Date: Fri, 28 Feb 2025 16:56:41 -0800 > > A user running 30.1 reported that when he runs mh-index-new-messages, > the resulting index folder (+mhe-index/sequence/unseen) does not list > the source folder(s) for the found messages. The folder should look > something like > > +readLater/linux > 4 02/28 [Van Snyder ] Re: Hardware question > 6 02/28 [Greg Wooledge ] Re: Hardware question > 8 %02/28 [Salvatore Bonac] [SECURITY] [DSA 5872-1] xorg-server security upda > > +readLater/misc > 22+t02/28 [Substack ] In-app video publishing, Notes stats, and a new t > 23 %02/28 [Palo Alto Farme] Shop the Market, Support Our Community > > But this user is missing the "+readLater/linux" and "+readLater/misc" > lines. > > Furthermore, if the user views or deletes the message in the index > folder, a corresponding action is supposed to be performed on the > message in the source folder. That's not happening. > > Normally, messages in an MH-E index folder should have an > "X-MHE-Checksum" header line. The user reports that those headers are > missing from the emails in the index folder. MH-E uses this header to > tie the entry in the index folder to the entry in the source folder, so > their absence explains the above two problems. > > The relevant code in MH-E is rather twisty, but it looks like the > headers are missing due to a bug in mh-index-sequenced-messages. MH-E > calls out to an external program to compute the MD5 checksum for a > message. mh-index-sequenced-messages sets > mh-search-next-result-function to mh-mairix-next-result, which > works if the external program is md5sum, which is what Linux users > usually get. > > But the user reports that mh-checksum-cmd is set to invoke openssl, > and it looks like MH-E is unable to parse the openssl output. > > The reason for using an external program are historical. (These > problems are not a regression in Emacs 30. The user also saw them with > Emacs 29.) MH-E should get rid of the current framework > (mh-checksum-cmd, mh-checksum-parser, mh-checksum-choose, etc.) and just > use Emacs's md5 function. Bill, any comments or suggestions?
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Mar 2025 09:09:02 +0000 Resent-Message-ID: <handler.76655.B76655.174082012231921 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mike Kupfer <kupfer@HIDDEN>, Bill Wohler <wohler@HIDDEN> Cc: 76655 <at> debbugs.gnu.org Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.174082012231921 (code B ref 76655); Sat, 01 Mar 2025 09:09:02 +0000 Received: (at 76655) by debbugs.gnu.org; 1 Mar 2025 09:08:42 +0000 Received: from localhost ([127.0.0.1]:60888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toIpt-0008Ij-Fp for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 04:08:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34274) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1toIpq-0008IH-JI for 76655 <at> debbugs.gnu.org; Sat, 01 Mar 2025 04:08:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1toIpl-0008PN-4m; Sat, 01 Mar 2025 04:08:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=4wpLSTU2zxH5LNF++/J/+4JWZc+I/ugJsSDUPrdQWH4=; b=hQCqSwYD2eXT XIGNhcneY+B58OFRO0n7wi+rggZiscRHtq4FeEU/RHp2rY57HOaTuLHDxdCcXTHRpiL2z2WSBZylT tlt7uTAhOPjHF5MR/qZCNuaZxSJamSms93w6has/nF2WP7XasHlaFCvz1o1d0OFsetb6Y0JKNacDK vDX7rm6paSC/v7gjjREU2BkTk8fjgACSIL11vbSEcAOPANjz5BHWHaKsCWxW32Qb+mTXh5YswuqR4 uLqbIKvKZePOlD36ALJOSfH+yGKQkWIPZUCRhNR5I8y3wQc/P0h6gk1Ui8+b5v84hxYxxdAV0u2Vq lrk4CX6ZISbrGR70XC0xdA==; Date: Sat, 01 Mar 2025 11:08:30 +0200 Message-Id: <86ldtpqfsh.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <44996.1740794346@HIDDEN> (message from Mike Kupfer on Fri, 28 Feb 2025 17:59:06 -0800) References: <36295.1740790601@HIDDEN> <44996.1740794346@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Mike Kupfer <kupfer@HIDDEN> > Date: Fri, 28 Feb 2025 17:59:06 -0800 > > I looked at the code some more and ran an additional test. I now think > that the thing that I noticed about mh-search-next-result-function is > unrelated to the checksum problem. If I force Emacs on my Linux system > to use openssl, I still get the proper results in the index folder, and > I see a checksum header in a test email. > > So there's something else peculiar about OpenBSD that I need to track > down. I'll try standing up an OpenBSD VM to reproduce the problem. > > It would still be nice to replace the calls to an external program with > the Emacs md5 function. Thanks, but please don't change the Subject when you reply to a bug discussion. Doing so makes it harder to find related messages, at least in Rmail. I've restored the original Subject in this response message.
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Bill Wohler <wohler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Mar 2025 17:41:03 +0000 Resent-Message-ID: <handler.76655.B76655.17408508592328 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 76655 <at> debbugs.gnu.org, Mike Kupfer <kupfer@HIDDEN> Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.17408508592328 (code B ref 76655); Sat, 01 Mar 2025 17:41:03 +0000 Received: (at 76655) by debbugs.gnu.org; 1 Mar 2025 17:40:59 +0000 Received: from localhost ([127.0.0.1]:42995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toQpf-0000bT-1q for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 12:40:59 -0500 Received: from zebra.cherry.relay.mailchannels.net ([23.83.223.195]:63237) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <wohler@HIDDEN>) id 1toQpc-0000b4-Cu for 76655 <at> debbugs.gnu.org; Sat, 01 Mar 2025 12:40:57 -0500 X-Sender-Id: inmotionhosting|x-authuser|wohler@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EA0CF222A8; Sat, 1 Mar 2025 17:40:54 +0000 (UTC) Received: from ecbiz329.inmotionhosting.com (100-108-253-116.trex-nlb.outbound.svc.cluster.local [100.108.253.116]) (Authenticated sender: inmotionhosting) by relay.mailchannels.net (Postfix) with ESMTPA id 43E5D2234C; Sat, 1 Mar 2025 17:40:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1740850854; a=rsa-sha256; cv=none; b=x2xsyF3RJZfXwvi84XXDieNTT/vSRjgwv6StQESwysWjzerKemy+MdM/5z5CjmHc/RRvRY hvvVP2n+pT0LlQkWblHBR3C+GUWFSfj55ujI2iUQ30kEkaGe71NaaPhLGX6IYXDAtBHnJs bxeKPCkPoYW6IPEk6e14qAVEVY5Q9WaKl7kjIu7d2v1CBUeBIey0VklLZF72PGMD34rCZS ZXPiIeJiT0el9RdIrR8W8AQQrS6rBbfXk/7cYp1wVyHcVCGmhk1QFc9M2YCMU7ckxwDkhE 2ZHicCWCsQbN3os13lPURjy6Eqw9KREq/j5KLBJvYqO6aQ+QFlVZLSMuKjNT+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1740850854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=SFkfXnmF9iyJ90+N6lw4mstDgbO0/w2x+iglCoDlbgM=; b=DVdLeq3S15kpEJJshWQgYSB4ouJtjghzBikrK5yE3W0Ui+oME0uLeXZMMKDYk3uRHVvCKv 5MxZXjT/2qcqK+fBGeqO9zSu1jwhbP32cyolzqV4zhyYM8L0KFDCLIBYd/LfWkjzzbqOId fwIilyFp/XEN2BrI7nmjs8b6H5IL8tJKBMHzVAm9s7vkn9LCDoCjvHLFCqwEpYSDSpEVNX /5L3fEKEWpWfcgP/50IW7+q4ilcABVWG3Zn/wv9zBe6TtfE71oa2owM7eWvR+zRDpa+khF l2H5L5l3Br5ai+g35rEXDyn56nulkp6hwe+nuPDSWzX4lcRYnauHA0boc1WhhQ== ARC-Authentication-Results: i=1; rspamd-58748c789d-mljr5; auth=pass smtp.auth=inmotionhosting smtp.mailfrom=wohler@HIDDEN X-Sender-Id: inmotionhosting|x-authuser|wohler@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: inmotionhosting|x-authuser|wohler@HIDDEN X-MailChannels-Auth-Id: inmotionhosting X-Arithmetic-Dime: 62af944367417cdf_1740850854822_3741334666 X-MC-Loop-Signature: 1740850854822:577256083 X-MC-Ingress-Time: 1740850854822 Received: from ecbiz329.inmotionhosting.com (ecbiz329.inmotionhosting.com [209.182.198.38]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.108.253.116 (trex/7.0.2); Sat, 01 Mar 2025 17:40:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-Transfer-Encoding:Content-ID: Content-Type:MIME-Version:References:In-reply-to:Subject:From:cc:To:Sender: Reply-To: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=SFkfXnmF9iyJ90+N6lw4mstDgbO0/w2x+iglCoDlbgM=; b=CRZ8co9bvfaff2dFDlrhVuWGXS pFmreH/TXxFdxXLNhN3/1EfmtoJ3UBUKTuprG9udopL1SGHbT3HcyKK//LSi8HMOs1RSKO1V+mSur i/g3rEHXzJH8PpP+A38AhY+GN6hqX/ht5hAcGrSw6bEV/7ZgSbrjZt0d777Stkd+ZjCLfhZfAnZa2 HR9BHpUqDGg7Kjf3gQ1wovlBA1AbNvcf2ZP4Qbmve9Qzn9xw0aYACrCVfFVXIzSbw8o0A5QJetmtO 2KDuit1eNBHS1kzl39UkYDm68v/pS/yd017Y4bNjh8DNxYdLa6h3fmtBv1HCV7c/yOhli9RcPBZhw Mph0unLw==; Received: from [174.62.80.102] (port=35100 helo=olgas.newt.com) by ecbiz329.inmotionhosting.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.1) (envelope-from <wohler@HIDDEN>) id 1toQpY-00000008ziJ-45DK; Sat, 01 Mar 2025 12:40:53 -0500 Received: by olgas.newt.com (Postfix, from userid 1000) id 1697B380195; Sat, 1 Mar 2025 09:40:52 -0800 (PST) From: Bill Wohler <wohler@HIDDEN> In-reply-to: <86senxqg7s.fsf@HIDDEN> References: <36295.1740790601@HIDDEN> <86senxqg7s.fsf@HIDDEN> Comments: In-reply-to Eli Zaretskii <eliz@HIDDEN> message dated "Sat, 01 Mar 2025 10:59:19 +0200." Organization: Newt Software X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 31.0.50 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <981341.1740850852.1@HIDDEN> Content-Transfer-Encoding: quoted-printable Date: Sat, 01 Mar 2025 09:40:52 -0800 Message-ID: <981342.1740850852@HIDDEN> X-AuthUser: wohler@HIDDEN X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Mike Kupfer <kupfer@HIDDEN> > > Date: Fri, 28 Feb 2025 16:56:41 -0800 > > = > > A user running 30.1 reported that when he runs mh-index-new-messages, > > the resulting index folder (+mhe-index/sequence/unseen) does not list > > the source folder(s) for the found messages. The folder should look > > something like > > = > > +readLater/linux > > 4 02/28 [Van Snyder ] Re: Hardware question > > 6 02/28 [Greg Wooledge ] Re: Hardware question > > 8 %02/28 [Salvatore Bonac] [SECURITY] [DSA 5872-1] xorg-server se= curity upda > > = > > +readLater/misc > > 22+t02/28 [Substack ] In-app video publishing, Notes stats, = and a new t > > 23 %02/28 [Palo Alto Farme] Shop the Market, Support Our Community > > = > > But this user is missing the "+readLater/linux" and "+readLater/misc" > > lines. > > = > > Furthermore, if the user views or deletes the message in the index > > folder, a corresponding action is supposed to be performed on the > > message in the source folder. That's not happening. > > = > > Normally, messages in an MH-E index folder should have an > > "X-MHE-Checksum" header line. The user reports that those headers are > > missing from the emails in the index folder. MH-E uses this header to > > tie the entry in the index folder to the entry in the source folder, s= o > > their absence explains the above two problems. > > = > > The relevant code in MH-E is rather twisty, but it looks like the > > headers are missing due to a bug in mh-index-sequenced-messages. MH-E > > calls out to an external program to compute the MD5 checksum for a > > message. mh-index-sequenced-messages sets > > mh-search-next-result-function to mh-mairix-next-result, which > > works if the external program is md5sum, which is what Linux users > > usually get. > > = > > But the user reports that mh-checksum-cmd is set to invoke openssl, > > and it looks like MH-E is unable to parse the openssl output. > > = > > The reason for using an external program are historical. (These > > problems are not a regression in Emacs 30. The user also saw them wit= h > > Emacs 29.) MH-E should get rid of the current framework > > (mh-checksum-cmd, mh-checksum-parser, mh-checksum-choose, etc.) and ju= st > > use Emacs's md5 function. > = > Bill, any comments or suggestions? Mike and I have been discussing this, and I agree that minimizing dependencies and using the the internal (md5) function is a good thing. As Mike mentioned in another email, there may be more going on on our user's OpenBSD system that Mike is going to try to untangle. -- = Bill Wohler <wohler@HIDDEN> aka <Bill.Wohler@HIDDEN> http://www.newt.com/wohler/, GnuPG ID:610BD9AD
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 02 Mar 2025 01:10:01 +0000 Resent-Message-ID: <handler.76655.B76655.17408777627168 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mike Kupfer <kupfer@HIDDEN>, 76655 <at> debbugs.gnu.org Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.17408777627168 (code B ref 76655); Sun, 02 Mar 2025 01:10:01 +0000 Received: (at 76655) by debbugs.gnu.org; 2 Mar 2025 01:09:22 +0000 Received: from localhost ([127.0.0.1]:47526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toXpZ-0001rV-48 for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 20:09:21 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:56819) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1toXpW-0001qi-8u for 76655 <at> debbugs.gnu.org; Sat, 01 Mar 2025 20:09:19 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5e50d491f69so1320712a12.1 for <76655 <at> debbugs.gnu.org>; Sat, 01 Mar 2025 17:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740877752; x=1741482552; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=iEB+aGZLazWCPYLreIZnQWSbeN6qaxNClpEP8DZNz2I=; b=VPXhMSxghOufp719CRFFA9SNrOQkaEa075lQcOU8y8cJ1Hia8b3htx+rN0EUFT/265 sskK6vu9JJdLlaC60R3c+hHqg3t/C6T9nD+A9f9Cf9Q2gdeEPhA0ZQ4iRO/Ppw1Njtv4 +3ru7B/1tPtAYaQqviYP2Um1fngAg0Kqbk3eHjoPP7nXuQ6xEwswm9NrK6KXzBDNh1Im Ak94KB+ASr4RJoShjF1FrnkAzH4myb0SGFY+JlaVgDord05qjqMVtAcvqWyckOaIxoVM h+M4cUEL5/0uD7ILQ8bx6QTe1SeUh6h37KvoA4mXzmc/Rg1TB+G56KIUezpdg9bNvHA9 ynCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740877752; x=1741482552; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iEB+aGZLazWCPYLreIZnQWSbeN6qaxNClpEP8DZNz2I=; b=BFya+yp6D9SC0PjrxeWVfaPDRfeRWHxR6jrjetpvhs8c5oXjWyRbMd94QYk9CWSod8 iqfb28rii/qtztQlzVqBOdFZpNHmbZDdIV0RDr5oNu6XVkoxiBCriM41nBleGYOjp6AB KqPJ6+f/9Wl0n3TYRvgPIjqMGGSa4RsW5XVhYPCvJ1utIyAZxYw8RwrXqm1IgOCC256N mPupcn1LIGQdtGo7UWXIvDC970v5ssefRtYb8c0AwkWGlf6UphBO2haNz5nK3YIVIZPT vCSm7OI1wjenwBGEqZFlS4BwSmOqmkl/+KW3IifakkPGKDt+CnQsFeEeBIIhs7IV06nK CjEA== X-Forwarded-Encrypted: i=1; AJvYcCU2DePPHMVzXAayhFDaPcC5BgidGj1P6C26/zEQedtpPByWPykNhjoPDMBXAzm1/mHAFsVmRg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxd3gyrvtFQ0PHNNUCuHDqAT9WHMUQKW4Fo9kcU7FqoW48bmVrt jyH5ueuQYOk1eiz8CqI6v//EGIUrwaVY7tkEsBN4iXiRDnLDX5hzxtm2RslHR+ZSH/V1nf5WbB1 Z3es+16/Cko/fNL7z/uzxEQ+msy8oK8+H1LQ= X-Gm-Gg: ASbGnct0awlDuze+WuLrjzNWPaSsGMTNJ8ZKP31IFDFCmX9R4cbCSZrKd1PP6T85fJ/ 3FTDPEmGwDJmycFCIGFMxlfmGKtW/9aBep1qP6NGT5NLdPZx5BJGotc5BoDariK2FXXqbqLxm2g ZQhRe99uIX9sV0Ab1nUIIrrIkQDw== X-Google-Smtp-Source: AGHT+IFQnUp7NVianXpZeTBfB9USMMfgasI0ikD2pKHP0RG2f/mtol52fmyBFfhNCrNQgIKyKuzpz6UeoO0K/kYDZ1c= X-Received: by 2002:a05:6402:3548:b0:5de:cbed:c955 with SMTP id 4fb4d7f45d1cf-5e4d6b050d7mr7467895a12.17.1740877751967; Sat, 01 Mar 2025 17:09:11 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 2 Mar 2025 01:09:11 +0000 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <36295.1740790601@HIDDEN> References: <36295.1740790601@HIDDEN> MIME-Version: 1.0 Date: Sun, 2 Mar 2025 01:09:11 +0000 X-Gm-Features: AQ5f1JoTUW7NJb46f0gxTYKYVB4MzJm78eZHzsTK6FyfNi1ccoP1_KE2uEd7A8k Message-ID: <CADwFkm=mPExP8zcbDFTHnd+HfEV_TMRLRfCc6jG0SP=Nx8VmLQ@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Mike Kupfer <kupfer@HIDDEN> writes: > The reason for using an external program are historical. (These > problems are not a regression in Emacs 30. The user also saw them with > Emacs 29.) MH-E should get rid of the current framework > (mh-checksum-cmd, mh-checksum-parser, mh-checksum-choose, etc.) and just > use Emacs's md5 function. FWIW, I'd use `secure-hash' instead, if possible: (secure-hash 'md5 "foo")
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Mike Kupfer <kupfer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 02 Mar 2025 01:52:01 +0000 Resent-Message-ID: <handler.76655.B76655.174088031313927 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas <stefankangas@HIDDEN> Cc: 76655 <at> debbugs.gnu.org Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.174088031313927 (code B ref 76655); Sun, 02 Mar 2025 01:52:01 +0000 Received: (at 76655) by debbugs.gnu.org; 2 Mar 2025 01:51:53 +0000 Received: from localhost ([127.0.0.1]:47925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toYUi-0003cZ-T0 for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 20:51:53 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:32815 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <kupfer@HIDDEN>) id 1toYUf-0003cM-R7 for 76655 <at> debbugs.gnu.org; Sat, 01 Mar 2025 20:51:50 -0500 Received: from alto.camomileplus.org (135-180-175-182.dsl.dynamic.sonic.net [135.180.175.182] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 5221phMO039345 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 1 Mar 2025 17:51:48 -0800 (PST) (envelope-from kupfer@HIDDEN) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-175-182.dsl.dynamic.sonic.net [135.180.175.182] (may be forged) claimed to be alto.camomileplus.org From: Mike Kupfer <kupfer@HIDDEN> In-reply-to: <CADwFkm=mPExP8zcbDFTHnd+HfEV_TMRLRfCc6jG0SP=Nx8VmLQ@HIDDEN> References: <36295.1740790601@HIDDEN> <CADwFkm=mPExP8zcbDFTHnd+HfEV_TMRLRfCc6jG0SP=Nx8VmLQ@HIDDEN> Comments: In-reply-to Stefan Kangas <stefankangas@HIDDEN> message dated "Sun, 02 Mar 2025 01:09:11 +0000." X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21469.1740880303.1@HIDDEN> Date: Sat, 01 Mar 2025 17:51:43 -0800 Message-ID: <21470.1740880303@HIDDEN> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Kangas wrote: > FWIW, I'd use `secure-hash' instead, if possible: > > (secure-hash 'md5 "foo") What's the advantage of using 'secure-hash' instead of 'md5'? mike
X-Loop: help-debbugs@HIDDEN Subject: bug#76655: 30.1; MH-E: "unseen" folder broken on OpenBSD Resent-From: Stefan Kangas <stefankangas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 02 Mar 2025 02:25:02 +0000 Resent-Message-ID: <handler.76655.B76655.174088229026294 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mike Kupfer <kupfer@HIDDEN> Cc: 76655 <at> debbugs.gnu.org Received: via spool by 76655-submit <at> debbugs.gnu.org id=B76655.174088229026294 (code B ref 76655); Sun, 02 Mar 2025 02:25:02 +0000 Received: (at 76655) by debbugs.gnu.org; 2 Mar 2025 02:24:50 +0000 Received: from localhost ([127.0.0.1]:48293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toZ0c-0006q0-8U for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 21:24:50 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:42122) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1toZ0Y-0006pN-U4 for 76655 <at> debbugs.gnu.org; Sat, 01 Mar 2025 21:24:47 -0500 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5dccaaca646so6511142a12.0 for <76655 <at> debbugs.gnu.org>; Sat, 01 Mar 2025 18:24:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740882281; x=1741487081; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=E1V784ij4FMRMdyffYnNVL5xpL9NsdDxXqtm9O0B0mU=; b=fikA00OcJaaaZTRPXgODn3Yxqzhbzu6tiuWclTZL9QYPnlK78rZpmRRdvSpCM5jAOH Bb3QHRro+CaJjj6VpM7wtHM/j0qfOjg/J45tdACFWdPIE8kAhAmKPqC/KmWIk8BgZeV3 PIs7vr0EFoF94cz+5QNdOPEGUQHWmZyCeCfuil7mHHOSx4UvDU9K2JxFaTM3S5zc3iU1 hvdZjB/erKxc5fx5AKXQIrHuU3/vzbKqkyHOSEiaX6Vtr1Ggp53s7TtiSK1e7QfcO2JV 8IEHQ30uDn4JrMs6YSzi4jcONGL6Y3XhgLipdn0F4xqoRcWdmoxw6i2oR7U6+XTQ7cpu HPrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740882281; x=1741487081; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E1V784ij4FMRMdyffYnNVL5xpL9NsdDxXqtm9O0B0mU=; b=O6Gj93xLQTt1TM4ZJRuzmsUebIlU7HsL24SRxaSbw1cqd7//SyEfdlNA8BJIRm4OEG YKA2oqZXmNq0OH8x+WpvUfnloTYKBl/NLq+o60F/4B18QUEYMmoY+Sx+dvRdooCReeGj sI5ABd8GacsVeR13gYK6kyShfsXFB0tBw6288BA17YOGQkY2GIjP02O/J/KJaZVDO0OU HJvhdgv58v5ddcJmmCkCHsIdPsCVuAuH6V4dJqSPLKkVWgC8v8lE0EaMmuFU/KlIyXb+ /qk3JIn7bwZTmtpmturvEPp5mXqdVdGwxEFL6gaGfQbADXB9/M71BBu2O6+Ay7iHkwbN fpLw== X-Gm-Message-State: AOJu0Ywqe8p3JUv6yo/yqIuxXp37TrcPA9ojO9K8yWcEMW5kmCvuUngt GD/eB0q0b0bjhdUqN1E/v7RoAf9sX+Bu9fAwFpLpXo3+TgE3vrYn63l3IO5NcicqCoPzAxbtXEd tSviQH3pdk1HFvKgCKpWhaIsyyOk= X-Gm-Gg: ASbGncs79VNZ/QcSIEHPoxNOHt7K8/IZcNd5TOcHBSx7YJtHhBugi/r0DvM2FwGYYnV KGTA2MJ7voJL3EIpZNeNaU07fQjgo5kNFix9NobBC5UBjz3c/8teQid2X4SFjkonB6rLunlJCKk 33w1ae4shUArcE2PV4ZKf+WX22fw== X-Google-Smtp-Source: AGHT+IFTauYjQ+x5uRfCfk12dwEVO5dSuG+WUQ5XaFpRietCjSoCSwCvXbzLgfbOoyREK8bN5/6GPWZhXlgodGcrGpg= X-Received: by 2002:a05:6402:5242:b0:5db:e88c:914f with SMTP id 4fb4d7f45d1cf-5e4d52bd87emr11328468a12.4.1740882280592; Sat, 01 Mar 2025 18:24:40 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 2 Mar 2025 02:24:40 +0000 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <21470.1740880303@HIDDEN> References: <36295.1740790601@HIDDEN> <CADwFkm=mPExP8zcbDFTHnd+HfEV_TMRLRfCc6jG0SP=Nx8VmLQ@HIDDEN> <21470.1740880303@HIDDEN> MIME-Version: 1.0 Date: Sun, 2 Mar 2025 02:24:40 +0000 X-Gm-Features: AQ5f1JqI9m3cykhz9tIlguySRkrNl-XK8jbm4nuEnMJ2zvGfgDvLaDBHxplPsxw Message-ID: <CADwFkm=wSjarz4YWQpvtnB9BYeMEi9ggTMhvas=qnLxDKJWCPA@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Mike Kupfer <kupfer@HIDDEN> writes: > Stefan Kangas wrote: > >> FWIW, I'd use `secure-hash' instead, if possible: >> >> (secure-hash 'md5 "foo") > > What's the advantage of using 'secure-hash' instead of 'md5'? I just think it's a better API, e.g. it doesn't have NOERROR and it has BINARY. It also supports other hashing algorithms. Just my two cents, of course.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.