From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 992908b09a: Make connection-local variables user options Date: Tue, 08 Feb 2022 11:14:44 +0100 Message-ID: <87y22l64x7.fsf@gmail.com> References: <164425877032.10364.13250702459970712401@vcs2.savannah.gnu.org> <20220207183252.2C345C0DA36@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9307"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 08 11:20:43 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nHNc2-0002HG-PR for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Feb 2022 11:20:42 +0100 Original-Received: from localhost ([::1]:43184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHNc1-0007n7-G7 for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Feb 2022 05:20:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHNWW-0000Xb-UM for emacs-devel@gnu.org; Tue, 08 Feb 2022 05:15:00 -0500 Original-Received: from [2a00:1450:4864:20::331] (port=42620 helo=mail-wm1-x331.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHNWN-0003dp-S8 for emacs-devel@gnu.org; Tue, 08 Feb 2022 05:15:00 -0500 Original-Received: by mail-wm1-x331.google.com with SMTP id k3-20020a1ca103000000b0037bdea84f9cso1240454wme.1 for ; Tue, 08 Feb 2022 02:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=uAd6kudn50b3E0xg2ogERH5FmgRmusR54hAKn7BIVFA=; b=Ue25SjOfjZgp8CD7GyZLpEWBV28jpmazIDN35VG/CvHf8IyGwoOsiN2NktgAOL/GNL 13m0kvw0nQiknQu3TGXeDSrZPVYN4xyYBET3IN5AFsrhPCqQskQqyA4sI9H2Iuk2mcLy aIIZxp3No+YCKFKy3dMUsogyWTJNqvloVswo2b08g/MPlSsjWM5xpBNaRCTZxXgw3XQ4 B9RzYXffI2lqCVAmEXPFdEP+mlNVGGKC9QTKBAsCkpBSEQ9mdLy88epJbz+BABybh6H+ PGuuQpl8AwXJ4XQxXOG90+26cqK3neJFv/JzM3OXCYvsMSkdwh1SGLMH21w4VIlrQwqN AO7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=uAd6kudn50b3E0xg2ogERH5FmgRmusR54hAKn7BIVFA=; b=uvd37hkGt1dO3uS3d0KAWZhou7PyPI0b0wnnB3VXdrEBPrITr+t2395FcxMGzD41Xg nyN2dvc0NQZlvPe5cpejLCRWoIK4t1aEliIU1T59WcmlO+F+STWnSuyEPkVHQ1HZj+N/ 9hnsIax86KQvyl7tQkNOIDu6gnNr6Ffjs/qml2IUdsKEIWx+D/e5ndllLk2xoeu0MDAc Ww6BimGoD14kVC85MZ86owbrvAtaItaOCTcP9/0rC0+nLkrvcCZg5T24Ys927luSphVK ko6qKQtweYmBvkGBT+91jF25wCa7jPsFgITvAPw7fqLCzLfzaN5fSBeoqbm09gT4FLwN 8Gsw== X-Gm-Message-State: AOAM5307xMI6dLGmenT7bH3xZ63CisVypH1yKU/81SNgEoRDbD9gaLyA HESRWVg9EGuMRZBDjNKn6s4= X-Google-Smtp-Source: ABdhPJw3/hrhOfu/GuOhWnBEeYXhsE5KSA7sf9Y0iPSOoQB8uJSwfLAYhc2LkneWhxJ9C0rW2oIljA== X-Received: by 2002:a05:600c:4656:: with SMTP id n22mr484558wmo.85.1644315286199; Tue, 08 Feb 2022 02:14:46 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:a7fc:d931:6725:24e8]) by smtp.gmail.com with ESMTPSA id d12sm4820153wrx.47.2022.02.08.02.14.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 02:14:45 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <20220207183252.2C345C0DA36@vcs2.savannah.gnu.org> (Michael Albinus's message of "Mon, 7 Feb 2022 13:32:50 -0500 (EST)") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::331 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=rpluim@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286071 Archived-At: >>>>> On Mon, 7 Feb 2022 13:32:50 -0500 (EST), Michael Albinus said: Michael> -(defvar connection-local-profile-alist nil Michael> +(defcustom connection-local-profile-alist nil Michael> "Alist mapping connection profiles to variable lists. Michael> Each element in this list has the form (PROFILE VARIABLES). Michael> PROFILE is the name of a connection profile (a symbol). Michael> VARIABLES is a list that declares connection-local variables for Michael> PROFILE. An element in VARIABLES is an alist whose elements are Michael> -of the form (VAR . VALUE).") Michael> - Michael> -(defvar connection-local-criteria-alist nil Michael> +of the form (VAR . VALUE)." Michael> + :type '(repeat (cons (symbol :tag "Profile") Michael> + (repeat :tag "Variables" Michael> + (cons (symbol :tag "Variable") Michael> + (sexp :tag "Value"))))) Michael> + :group 'files Michael> + :group 'tramp Michael> + :version "29.1") If you 'M-x customize-variable RET connection-local-profile-alist', then customize will complain that this variable has been set outside customize, which I think is done in tramp-integration.el. If it needs a default non-nil value, can you not specify it here? Robert --