From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Any interest in an XOAUTH2 patch for smtpmail (Gmail 2-factor auth)? Date: Sun, 07 Jan 2018 01:08:43 -0800 Message-ID: References: <87373j4tcf.fsf@gmail.com> <87wp0u2ntv.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515316049 28993 195.159.176.226 (7 Jan 2018 09:07:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2018 09:07:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (darwin) Cc: emacs-devel@gnu.org To: Cesar Crusius Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 07 10:07:25 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eY6vL-00077J-7Q for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2018 10:07:23 +0100 Original-Received: from localhost ([::1]:45196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eY6xK-0003Ry-KX for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2018 04:09:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eY6xB-0003Rp-LO for emacs-devel@gnu.org; Sun, 07 Jan 2018 04:09:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eY6xA-00086m-Sv for emacs-devel@gnu.org; Sun, 07 Jan 2018 04:09:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eY6x5-00084s-Pb; Sun, 07 Jan 2018 04:09:11 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:48191) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eY6x5-0003Fr-FD; Sun, 07 Jan 2018 04:09:11 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 06D7520A7E; Sun, 7 Jan 2018 04:09:11 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 07 Jan 2018 04:09:11 -0500 X-ME-Sender: Original-Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 98810246CA; Sun, 7 Jan 2018 04:09:10 -0500 (EST) In-Reply-To: <87wp0u2ntv.fsf@gmail.com> (Cesar Crusius's message of "Sat, 06 Jan 2018 22:19:08 -0800") Mail-Followup-To: Cesar Crusius , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:221655 Archived-At: >>>>> Cesar Crusius writes: > 1. All that needs to happen in smtpmail.el is for the > 'smtpmail-try-auth-methods' to have the following patch: Could it be done using advice-add in an ELPA package, while also proposing a general mechanism for hooking into this part of smtpmail? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2