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

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

Re: Fixed order of headers in Rmail messages


From: irek
Subject: Re: Fixed order of headers in Rmail messages
Date: Thu, 10 Feb 2022 08:21:14 +0100

Tassilo Horn <tsdh@gnu.org> writes:
> The obvious reason you've mentioned is that rmail just shows your
> gazillion-mails MBOX file and narrows it down to a single message and
> its interesting headers.  So the order of headers shown to you is the
> order of headers in the mail.

Yep, that's the reason.  That's why I though about sorting them after
fetching with fetchmail or movemail programs.

> A way to do what you want would be to add a function to
> `rmail-show-message-hook' which parses the visible headers into a list,
> sorts them to your liking, and creates an overlay from the start to the
> end of the actual headers with a 'display propery whose value is the
> sorted version.

Hmm.  I haven't thought about using overlay.  That will eliminate need
of modifying original message.  I will try that.

Thanks.



reply via email to

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