all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#65071: 29.1; RMAIL changed on disk leads to rmail-error-bad-format
@ 2023-08-04 18:18 emacs-bug
  2023-08-05 10:00 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: emacs-bug @ 2023-08-04 18:18 UTC (permalink / raw)
  To: 65071

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-12  6:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 18:18 bug#65071: 29.1; RMAIL changed on disk leads to rmail-error-bad-format emacs-bug
2023-08-05 10:00 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.