From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#49243: 27.2; [PATCH] Merge auth-source-pass changes from upstream Date: Fri, 02 Jul 2021 15:33:36 +0200 Message-ID: <87mtr4lu1b.fsf@cassou.me> References: <87h7hjjnye.fsf@cassou.me> <87eecj7b48.fsf@gnus.org> <87y2aribb7.fsf@cassou.me> <87v95vck3c.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10209"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49243@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 02 15:34:20 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzJJD-0002UV-U2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 15:34:19 +0200 Original-Received: from localhost ([::1]:57532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzJJB-0007nC-Vl for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 09:34:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzJIw-0007kk-2C for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 09:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzJIv-00036T-RW for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 09:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzJIv-0008GF-Q2 for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 09:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jul 2021 13:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49243 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49243-submit@debbugs.gnu.org id=B49243.162523282731715 (code B ref 49243); Fri, 02 Jul 2021 13:34:01 +0000 Original-Received: (at 49243) by debbugs.gnu.org; 2 Jul 2021 13:33:47 +0000 Original-Received: from localhost ([127.0.0.1]:35321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzJIg-0008FS-Po for submit@debbugs.gnu.org; Fri, 02 Jul 2021 09:33:47 -0400 Original-Received: from mail.choca.pics ([80.67.172.235]:51550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzJIZ-0008FD-MN for 49243@debbugs.gnu.org; Fri, 02 Jul 2021 09:33:45 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id D3949181A5050; Fri, 2 Jul 2021 15:33:37 +0200 (CEST) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id QKtMAuYTy_1s; Fri, 2 Jul 2021 15:33:37 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 54E05181A5051; Fri, 2 Jul 2021 15:33:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id AZ_WWMNK7tkz; Fri, 2 Jul 2021 15:33:37 +0200 (CEST) Original-Received: from localhost (199.138.120.78.rev.sfr.net [78.120.138.199]) by mail.choca.pics (Postfix) with ESMTPSA id 1A1FA181A5050; Fri, 2 Jul 2021 15:33:37 +0200 (CEST) In-Reply-To: <87v95vck3c.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209321 Archived-At: Robert Pluim writes: > That last bit was me, not Lars. I was trying to nudge you to go look > at the 'developers' section of the auth-source info manual and bring > its documentation in line with the implementation, since it currently > doesn=CA=BCt say anything about multiple hosts. I've just checked. The info manual says: -- Function: auth-source-search &rest spec &key type max host user port secret require create delete &allow-other-keys =20=20 This function searches (or modifies) authentication backends according to SPEC. See the function=E2=80=99s doc-string for detail= s. And the docstring says: A string value is always matched literally. A symbol is matched as its string value, literally. All the SPEC values can be single values (symbol or string) or lists thereof (in which case any of the search terms matches). I think this is good enough. --=20 Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill