From unknown Thu Aug 14 20:53:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5643 <5643@debbugs.gnu.org> To: bug#5643 <5643@debbugs.gnu.org> Subject: Status: message-send-mail-function does not inherit from send-mail-function Reply-To: bug#5643 <5643@debbugs.gnu.org> Date: Fri, 15 Aug 2025 03:53:52 +0000 retitle 5643 message-send-mail-function does not inherit from send-mail-fun= ction reassign 5643 emacs submitter 5643 Glenn Morris severity 5643 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 13:44:43 2010 Received: (at submit) by debbugs.gnu.org; 24 Feb 2010 18:44:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkMDy-0001Yg-U5 for submit@debbugs.gnu.org; Wed, 24 Feb 2010 13:44:43 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkMDx-0001Ya-DG for submit@debbugs.gnu.org; Wed, 24 Feb 2010 13:44:41 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NkMDs-0007Xy-U6; Wed, 24 Feb 2010 13:44:36 -0500 To: submit@debbugs.gnu.org Subject: message-send-mail-function does not inherit from send-mail-function From: Glenn Morris X-Spook: CipherTAC-2000 Ansar al-Islam Yukon INS secure CBNRC X-Ran: ?Pj/M?vgrx&fk~u4p3lqcHt0' User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Current trunk on GNU/Linux: emacs -Q --eval "(progn (setq send-mail-function 'smtpmail-send-it) (require 'message))" C-h v message-send-mail-function RET Its value is message-send-mail-with-sendmail The fact that message-send-mail-function does not respect the value of send-mail-function at all is unhelpful. It will be especially confusing for people upgrading from Emacs 23.1 who have customized send-mail-function. I suggest a patch like the following: *** lisp/gnus/message.el 2010-02-24 03:12:54 +0000 --- lisp/gnus/message.el 2010-02-24 18:41:04 +0000 *************** *** 675,681 **** (error "Don't know how to send mail. Please customize `message-send-mail-function'"))))) ;; Useful to set in site-init.el ! (defcustom message-send-mail-function (message-send-mail-function) "Function to call to send the current buffer as mail. The headers should be delimited by a line whose contents match the variable `mail-header-separator'. --- 675,686 ---- (error "Don't know how to send mail. Please customize `message-send-mail-function'"))))) ;; Useful to set in site-init.el ! (defcustom message-send-mail-function ! (case send-mail-function ! (smtpmail-send-it 'message-smtpmail-send-it) ! (feedmail-send-it 'feedmail-send-it) ! (mailclient-send-it 'message-send-mail-with-mailclient) ! (t (message-send-mail-function))) "Function to call to send the current buffer as mail. The headers should be delimited by a line whose contents match the variable `mail-header-separator'. *************** *** 698,704 **** :tag "Use Mailclient package") (function :tag "Other")) :group 'message-sending ! :version "23.1" ;; No Gnus :initialize 'custom-initialize-default :link '(custom-manual "(message)Mail Variables") :group 'message-mail) --- 703,709 ---- :tag "Use Mailclient package") (function :tag "Other")) :group 'message-sending ! :version "23.2" :initialize 'custom-initialize-default :link '(custom-manual "(message)Mail Variables") :group 'message-mail) From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 23:46:14 2010 Received: (at 5643-done) by debbugs.gnu.org; 26 Feb 2010 04:46:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nks5d-0006wc-Lx for submit@debbugs.gnu.org; Thu, 25 Feb 2010 23:46:13 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nks5c-0006wT-9p for 5643-done@debbugs.gnu.org; Thu, 25 Feb 2010 23:46:12 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nks5Y-0007mR-Ng; Thu, 25 Feb 2010 23:46:08 -0500 To: 5643-done@debbugs.gnu.org Subject: Re: bug#5643: message-send-mail-function does not inherit from send-mail-function References: From: Glenn Morris X-Spook: warfare Dick Cheney 9/11 subversive Axis of Evil global X-Ran: -FRq*}]!ucZ`1mvC$4j"){+s\,"k+;n&HH@)J0"U]tNp User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5643-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Glenn Morris wrote: > I suggest a patch like the following: I installed that because I think something like this is important for tomorrow's (?) pretest. Comments welcome. From unknown Thu Aug 14 20:53:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Mar 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator