From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: irek Newsgroups: gmane.emacs.help Subject: Re: Fixed order of headers in Rmail messages Date: Sun, 13 Feb 2022 00:10:19 +0100 Message-ID: <8735knlm04.fsf@mother.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 13 00:11:29 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJ1Y9-0001V3-Fz for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Feb 2022 00:11:29 +0100 Original-Received: from localhost ([::1]:40306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJ1Y8-0006NO-0i for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 18:11:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJ1XA-0006N1-T0 for help-gnu-emacs@gnu.org; Sat, 12 Feb 2022 18:10:28 -0500 Original-Received: from mxbwn02.webd.pl ([194.181.228.13]:44534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJ1X7-0006DW-Tl for help-gnu-emacs@gnu.org; Sat, 12 Feb 2022 18:10:27 -0500 Original-Received: from wn02.int.webd ([192.168.101.102] helo=wn02.webd.pl) by mta01.webd.pl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1nJ1X5-0008Ji-3I for help-gnu-emacs@gnu.org; Sun, 13 Feb 2022 00:10:23 +0100 Original-Received: from [192.168.101.231] (port=41799 helo=mta01.int.webd) by wn02.webd.pl with esmtp (Exim 4.93) (envelope-from ) id 1nJ1X4-0002Xs-SN; Sun, 13 Feb 2022 00:10:22 +0100 X-Quarantine-ID: X-Virus-Scanned: amavisd-new at mxwn02.webd.pl Original-Received: from wn02.webd.pl ([192.168.101.102]) by mta01.int.webd (mxwn02.webd.pl [192.168.101.200]) (amavisd-new, port 10024) with ESMTP id VIBhsAfm-ZQV; Sun, 13 Feb 2022 00:10:20 +0100 (CET) Original-Received: from public-gprs205091.centertel.pl ([46.134.140.100]:24034 helo=mother) by wn02.webd.pl with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nJ1X2-0002Xa-9r; Sun, 13 Feb 2022 00:10:20 +0100 In-Reply-To: (message from Jean Louis on Sat, 12 Feb 2022 21:37:50 +0300) Received-SPF: pass client-ip=194.181.228.13; envelope-from=mail@gumen.pl; helo=mxbwn02.webd.pl X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135913 Archived-At: Jean Louis writes: > * irek [2022-02-12 15:27]: >> 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 > > Please write with it to emacs-devel@gnu.org and offer your patch to > mainstream Emacs. Will do so. I will adjust code to Emacs source and propose path.