help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert text file to mbox file?


From: Colin Baxter
Subject: Re: Convert text file to mbox file?
Date: Fri, 04 Mar 2022 07:27:48 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux)

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

    >> 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.

You're right, the repair was easy. During a previous edit, I had inadvertently
written several blank lines to the top of the archive file. I removed
these to obtain once again an mbox file.

Thanks.

Best wishes,

Colin Baxter.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]