[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rmail-mbox does not support the "stored" attribute
From: |
Eli Zaretskii |
Subject: |
Re: Rmail-mbox does not support the "stored" attribute |
Date: |
Sat, 31 Jan 2009 10:24:14 +0200 |
> From: Richard M Stallman <address@hidden>
> CC: address@hidden, address@hidden
> Date: Sat, 31 Jan 2009 01:44:04 -0500
>
> What is the "stored" attribute?
It is the attribute which was set by the rmail-output-body-to-file
command.
> Maybe I renamed it to avoid a coincidence of letters.
It doesn't look like that: the portion of that command which was
setting the attribute was simply deleted. Here's the relevant hunk of
the diffs between the pre-mbox rmailout.el and the current one:
(defun rmail-output-body-to-file (file-name)
"Write this message body to the file FILE-NAME.
@@ -410,11 +584,9 @@
(and (file-exists-p file-name)
(not (y-or-n-p (format "File %s exists; overwrite? " file-name)))
(error "Operation aborted"))
- (write-region (point) (point-max) file-name)
- (if (equal major-mode 'rmail-mode)
- (rmail-set-attribute "stored" t)))
+ (write-region (point) (point-max) file-name))
(if rmail-delete-after-output
(rmail-delete-forward)))