From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#32090: 26.1; connection-local-variables do not match as described Date: Wed, 05 Sep 2018 11:02:59 +0200 Message-ID: <87efe8gvuk.fsf@gmx.de> References: <87tvpaawkw.fsf@gmx.de> <87a7r0336w.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536138130 3249 195.159.176.226 (5 Sep 2018 09:02:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2018 09:02:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 32090@debbugs.gnu.org To: Christopher Cooper Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 05 11:02:06 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 1fxThM-0000e0-1J for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Sep 2018 11:02:04 +0200 Original-Received: from localhost ([::1]:54598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxTjS-0003I2-Ed for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Sep 2018 05:04:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxTjM-0003HM-71 for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2018 05:04:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxTjH-0001M8-5s for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2018 05:04:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxTjG-0001L8-GE for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2018 05:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fxTjG-0001nI-6n for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2018 05:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Sep 2018 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32090 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 32090-submit@debbugs.gnu.org id=B32090.15361381896832 (code B ref 32090); Wed, 05 Sep 2018 09:04:02 +0000 Original-Received: (at 32090) by debbugs.gnu.org; 5 Sep 2018 09:03:09 +0000 Original-Received: from localhost ([127.0.0.1]:46365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxTiP-0001m7-04 for submit@debbugs.gnu.org; Wed, 05 Sep 2018 05:03:09 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:43055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxTiN-0001ll-3r for 32090@debbugs.gnu.org; Wed, 05 Sep 2018 05:03:07 -0400 Original-Received: from detlef.gmx.de ([213.220.156.160]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LyWAQ-1frNXG2OyU-015uHC; Wed, 05 Sep 2018 11:03:00 +0200 In-Reply-To: <87a7r0336w.fsf@gmx.de> (Michael Albinus's message of "Mon, 09 Jul 2018 16:15:51 +0200") X-Provags-ID: V03:K1:wmQEwmRua5dK4oY0ETrXXgKYLRzU+0N116zIbCVyNgnorIKKwHn E6MrdveRorAF7idnxrmZR1j8CM3xMsFv/cxMrPyIRW1vyS563jCiJuKJXKdQ1IbC1L3EzGj TzcwzY4n2ouw5xMxV04O80/IhJPJH+OyJYpCvwwx/ahvJwRNnt6BJUCIrRbktZd99v8jknH tpmecbuj0MWXMtPzP/gZw== X-UI-Out-Filterresults: notjunk:1;V01:K0:JhbKlGZiOY0=:SkONroADBt5v6TkOR+Kgo8 tB/L3tfF6gnTTl3Kz4zDG7MfUSI+qMEPdE1VfrExfHa/wJGbtfGhxsrJB8H6aUEd5duMjCJi9 uenSc/nrCFRuWzrcXzQiqKbLqLx+WND2tC6sBjX2PGvsKtRl4hoapKbdwzVVfvgKORgIu0LeA tBMgcZxUTau5G5AqTjVXiWNaNNXMroiEGz4H9CIgA04ofV0NT+ceAU9+B3riiNUT20H/7TaWf pDuy8M4bL1DaQeCvHTglakQzZebZSecPKq9nYolIO2ida0JOiwXDG7BDSMDFdp3l0GczDgWmG mCyKHKmHzKBbsd6Kdrp8z3zNf1iainZMp9BeOBZkwbbXuKUUWOIq1SAGvGUs8o3ErPT1z0APt +yMXT+h13JOJP/JCDcHGgSexiGaZxyKHSD9c93RaXQYxqctB+kynbCf/FI2Oo6WYLV5fCbwg1 wItjFK9yv03HkP4+n937kWRMeSmq74Ym3pJ2HwN/7Okn4UtueJQM9s65zlMj2xnq/cgLdWmck TS8dPc+yg+lLJqbG+wWvdpcN9ro5oczWkC0KZR8ZYpUy+s3nbNTdULAD3GeXGJmy1A9+IzRBl veTftw8MLgc+ze51d14wlMsOy055nK1W8aZhstnsjNVam40P5pRFnnjvQaiJiIIL2ZCuXFtMo iSS2BICvKtgHPyV9AdG9Gkt3T2++LR/KrUBmuG0IR9Slytu3GdHwU8bFZOLTjpmymge1xnXS2 EJPbq7iee/LSGTNoHp7GzLdGVn102B3wb+KxZfTjIoBard0rXN+nPQNJhrebPNBENoOUteGB 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:150044 Archived-At: Michael Albinus writes: Hi Christopher, >>> That means, the Tramp implementation requires :application to be 'tramp >>> or nil, *and* it requires setting of :protocol, :user and :machine in >>> your criteria, which match the respective remote file name. >> >> This makes sense, except that I'm still confused on why :application >> can be nil but :protocol, :user, and :machine cannot be. >> >> I think ultimately, it comes down to a confusion over what "optional" >> means. I took it to mean: "It this property is provided, it will be >> checked when matching. If not, we don't care about the value of this >> property." And, as I stated earlier, I don't understand how the >> sentence "If CRITERIA is 'nil', it always applies." is try in any >> sense of those words. If the feature is working as intended, those are >> the worst offenders as far as confusing documentation. > > Well, I've slept over this last night, and I've convinced myself that > you are right. Every property shall be optional, not only :application. > As documented. > > So I've committed a patch to the emacs-26 branch. Maybe you have a > chance to check this out; otherwise the patch is accessible here: > > >> Once again, I appreciate this feature and your explanation here. I >> hope this is helpful in clarifying the documentation. > > If you want see some more examples for intended use, see file > test/lisp/files-x-tests.el. Note, that I have adapted it as well for the > patch. Are there still problems wfor you with this? Otherwise, I believe the bug could be closed. >> Christopher Best regards, Michael.