From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Fixed order of headers in Rmail messages Date: Thu, 10 Feb 2022 08:06:39 +0200 Message-ID: <83czjvuufk.fsf@gnu.org> References: <87czjvyaul.fsf@mother.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9746"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 07:09:21 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 1nI2dt-0002Or-Fp for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 07:09:21 +0100 Original-Received: from localhost ([::1]:43796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI2dr-0007Ck-RD for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 01:09:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI2bP-0007CA-Jb for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 01:06:49 -0500 Original-Received: from [2001:470:142:3::e] (port=49714 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI2bO-0005f9-UQ for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 01:06:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZPRX9o1MP3ueP4zQQls58Os/PgbD1Tc0FSTqIH9Cj4g=; b=mt5nMirdcns0 pHCGZ6A7I0nf7UHEvGXEnRSNdBgJedGJKmr/jO0wxUm/fvs5g5E95iMeQ5WYPmY0p8x1L4Mg/yZPm KMHijLAqwl1w/RL4xsNy7QCo9RJ2m1ikVhNvLLSGIgPDWRQspkzDUaSdkXfNZPA625iGFVe7WDZoQ gn6ZUhB+jcxe4uKtPyYb9pOUnIfTIHKy+w8VWxAd75eciKcuaBrJvWUzmDroMO9ssIZIH2d7cUG3A 7BA/9poeQ8F+rXgyRpaPr4+MMFj4dx63/6k2QScnnSlq4MNqkU368Jz3W1lYbCq40WcGG2gEuBnSM qCO408t7Ve3NhSeq6/qksw==; Original-Received: from [87.69.77.57] (port=2381 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI2bM-0004TO-RF for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 01:06:45 -0500 In-Reply-To: <87czjvyaul.fsf@mother.org> (message from irek on Wed, 09 Feb 2022 22:43:46 +0100) 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:135874 Archived-At: > From: irek > Date: Wed, 09 Feb 2022 22:43:46 +0100 > > 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. > > I don't see any Rmail variable or function that could help with sorting > except for `rmail-show-message-hook' that could be used to modify each > message when displayed but that's not the way I would like to go. I don't think we have such a feature, no. The place to add it would be in the function rmail-copy-headers, which copies the headers from the original message to the view buffer. > Maybe I missed something or maybe there is a way to do this on movemail > level or other mailutils program. I was looking there but couldn't find > anything. Any ideas or suggestions? I don't know about these, but I very much doubt that those utilities would rewrite messages they copy.