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: Thu, 10 Feb 2022 09:06:12 +0100 Message-ID: <871r0bxi17.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="21674"; 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 Thu Feb 10 09:23:38 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 1nI4jp-0005Nr-VX for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 09:23:37 +0100 Original-Received: from localhost ([::1]:44826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI4jo-00066h-Ft for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 03:23:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4T8-0004mW-2R for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:06:24 -0500 Original-Received: from mxcwn02.webd.pl ([194.181.228.14]:60972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4T5-0007ft-GP for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:06:21 -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 1nI4T2-0007yc-Gu for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 09:06:16 +0100 Original-Received: from [192.168.101.231] (port=61401 helo=mta01.int.webd) by wn02.webd.pl with esmtp (Exim 4.93) (envelope-from ) id 1nI4T2-0007XT-Cl; Thu, 10 Feb 2022 09:06:16 +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 ZAIof-fZhBRF; Thu, 10 Feb 2022 09:06:13 +0100 (CET) Original-Received: from [85.128.106.18] (port=34476 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 1nI4Sz-00037t-Dd; Thu, 10 Feb 2022 09:06:13 +0100 In-Reply-To: (message from Jean Louis on Thu, 10 Feb 2022 10:54:00 +0300) Received-SPF: pass client-ip=194.181.228.14; envelope-from=mail@gumen.pl; helo=mxcwn02.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:135880 Archived-At: Jean Louis writes: > * irek [2022-02-10 00:45]: >> Hello. Each Rmail message have headers printed in different order. >> Reason for that is obvious but I was looking for convenient way to have >> chosen headers always in the same order in all messages. > > RFC 5322: Internet Message Format > https://www.rfc-editor.org/rfc/rfc5322.html#section-3.6 > > Quote: > > ,---- > | It is important to note that the header fields are not guaranteed to > | be in a particular order. > `---- Thanks for source. I don't expect from the messages to arrived with headers in particular order. I just want to display them sorted in Rmail buffer. I will try to look at rmail-copy-headers function suggested by Eli and keep headers in original messages unchanged.