From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#65071: 29.1; RMAIL changed on disk leads to rmail-error-bad-format Date: Fri, 04 Aug 2023 14:18:52 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16283"; mail-complaints-to="usenet@ciao.gmane.io" To: 65071@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 05 10:54:21 2023 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 1qSD3E-00045C-Gc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Aug 2023 10:54:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSD25-0003MY-Hi; Sat, 05 Aug 2023 04:53:09 -0400 Original-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 ) id 1qSD22-0003Km-BU for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 04:53:06 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSD21-0007HG-PG for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 04:53:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSD21-0007KJ-KO for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 04:53:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 08:53:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65071 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169122556727984 (code B ref -1); Sat, 05 Aug 2023 08:53:05 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 08:52:47 +0000 Original-Received: from localhost ([127.0.0.1]:55460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSD1i-0007HC-Cx for submit@debbugs.gnu.org; Sat, 05 Aug 2023 04:52:46 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:38044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRzOI-0004Q7-ET for submit@debbugs.gnu.org; Fri, 04 Aug 2023 14:19:11 -0400 Original-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 ) id 1qRzOD-0008Ou-3W for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 14:19:05 -0400 Original-Received: from outgoing-alum.mit.edu ([18.7.68.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRzOB-0004au-H1 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 14:19:04 -0400 Original-Received: from manganese (024-177-060-128.res.spectrum.com [24.177.60.128]) (authenticated bits=0) (User authenticated as rulnick@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 374IIqn8018131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 4 Aug 2023 14:18:54 -0400 Original-Received: from radium (carbon [10.20.30.100]) by manganese (Postfix) with ESMTP id 9D8B010017B for ; Fri, 4 Aug 2023 18:18:52 +0000 (UTC) Original-Received: by radium (Postfix, from userid 501) id 5B58D9F945B; Fri, 4 Aug 2023 14:18:52 -0400 (EDT) Received-SPF: pass client-ip=18.7.68.33; envelope-from=emacs-bug@rulnick.com; helo=outgoing-alum.mit.edu 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 05 Aug 2023 04:52:40 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266745 Archived-At: In Emacs 29.1, starting with no ~/RMAIL file and empty primary mail spool file ('$' indicates command line terminal prompt outside Emacs): $ mail me@foo ... # send a message to myself emacs -Q M-x RMAIL # retrieves/reads message $ cat /dev/null > ~/RMAIL # clear (or otherwise modify) RMAIL file $ mail me@foo ... # send another message to myself M-x RMAIL "File RMAIL changed on disk. Reread from disk? (yes or no) " yes "rmail-error-bad-format: Message is not a valid RFC 822 (or later) message" and: mode changes from RMAIL to fundamental ~/RMAIL file on disk looks good (proper RFC 822 file) ~/RMAIL file as visited in buffer looks bad, can be seen (e.g., upon immediate save) to be missing top "From " and other header lines ("Return-Path:", "Received:", etc.) In GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2023-07-30 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6.8 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix