From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#30900: 26.0.91; auth-source-pass-enable results in customization type mismatch for auth-sources Date: Mon, 02 Apr 2018 08:56:39 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87po3hg41k.fsf@lifelogs.com> References: <87muz1ukiy.fsf@gmail.com> <83370sk1df.fsf@gnu.org> <871sgb5goy.fsf@cassou.me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522673716 25073 195.159.176.226 (2 Apr 2018 12:55:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2018 12:55:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: alex.branham@gmail.com, Nicolas Petton , 30900@debbugs.gnu.org To: Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 02 14:55:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1f2yzM-0006Et-Id for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Apr 2018 14:55:08 +0200 Original-Received: from localhost ([::1]:32848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2z1O-0000By-9g for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Apr 2018 08:57:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2z1H-0000BH-75 for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 08:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2z1C-00086m-A2 for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 08:57:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f2z1C-00086S-6a for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 08:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f2z1B-00076D-Ok for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 08:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Apr 2018 12:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30900 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30900-submit@debbugs.gnu.org id=B30900.152267381027270 (code B ref 30900); Mon, 02 Apr 2018 12:57:01 +0000 Original-Received: (at 30900) by debbugs.gnu.org; 2 Apr 2018 12:56:50 +0000 Original-Received: from localhost ([127.0.0.1]:34760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2z0z-00075m-Or for submit@debbugs.gnu.org; Mon, 02 Apr 2018 08:56:49 -0400 Original-Received: from mail-qt0-f180.google.com ([209.85.216.180]:37888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2z0y-00075Z-6E for 30900@debbugs.gnu.org; Mon, 02 Apr 2018 08:56:48 -0400 Original-Received: by mail-qt0-f180.google.com with SMTP id z23so14701813qti.5 for <30900@debbugs.gnu.org>; Mon, 02 Apr 2018 05:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qjKHnZuOOcvpiyy8sbF9mncYT1TVtmM6RbbY4UFbFyM=; b=hWEWzEIZhopdqfUk0F4Svk6j+lTSgjyftn1e3fVXhm2+RVVC/GoAm4AjxvZBXygfW9 IEakU9+v4uMXcSNgeWnyNjUrssZS5gUAnKYg3/iRbFXxS+AIQodg/54nZ1Q92/BR9Dua jCGEfaHtlcpK7gN39zX6/Sc2AgJ5gWv0QqZYQ= 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:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=qjKHnZuOOcvpiyy8sbF9mncYT1TVtmM6RbbY4UFbFyM=; b=GkIC8mm4MRF87EMiCJvyaKCu/ELVI6f8cBWiGLnbyQvNtB+LK1LcykTYxyjcMNYz90 rh0pqSbgE3E5I3ccxlTDCrG284TvO04gVPQiAc3bjYO2RGXAhIEubrFngLfquLMJpNk3 CvfDMUCIAVsNjBSLFXrpjIhz6Z1/9IpiTgJV8P5YsDea3zgy7MTi3MR4qMv4FqQKGI19 qU7PSJ5xgxRke3dEOpH0bdwzLG3a9iIzTSOYW0P3ZT0OGJ5Dm0o6sA3Sd8yZBbFN+iDw lQKgJxcJpXLVeTAId0RoLl0iIhhZCL4Y4i8hxFgEVJnelDRELLvlNEH11Jn62PxsP18m hfYg== X-Gm-Message-State: ALQs6tAvDvcFl4p1XFnuKhjfwZjz77M2wQU5/aGtguqL9rRLBNjHNAv1 caizpXo2Yda9gj45JgVOclmdDEn4Up8= X-Google-Smtp-Source: AIpwx4+QW1itnYP67+R3pfzKZt8U87z8DKHeJRxPWEJ0E4OwnNQyp/1Skqhu0ZvvQq8YAjKD8ml5pw== X-Received: by 10.200.48.135 with SMTP id v7mr13966993qta.296.1522673802152; Mon, 02 Apr 2018 05:56:42 -0700 (PDT) Original-Received: from flea (c-76-28-41-155.hsd1.ma.comcast.net. [76.28.41.155]) by smtp.gmail.com with ESMTPSA id w63sm243438qtd.4.2018.04.02.05.56.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Apr 2018 05:56:41 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <871sgb5goy.fsf@cassou.me> (Damien Cassou's message of "Fri, 23 Mar 2018 09:39:25 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144794 Archived-At: On Fri, 23 Mar 2018 09:39:25 +0100 Damien Cassou wrote: DC> Eli Zaretskii writes: >>> > Using the new (26.0.91) auth-source-pass-enable function modifies the >>> > auth-sources variable to something isn't specified in :type, resulting >>> > in a type mismatch when looking at the customize-variable buffer for >>> > auth-sources. >>> >>> Presumably this auth-sources setting also doesn't work in the next Emacs >>> instance, unless one manually loads the auth-source-pass library? DC> I think we should sync with Ted, in CC, so that auth-sources DC> customization type allows external providers. What do you think Ted? IIUC, we have external providers for the auth-source backends but the customization types of `auth-sources' are not extensible by the providers. I can think of two approaches. We can either allow a typeless configuration (in addition to the built-ins) to make it easier to customize any way the user wants, or we can make the :type extensible. I'm not sure if there's a standard way of doing this in Emacs but if there is, I'd use it. If not, the typeless approach is probably easier to support and less surprising. Ted