unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rameiko87@posteo.net
Cc: 67638@debbugs.gnu.org
Subject: bug#67638: Description of the variable message-mail-user-agent in Emacs 29.1
Date: Tue, 05 Dec 2023 19:13:57 +0200	[thread overview]
Message-ID: <83wmts4lnu.fsf@gnu.org> (raw)
In-Reply-To: <8ae19a09753eb5bc345c78b8994c768a@posteo.net> (rameiko87@posteo.net)

> 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'"





  reply	other threads:[~2023-12-05 17:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-04 23:26 bug#67638: Description of the variable message-mail-user-agent in Emacs 29.1 rameiko87
2023-12-05 14:32 ` Eli Zaretskii
2023-12-05 16:22   ` rameiko87
2023-12-05 17:13     ` Eli Zaretskii [this message]
2023-12-06 23:53       ` rameiko87
2023-12-07  7:05         ` Eli Zaretskii
2023-12-07 14:47           ` rameiko87
2023-12-07 17:14             ` Eli Zaretskii
2023-12-07 17:27               ` rameiko87
2023-12-07 17:40                 ` Eli Zaretskii
2023-12-07 17:53                   ` Eli Zaretskii
2023-12-08 11:41                     ` rameiko87
2023-12-08 12:32                       ` Eli Zaretskii
2023-12-08 14:37                         ` rameiko87
2023-12-08 14:42                           ` Eli Zaretskii
2023-12-08 13:01                       ` CHENG Gao via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wmts4lnu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=67638@debbugs.gnu.org \
    --cc=rameiko87@posteo.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).