all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Convert text file to mbox file?
Date: Thu, 03 Mar 2022 20:24:06 +0200	[thread overview]
Message-ID: <83tucej3nd.fsf@gnu.org> (raw)
In-Reply-To: <87ee3ivs6f.fsf@yandex.com> (m43cap@yandex.com)

> From: "Dr. C. Baxter" <m43cap@yandex.com>
> Date: Thu, 03 Mar 2022 17:53:28 +0000
> 
> In my rmail configuration, I have sent the variable
> 'mail-archive-file-name' to a local file 'sent'. All appeared to go well
> for several months, but when I now try to read 'sent' via "M-x rmail-input"
> I'm told that 'sent' is an Invalid mbox file. I think the problem may
> have arisen when I edited and saved 'sent' as if it were an ordinary
> text file. Is there anyway in which I can covert 'sent' back to an mbox
> file?

My suggestion is to establish what exactly causes Rmail to signal this
error.  Set debug-on-error non-nil, and examine the backtrace; then
step with Edebug if needed.

Once you understand what exactly causes the error, I'm quite sure
repairing your archive will be easy.



  parent reply	other threads:[~2022-03-03 18:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03 17:53 Convert text file to mbox file? Dr. C. Baxter
2022-03-03 18:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-03 18:24 ` Eli Zaretskii [this message]
2022-03-04  7:27   ` Colin Baxter
2022-04-05 21:41     ` TRS-80
2022-03-04  7:49 ` Jean Louis

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tucej3nd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 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.