GNU bug report logs - #67638
Description of the variable message-mail-user-agent in Emacs 29.1

Previous Next

Package: emacs;

Reported by: rameiko87 <at> posteo.net

Date: Tue, 5 Dec 2023 05:02:02 UTC

Severity: normal

Merged with 67639

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #36 received at 67638 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rameiko87 <at> posteo.net
Cc: 67638 <at> debbugs.gnu.org
Subject: Re: bug#67638: Description of the variable message-mail-user-agent
 in Emacs 29.1
Date: Thu, 07 Dec 2023 19:40:31 +0200
> Date: Thu, 07 Dec 2023 17:27:21 +0000
> From: rameiko87 <at> posteo.net
> Cc: 67638 <at> debbugs.gnu.org
> 
> >> Can you please kindly explain in one sentence where 
> >> message-mail-user-agent and mail-user-agent intervene during the 
> >> process of replying to an email message which I'm reading using Rmail?
> > 
> > When you type 'r', Emacs invokes rmail-reply, which calls 
> > rmail-start-mail, which calls compose-mail. compose-mail invokes the 
> > composition function of mail-user-agent, and when you invoke the 
> > command to send the response, Emacs invokes the send-mail function of 
> > mail-user-agent.
> > 
> > rmail-start-mail (and thus compose-mail) is also called by commands 
> > rmail-mail, rmail-continue, rmail-forward, and a couple of others.
> 
> Thanks. Can you please explain where the variable 
> message-mail-user-agent intervenes in the process above? Because only 
> mail-user-agent appears in your description.

Please take a look at the code of compose-mail.  It is defined in
simple.el.  You will see the answer there.

It might also be educational to look at define-mail-user-agent (in
subr.el), which is the function used to define all the
mail-user-agent's we have in Emacs.  Its doc string describes, among
other things, what constitutes a "mail user agent" in Emacs.




This bug report was last modified 1 year and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.