From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80261 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: smtp crap Date: Sun, 09 Oct 2011 10:55:14 -0400 Message-ID: <87pqi65i5p.fsf@maru.md5i.com> References: <8739f4kzp3.fsf@catnip.gol.com> <8762jz6jhy.fsf@maru.md5i.com> <87lisuhf5z.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318172125 11475 80.91.229.12 (9 Oct 2011 14:55:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2011 14:55:25 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 09 16:55:21 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCumf-000215-Mw for ged-emacs-devel@m.gmane.org; Sun, 09 Oct 2011 16:55:21 +0200 Original-Received: from localhost ([::1]:58381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCumf-0007hj-AN for ged-emacs-devel@m.gmane.org; Sun, 09 Oct 2011 10:55:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCumd-0007he-4S for emacs-devel@gnu.org; Sun, 09 Oct 2011 10:55:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCumb-0004IR-VQ for emacs-devel@gnu.org; Sun, 09 Oct 2011 10:55:19 -0400 Original-Received: from md5i.com ([75.151.244.229]:39083 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCuma-0004IA-93; Sun, 09 Oct 2011 10:55:16 -0400 Original-Received: from md5i by maru.md5i.com with local (Exim 4.76) (envelope-from ) id 1RCumY-0004dK-7y; Sun, 09 Oct 2011 10:55:14 -0400 In-Reply-To: <87lisuhf5z.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 09 Oct 2011 15:06:48 +0900") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.151.244.229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144785 gmane.emacs.gnus.general:80261 Archived-At: Miles Bader writes: > Michael Welsh Duggan writes: >>> Why does emacs _keep_ asking me if I want to "Set up Emacs for sending >>> SMTP mail"?! >> >> I recently solved this problem for myself. I was seeing the same >> behavior. The problem was this: sending mail called the function stored >> in message-send-mail-function. This variable is initialized in >> message.el from send-mail-function, which defaults to >> sendmail-query-once. Once I answered "n" to the query, it changed >> send-mail-function for sendmail-send-it via customize. Unfortunately, I >> use a separate custom file by setting custom-file in my .emacs.el. At the >> end of my .emacs.el, I load the file with (load custom-file). > > Yes, I also use a separate ".custom" file, so that would appear to be > the issue... > >> I fixed this by loading my custom file before requiring message.el. >> Your problem may be different, but if not, this experience of mine >> might help. > > It shouldn't be necessary to do that, though. I agree. I think that rather than having message-send-mail-function take the value of send-mail-function as a default, it should instead default to a new function which calls send-mail-function. -- Michael Welsh Duggan (md5i@md5i.com)