GNU bug report logs - #36286
26.2.90; auth-source-creation-prompts has not effect?

Previous Next

Package: emacs;

Reported by: Xu Chunyang <mail <at> xuchunyang.me>

Date: Wed, 19 Jun 2019 06:53:01 UTC

Severity: minor

Tags: fixed

Found in version 26.2.90

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 36286 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Xu Chunyang <mail <at> xuchunyang.me>, 36286 <at> debbugs.gnu.org
Subject: Re: bug#36286: 26.2.90; auth-source-creation-prompts has not effect?
Date: Sat, 30 Jan 2021 11:10:52 +0100
Noam Postavsky <npostavs <at> gmail.com> 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




This bug report was last modified 4 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.