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: Thu, 07 Dec 2023 09:05:08 +0200	[thread overview]
Message-ID: <83lea6332z.fsf@gnu.org> (raw)
In-Reply-To: <e39a47b1ac94b1d563541eadf8c8cafb@posteo.net> (rameiko87@posteo.net)

> Date: Wed, 06 Dec 2023 23:53:19 +0000
> From: rameiko87@posteo.net
> Cc: 67638@debbugs.gnu.org
> 
> Dear Eli,
> Please understand that I'm really trying my best to get this variable, 
> which remains obscure and mysterious despite my technical proficiency, 
> which I consider to be above-average. This is the only variable which I 
> currently have a problem with (as far as the Mail group is concerned).
> 
> >   "Your preferred package for composing and sending email when using 
> > message.el.
> 
> I read very attentively your previous message. mail-user-agent is the 
> package which is started when, say, I click on a mailto link. In my 
> case, this is the Message package, which as far as I understand is 
> exactly message.el
> 
> >  Like `mail-user-agent' (which see), this specifies the package you 
> > prefer to use for composing and sending email messages.
> 
> Then, I understand that while we're using message.el, and we're done 
> writing the email, we need to send. Is it here that 
> message-mail-user-agent intervenes?

No, it intervenes also _before_ you write the message.  For example,
if you reply to an incoming message (type 'r' in Rmail), the
mail-user-agent's compose function is called to prepare the headers of
the response for you, before you type the body of your response.  Then
the send function of mail-user-agent is invoked when you type the key
to send the response.

I added the link to the Info manual so you could read up on Mail User
Agents and understand what they are for.

> >  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'.
> 
> This doesn't check out, even just because mail-user-agent accepts five 
> options which are Message, Mail package, MH, Message_withGnusfeatures, 
> but instead here we miss the options for "Message package" and 
> "Message_withGnusfeatures", so message-mail-user-agent doesn't offer all 
> the options that mail-user-agent offers.

"Like" doesn't mean "100% identical", it means "similar".  The intent
is for you to read the doc string of that other variable, and then
continue reading the doc string of this variable, with the information
about mail-user-agent in mind.

> And also setting the value of message-mail-user-agent to nil: is it the 
> same as setting the value of message-mail-user-agent to t and the value 
> of mail-user-agent to Message_withGnusfeatures?

I think so, yes.  But I don't use message.el, so I wouldn't know for
sure.  Why won't you try this and report back?





  reply	other threads:[~2023-12-07  7:05 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
2023-12-06 23:53       ` rameiko87
2023-12-07  7:05         ` Eli Zaretskii [this message]
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=83lea6332z.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).