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.bugs Subject: bug#67638: Description of the variable message-mail-user-agent in Emacs 29.1 Date: Tue, 05 Dec 2023 19:13:57 +0200 Message-ID: <83wmts4lnu.fsf@gnu.org> References: <83zfyo4t5m.fsf@gnu.org> <8ae19a09753eb5bc345c78b8994c768a@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38597"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67638@debbugs.gnu.org To: rameiko87@posteo.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 05 18:16:21 2023 Return-path: Envelope-to: geb-bug-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 1rAZ1x-0009n8-Bt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Dec 2023 18:16:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAZ0Z-0006wz-Jm; Tue, 05 Dec 2023 12:14:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAZ0V-0006w5-OX for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2023 12:14:52 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rAZ0V-00018H-Dl for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2023 12:14:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rAZ0g-0001Dr-FH for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2023 12:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Dec 2023 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67638 X-GNU-PR-Package: emacs Original-Received: via spool by 67638-submit@debbugs.gnu.org id=B67638.17017964484619 (code B ref 67638); Tue, 05 Dec 2023 17:15:02 +0000 Original-Received: (at 67638) by debbugs.gnu.org; 5 Dec 2023 17:14:08 +0000 Original-Received: from localhost ([127.0.0.1]:38260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAYzo-0001CQ-0q for submit@debbugs.gnu.org; Tue, 05 Dec 2023 12:14:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAYzm-0001Br-Ns for 67638@debbugs.gnu.org; Tue, 05 Dec 2023 12:14:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAYzW-0000ym-2z; Tue, 05 Dec 2023 12:13:50 -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=vmBufB8PUNdcw1C+2Lyqgu/I8wv5XksQCdtNIY+nQRA=; b=pCtSbWF7lfRJ HqdMajBw/JecmZ6lEEXJL36dnseMqb8RpXoGMA+qzu16PXa47KXZsj6apW/T8JKnf+sIYmIk7BMVA reJX5K+OQqto8mY1XcrQfLQQAJQEwo/g5V2VXmQ0NHmHZ6a35o80ZGUwemIFI6dw3w33vsIOQmg8O yCk34nETPi3UwfRcNpAz8LlmXZ2PYd6vf1WIUEB1ghaqanTmugZHYdCFcFg7OHwdLjqSwBv4Y6XA4 4OyHXSrB6U22zls4lQQvpP0/LjPVT/HYJJbL7SPDd/zuXr/VqLVRvECoiUenZM3RqhdEjT8GzLRFb HwAij4taKA4zztFvsiyZtw==; In-Reply-To: <8ae19a09753eb5bc345c78b8994c768a@posteo.net> (rameiko87@posteo.net) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:275572 Archived-At: > Date: Tue, 05 Dec 2023 16:22:17 +0000 > From: rameiko87@posteo.net > Cc: 67638@debbugs.gnu.org > > Dear Eli, > Thanks very much for your swift reply. Please understand that I mean no > disturbance through my questions, I'm only trying to understand. What is > confusing me still is that mail-user-agent sets the composition package > for outgoing emails (in my personal configuration this is the Message > package, in my mind this is the MUA being used when writing emails). The > message-mail-user-agent variable instead it's not clear what is setting. message.el basically implements the message-mode, which is a specialized text-editing mode. It does not itself deal with email-specific stuff, like mail headers, the structure of the message according to the various RFCs, and neither does it handle the sending process itself. > > "Your preferred mail composition package when reading email with > > message.el. > > But I read my emails with Rmail. Perhaps you meant "when composing > emails with message.el"? No. > If yes, I thought that the message package was > the email composition package No, see above. "Mail User Agent" is separate from message.el. > and that I assigned this with the variable > mail-user-agent, so I'm not sure what I'm setting here. If you want mail-user-agent to take precedence, you need to customize message-mail-user-agent to the value t. That's what the doc string says. > > Like `mail-user-agent' (which see), this specifies the mail-sending > > package you prefer. > > Now the composition package from the first quote turned into sending > package! What is a mail sending package? Mail User Agent is both. See below. > How is this variable the > "analogous" of mail-user-agent (I really don't like that "Like")? Once again, "like", with a hyperlink after it, invites you to read the documentation of mail-user-agent. This is our usual style in doc strings to avoid repetition. > > The value can be any value accepted by `mail-user-agent', and in > > addition it can be nil or t. If the value is nil, use the Gnus native > > Mail User Agent (MUA); if it is t, use the value of `mail-user-agent'." > > Why is the default the Gnus package? Because message.el was originally part of Gnus, and Gnus users expect that default. > The problem is that I still don't understand the difference with > mail-user-agent. They are two separate options, and users have the freedom which one to customize and how. Next iteration of the doc string below. "Your preferred package for composing and sending email when using message.el. Like `mail-user-agent' (which see), this specifies the package you prefer to use for composing and sending email messages. The value can be anything accepted by `mail-user-agent', and in addition it can be nil or t. If the value is nil, use the Gnus native Mail User Agent (MUA); if it is t, use the value of `mail-user-agent'. For more about mail user agents, see Info node `(emacs)Mail Methods'"