From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 02:52:18 2019 Received: (at submit) by debbugs.gnu.org; 19 Jun 2019 06:52:18 +0000 Received: from localhost ([127.0.0.1]:45912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdUSA-0007mg-Gk for submit@debbugs.gnu.org; Wed, 19 Jun 2019 02:52:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:35266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdUS8-0007mY-In for submit@debbugs.gnu.org; Wed, 19 Jun 2019 02:52:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53788) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdUS7-0001Wo-GR for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 02:52:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdUS6-0006S5-Hr for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 02:52:15 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:44767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdUS6-0006Rm-9E for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 02:52:14 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 81F9222196 for ; Wed, 19 Jun 2019 02:52:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 19 Jun 2019 02:52:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xuchunyang.me; h=from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=A93xmaE9UbZ7Srw38dkBYJ4og9E4h0jjZRd6kZggfi8=; b=avEwyJvs NC29BaKu54gLYr4uY0r9D+Ze4Fk2lseqYjy9TLdeVDGz9V/EKBYvwoR4lajJrwIn Te93S7EQqfYeu/SLwAsVMahJkUJxy2HZoemCP8nP6HHep+4wIBI+caNpxdyqgBCJ yJoW5dEBgk3fLbLOT6AI51o2LN9fCe3ZDuz3YHfr0hJ+3xfJyge03dogroo9i5lr FIOWPfM4SPfsMOewFu6PYtWVEmWqpATHtqEWW6JWZKVU8edz19GMM4wCJ2k/hp1m hqDq6gRleI67BqFK55Q/WhVUTqrw0ewYtPFj0qHT7dGlREWPKTC4rCz3+HhDoZhF 9+A0jEn7s53Gjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=A93xmaE9UbZ7Srw38dkBYJ4og9E4h 0jjZRd6kZggfi8=; b=Vhi+qS3VtlhO7gsivSjpEGqS5W+neJutPpBrVdk9rzEky fOWY0vd5YkqFKe5gfe3SBngC30meoU2lletH1DB7dBcSKEaS0eYnU01iwCf01k1H IFu7aQmG1QzwNZJDyNg75e0rRMVFjrTsDoHtvA2VKzhEUXlHc2XCTAF/jFdBEov8 VTG1/bgc2k8+e+/NUFUUKDqpNKNodRwNDoTycnG6MN9cJdeHO34KkqQal5xtCIW/ aySZRCXV/DJ8CAOV3UN6YGqPkPEe0M9LWaIoWCXqAE8UlCr8QCFTByJKcqBghSou 5C2BxqaFWa07uayk12JTeqCJMrh7Sv9ImaKuCfbpQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtddugdduudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdtredttd ertdenucfhrhhomhepighuucevhhhunhihrghnghcuoehmrghilhesgihutghhuhhnhigr nhhgrdhmvgeqnecukfhppeduudejrdelfedrvddtiedrudeffeenucfrrghrrghmpehmrg hilhhfrhhomhepmhgrihhlseiguhgthhhunhihrghnghdrmhgvnecuvehluhhsthgvrhfu ihiivgeptd X-ME-Proxy: Received: from Chunyangs-MacBook-Air.local (unknown [117.93.206.133]) by mail.messagingengine.com (Postfix) with ESMTPA id 33D4D380074 for ; Wed, 19 Jun 2019 02:52:11 -0400 (EDT) From: Xu Chunyang To: bug-gnu-emacs@gnu.org Subject: 26.2.90; auth-source-creation-prompts has not effect? User-Agent: Emacs/26.2.90 Date: Wed, 19 Jun 2019 14:52:09 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) C-h f auth-source-search provides this example: (let ((auth-source-creation-defaults '((user . "defaultUser") (A . "default A"))) (auth-source-creation-prompts '((password . "Enter IMAP password for %h:%p: ")))) (auth-source-search :host '("nonesuch" "twosuch") :type 'netrc :max 1 :P "pppp" :Q "qqqq" :create '(A B Q))) however I don't see any "Enter IMAP password ..." when I run the example with C-x C-e, instead I see these prompts: [any port] user name for nonesuch [defaultUser]: [any port] password for defaultUser@nonesuch: Enter A (defaultUser@nonesuch:[any port]) [default A]: What format auth-source-creation-prompts should be? Its docstring doesn't say. By the way I can't help to complain auth-source's API is very difficult to work with. Its docstring and info documentation is not very helpful. For example, I can't understand how :require and :create in auth-source-search works after struggling for 1 hour. And I can't get auth-source-forget to work. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 20 11:09:08 2019 Received: (at 36286) by debbugs.gnu.org; 20 Jun 2019 15:09:08 +0000 Received: from localhost ([127.0.0.1]:49143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdygW-00023k-5Y for submit@debbugs.gnu.org; Thu, 20 Jun 2019 11:09:08 -0400 Received: from mail-io1-f44.google.com ([209.85.166.44]:35676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdygT-00023D-VK for 36286@debbugs.gnu.org; Thu, 20 Jun 2019 11:09:06 -0400 Received: by mail-io1-f44.google.com with SMTP id m24so573764ioo.2 for <36286@debbugs.gnu.org>; Thu, 20 Jun 2019 08:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=SmXI7MxSHFBqcD40SEtN9HojFzrMO98WcYK9cKfcG1A=; b=ZwM6IdJMR7R8Z5ZMB+/QJRRr490j/xT/kDDx5j4Y5kT5PgQ59ZadVxhilRmKhtrK55 N47sxBMNH9qJxD/JYHR/rOJgFOT23HqjKfAl0v+hTEgDN8ljIOAeUtfvYWS8kgCs099a uKzpn2ZLH1ImS9ByD+r1U4A255FuYzJYkfu+YY07RvVKZruGlGmkYIIhnPSXOjI3ZX5Z e6akzpuZlSo0M5zK7HvGhq59ZAQYjg5Z7pOyxsJkfugpEvoNiwsx5PlKXCxGxAq0opa6 a1m9GS17wSCIiLQF+ZBjfZePdsZ844vcq9dhG4eIZMNqLskmCTvdv2KqrZtkwcqQ5N3t VWJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=SmXI7MxSHFBqcD40SEtN9HojFzrMO98WcYK9cKfcG1A=; b=SxsT9gTLeuK/dj+jWQoUyzNUezJPcgEGEYTKutMM0FZeS+zv0qEspkQEVhXaLP5CXT V1o3i7XfUcycH1lnXL3RT6JWGBKtpmVPPQm0/q64KewARl/1KCBEAY8FOEVMfDlrSiTg KtpoiWWGVDSgdCRT2x0rf50qy5VNswpQt0GoNj6JLP3iElSE86HE3BotTXzq7AcguRx0 HH8jVUYRcWKJITgwcDGrlHgE+beoI4Zy3std80Dya5V/fPXM+yeCJuhQIjdYcilB8mpn ltlWEDa42DKnepyjP3j3gnHQxsJNgcZq8Avcn6C+bRX6p2l+U3iRCK7EWdoJPb/pdfHh CxoA== X-Gm-Message-State: APjAAAW5QKPBOlLQFRvYjaacGXGWEcy+d7bXOnOMT7nPGbJp/F+vFR+m P5j8QX2lBR6lOH91FV4XGzBoTepU X-Google-Smtp-Source: APXvYqwOJgjs0TWwqtGVW5y997mEmra0L/e1rGxYM2vj817tv62tetwO9xB8pT80+kUneltbl+WOEA== X-Received: by 2002:a02:1384:: with SMTP id 126mr17509047jaz.72.1561043340088; Thu, 20 Jun 2019 08:09:00 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id m4sm28916iok.68.2019.06.20.08.08.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Jun 2019 08:08:59 -0700 (PDT) From: Noam Postavsky To: Xu Chunyang Subject: Re: bug#36286: 26.2.90; auth-source-creation-prompts has not effect? References: Date: Thu, 20 Jun 2019 11:08:59 -0400 In-Reply-To: (Xu Chunyang's message of "Wed, 19 Jun 2019 14:52:09 +0800") Message-ID: <85tvck70qc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36286 Cc: 36286@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Xu Chunyang writes: > C-h f auth-source-search provides this example: > > (let ((auth-source-creation-defaults '((user . "defaultUser") > (A . "default A"))) > (auth-source-creation-prompts > '((password . "Enter IMAP password for %h:%p: ")))) > (auth-source-search :host '("nonesuch" "twosuch") :type 'netrc :max 1 > :P "pppp" :Q "qqqq" > :create '(A B Q))) > > however I don't see any "Enter IMAP password ..." when I run the > example Seems to works if I replace `password' with `secret'. > with C-x C-e, instead I see these prompts: > > [any port] user name for nonesuch [defaultUser]: > [any port] password for defaultUser@nonesuch: > Enter A (defaultUser@nonesuch:[any port]) [default A]:=20 > > What format auth-source-creation-prompts should be? Its docstring > doesn't say. It does actually mention secret in the paragraph above that example: If the user, host, or port are missing, the alist =A1=AEauth-source-creation-prompts=A1=AF will be used to look up the prompts IN THAT ORDER (so the =A1=AEuser=A1=AF prompt will be queried f= irst, then =A1=AEhost=A1=AF, then =A1=AEport=A1=AF, and finally =A1=AEsecret= =A1=AF). But having a broken example doesn't help. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 05:11:09 2021 Received: (at 36286) by debbugs.gnu.org; 30 Jan 2021 10:11:09 +0000 Received: from localhost ([127.0.0.1]:53703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nDh-0002qB-As for submit@debbugs.gnu.org; Sat, 30 Jan 2021 05:11:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nDf-0002pt-Hi for 36286@debbugs.gnu.org; Sat, 30 Jan 2021 05:11:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hhtPObfqcewSqbm38SuJQBNu2uaG7sOQLNJWJOjIwQg=; b=G9jNNehWNwVja4NoPAIr4pcPXu 2GbCbAWFU24lGL6KrJVDGwPPx8QAvbDcavTavq3P/Ed4n0q4djBItD9L44QQ25U3BmXO/fZqkewK3 qlNakniyMN0yFa5Suptjy8XRUQWiLVsg10HQ1tNK6kEWWKK6dI6gHr4io0iP/uiv7a3s=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5nDR-00075Q-UY; Sat, 30 Jan 2021 11:11:01 +0100 From: Lars Ingebrigtsen To: Noam Postavsky Subject: Re: bug#36286: 26.2.90; auth-source-creation-prompts has not effect? References: <85tvck70qc.fsf@gmail.com> X-Now-Playing: Tuxedomoon's _Live in Eindhoven (1980)_: "Nervous Guy" Date: Sat, 30 Jan 2021 11:10:52 +0100 In-Reply-To: <85tvck70qc.fsf@gmail.com> (Noam Postavsky's message of "Thu, 20 Jun 2019 11:08:59 -0400") Message-ID: <87ft2iwx8z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Noam Postavsky writes: >> C-h f auth-source-search provides this example: >> >> (let ((auth-source-creation-defaults '((user . "defaultUser") >> (A . "default A"))) >> (auth-source-creation-prompts >> '((password . "Enter I [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36286 Cc: Xu Chunyang , 36286@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Noam Postavsky writes: >> C-h f auth-source-search provides this example: >> >> (let ((auth-source-creation-defaults '((user . "defaultUser") >> (A . "default A"))) >> (auth-source-creation-prompts >> '((password . "Enter IMAP password for %h:%p: ")))) >> (auth-source-search :host '("nonesuch" "twosuch") :type 'netrc :max 1 >> :P "pppp" :Q "qqqq" >> :create '(A B Q))) >> >> however I don't see any "Enter IMAP password ..." when I run the >> example > > Seems to works if I replace `password' with `secret'. I've now done this in Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 05:11:15 2021 Received: (at control) by debbugs.gnu.org; 30 Jan 2021 10:11:15 +0000 Received: from localhost ([127.0.0.1]:53706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nDn-0002qV-Hk for submit@debbugs.gnu.org; Sat, 30 Jan 2021 05:11:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nDl-0002q9-FO for control@debbugs.gnu.org; Sat, 30 Jan 2021 05:11:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=thcWxxWmjECWg++Q426C2jrHJTMLT/OAf6sKd4QAFSs=; b=bIT1PODZbHGoVQrMGzrU88WCOv vwe0jrgQ4Pw3OR9ilSfZpf/uKjG4lmB8aAID9YTPh9qkKLmF8YXTOmD8YcGHILg/e/5eOOMxjMp7x JVXI3BpucZxDCDhQPbWtbzun4NcewTkHA6nRXn7Gmx3/PSjpgfYcxoZVQ8YbdWvHM5qY=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5nDd-00075a-Tr for control@debbugs.gnu.org; Sat, 30 Jan 2021 11:11:07 +0100 Date: Sat, 30 Jan 2021 11:11:04 +0100 Message-Id: <87eei2wx8n.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36286 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36286 fixed close 36286 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 36286 fixed close 36286 28.1 quit From unknown Mon Jun 23 23:51:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 27 Feb 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator