emacs-devel
[Top][All Lists]
Advanced

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

Re: rmail-message-filter


From: Glenn Morris
Subject: Re: rmail-message-filter
Date: Tue, 03 Mar 2009 15:06:44 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

> How is unseen different from the first time? weren't they synonyms in
> pre-mbox Rmail?

I never used it, but apparently not.

When you first get a mail, the Babyl header for that message reads:

0, unseen,,

When you read the mail, it changes to:

1,,

If you move to another message, then put back the unseen attribute on
the message you just looked at, eg:

(rmail-set-attribute "unseen" t 1)

it changes to:

1, unseen,,

The leading 0/1 appears to mean "has this message ever been reformatted?".
There is no equivalent flag in mbox. rmail-message-filter was
basically called whenever that flag changed from 0 to 1.

> I'd say call it when the unseen attribute is removed.




reply via email to

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