From: <emacs-bug@rulnick.com>
To: 65071@debbugs.gnu.org
Subject: bug#65071: 29.1; RMAIL changed on disk leads to rmail-error-bad-format
Date: Fri, 04 Aug 2023 14:18:52 -0400 [thread overview]
Message-ID: <m2cz024qnn.fsf@rulnick.com> (raw)
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
next reply other threads:[~2023-08-04 18:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-04 18:18 emacs-bug [this message]
2023-08-05 10:00 ` bug#65071: 29.1; RMAIL changed on disk leads to rmail-error-bad-format Eli Zaretskii
2023-08-05 10:31 ` emacs-bug
2023-08-05 10:52 ` Eli Zaretskii
2023-08-05 18:07 ` emacs-bug
2023-08-06 6:36 ` Eli Zaretskii
2023-08-12 6:52 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2cz024qnn.fsf@rulnick.com \
--to=emacs-bug@rulnick.com \
--cc=65071@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).