all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: irek <mail@gumen.pl>
To: help-gnu-emacs@gnu.org
Cc: Jean Louis <bugs@gnu.support>, Tassilo Horn <tsdh@gnu.org>
Subject: Re: Fixed order of headers in Rmail messages
Date: Sat, 12 Feb 2022 13:27:30 +0100	[thread overview]
Message-ID: <875ypkl171.fsf@mother.org> (raw)
In-Reply-To: <87czjvyaul.fsf@mother.org> (message from irek on Wed, 09 Feb 2022 22:43:46 +0100)

To close topic.  I managed to do exactly what I wanted to.  Now Rmail
message headers preserve order that is controlled by new list variable
`rmail-ordered-headers'.  I wrote custom function that was added around
`rmail-copy-headers' as advice.

Works well for me on old Emacs 25 and new 29 (build from master branch).
Code is available on github.  Maybe someone will like that too.  I'm
never going back to random mess.

https://github.com/ir33k/rmail-ordered-headers

Thanks for the help and happy coding.



  parent reply	other threads:[~2022-02-12 12:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 21:43 Fixed order of headers in Rmail messages irek
2022-02-10  6:05 ` Tassilo Horn
2022-02-10  7:21   ` irek
2022-02-10  7:44   ` Eli Zaretskii
2022-02-10  8:37     ` Tassilo Horn
2022-02-10 12:03       ` Eli Zaretskii
2022-02-10  6:06 ` Eli Zaretskii
2022-02-10  7:17   ` irek
2022-02-10  7:54 ` Jean Louis
2022-02-10  8:06   ` irek
2022-02-10  8:26     ` Jean Louis
2022-02-12 12:27 ` irek [this message]
2022-02-12 18:37   ` Jean Louis
2022-02-12 23:10     ` irek

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=875ypkl171.fsf@mother.org \
    --to=mail@gumen.pl \
    --cc=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tsdh@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.