From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Committing new smtpmail.el later tonight Date: Wed, 22 Jun 2011 16:27:01 -0400 Message-ID: References: <8739jogwf9.fsf@lifelogs.com> <87lix9eknu.fsf_-_@lifelogs.com> <878vt52ykv.fsf@lifelogs.com> <878vt25tbf.fsf@lifelogs.com> <87zklbnet1.fsf@lifelogs.com> <83sjr2vaqk.fsf@gnu.org> <83pqm5vnww.fsf@gnu.org> <878vsthjlm.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308774449 16115 80.91.229.12 (22 Jun 2011 20:27:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 20:27:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 22 22:27:25 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 1QZU1F-0008IZ-1M for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2011 22:27:25 +0200 Original-Received: from localhost ([::1]:46969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZU1D-0002IU-Oi for ged-emacs-devel@m.gmane.org; Wed, 22 Jun 2011 16:27:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZU0u-0002Hu-Ko for emacs-devel@gnu.org; Wed, 22 Jun 2011 16:27:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZU0t-0000Jb-7e for emacs-devel@gnu.org; Wed, 22 Jun 2011 16:27:04 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:37578 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZU0s-0000JM-QI for emacs-devel@gnu.org; Wed, 22 Jun 2011 16:27:03 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuQHAK5PAk5FxLeu/2dsb2JhbABQA5g6jlZ4iHPAeIM/gm4EnWyEJg X-IronPort-AV: E=Sophos;i="4.65,407,1304308800"; d="scan'208";a="116944085" Original-Received: from 69-196-183-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.183.174]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 22 Jun 2011 16:27:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 643BB58EC9; Wed, 22 Jun 2011 16:27:01 -0400 (EDT) In-Reply-To: <878vsthjlm.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 22 Jun 2011 12:16:53 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:140877 Archived-At: > The variable is obsoleted. Isn't that the normal way to do it, possibly > annoying people? It's not particularly hard to migrate the info > yourself, as I mentioned. Of course, but we can do better. EZ> Unlike other software, Emacs didn't until now break customizations in EZ> such a way, not without some sort of interim period when users were EZ> told to migrate. > Since 24.x is a major release, maybe it's OK. How would you do it? I'd at least give a hint to the user. If the user suddenly gets prompted for his username/password (or just his email fail to get sent for lack of authentication), her first reaction is likely to be along the lines of M-x report-emacs-bug or some other curse. So I think that we have two situations to handle: - smtpmail-auth-credentials is set and auth-source can't find credentials (i.e. the user hasn't migrated yet), so we should warn the user about the need to migrate and give some pointer of how to do it. - smtpmail-auth-credentials is set and auth-source can also find credentials (i.e. the user has migrated but still has the old setting). Here we can output a warning about the duplicate info, but it's not high-priority and should be discrete. After all, the user may use such a config purposefully because she likes to share a single config for different machines where she uses different versions of Emacs. Stefan