From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Change Tramp syntax Date: Tue, 14 Mar 2017 10:06:59 +0100 Message-ID: <877f3srzv0.fsf@detlef> References: <20170309184457.29604.13048@vcs0.savannah.gnu.org> <20170309184458.08C9725FCF@vcs0.savannah.gnu.org> <87k27xfo3q.fsf@detlef> <87efy5fmml.fsf@detlef> <87mvcti5he.fsf_-_@detlef> <8760jfegz4.fsf@detlef> <83o9x7d1a6.fsf@gnu.org> <87lgsbd08r.fsf@detlef> <83innecyld.fsf@gnu.org> <87fuiimjph.fsf@detlef> <87y3w99jku.fsf@detlef> <83wpbtaxtd.fsf@gnu.org> <87tw6x9j1w.fsf@detlef> <83mvcobk9g.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489482477 13443 195.159.176.226 (14 Mar 2017 09:07:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2017 09:07:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 10:07:53 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cniQl-0002NM-02 for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2017 10:07:47 +0100 Original-Received: from localhost ([::1]:57212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cniQn-0002h9-Sx for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2017 05:07:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cniQD-0002h3-NA for emacs-devel@gnu.org; Tue, 14 Mar 2017 05:07:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cniQ7-0001HK-S9 for emacs-devel@gnu.org; Tue, 14 Mar 2017 05:07:13 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:49235) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cniQ7-0001H2-Jb; Tue, 14 Mar 2017 05:07:07 -0400 Original-Received: from detlef.gmx.de ([93.209.65.83]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LcWSI-1cLUri3O1W-00joz9; Tue, 14 Mar 2017 10:07:01 +0100 In-Reply-To: <83mvcobk9g.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 14 Mar 2017 05:38:19 +0200") X-Provags-ID: V03:K0:LP+sz9fUjgS2viqDkhakTgm6XHJijGR8ZguL9jAyJpBH4OC4FYq ysMS1h/R2xg2NatByFkKSu3KxAJlVEC+KrPOLKeAoJlVvpCEMZOvGsQezWo1RtkKp8hkAB7 f07Hpa7ZOVqf9wH1dqYv0AwfHmPk+D2MSBM7EmzUEkjK/qRzVeYlClF8rGBI1XRTKUZydxU 64FGN7GJsMQTt35VdKzxw== X-UI-Out-Filterresults: notjunk:1;V01:K0:7nCSrBz4g6c=:uofy5CUI7L30LuRmAZCcXb yRM4F4BWad4WS7Pxr4IZ/gjYpByH7PFrS4dI3+m/nwIvAr6Avw27ccLtL7kcsvPjgV34Vqnjn gaAJ5hhrm4RTy89k054vaYRKZFxCQccUDyUl17hJoiba2vQnz0bByCPDxS0hjzbWBiQb1Z+zL AcSx6UIhrSNxQZe0BGMxC7RiqyYuzr3RS5R/zQIOvE4p10XeTPc3/Ib1frIFVmDQwln5jI2jl QPVLCiBBqRIl+k2xD+Ib5gAPv6mnAz3oiRJx4nEcfNuQn4ILkgj1H4ll3QvQByRUJtsfIkqOB r43/EEDCE3MVYkBMFWojtFdx0mPk6ygtW3uHH+t1U4gR/YFSyJJ2RLvOcGqgAivckogWS4KVx KR4vxpnn2FiO3HwjRfJdhk26AJsm9NYUayCkHZS6Fn3fDgagyF/tWZoCOpDNfiRbzwwIzTVVI e/Qh7BQzVJDqk8MsVg/vOpyts/OVfKn8tETykIPbUqIgo0BlRbAfmZ6YMiZejFXsGwfnX+kBB ICawSGEqjID5Fb8nsEaiGv3qX9eylahTo2bYgL96Iy9tGs7jvQNuWJqgTceH3SwrK17OJ74y6 scZ7Mqhy0/DfljilEbgYhRAG+UH5GDtq3YY7ytuWN2USq2RyXdd0eHtMPRXiMQanf6Y0vlB1p hoVtrlc0g0CCiLf6OOGugBU7j7792f8ywnj+kDcF2dSZF6zolrcZOANYtX/r1Ihh8+snffLXF WqxVSgujmjRMkdZ09Ao5eSpctgsoqWK6SIPyfY1qGXvXAu4mY554GuX6ZDkSArch8e1ykV00 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213007 Archived-At: Eli Zaretskii writes: Hi Eli, >> > I have a directory ~/data. Is it expected that typing "C-x C-f ~/dat TAB" >> > should load Tramp? If that's expected, why is Tramp interested in >> > completions of such file names? >> >> Tramp shouldn't be interested. "~" is in the way. I wrote "/foo". > > Sorry, I don't think I understand what you meant. Does this mean you > think loading Tramp in the above case is unexpected, and will look > into this? Or does this mean the presence of "~" somehow explains why > Tramp is loaded upon completion? In the latter case, could you please > elaborate? I meant that Tramp shall not be loaded in that case. I tried to reproduce, starting emacs -Q, being in ~/, and typing "C-x C-f d a ". And indeed, Tramp is loaded. Backtrace: --8<---------------cut here---------------start------------->8--- tramp-completion-file-name-handler(file-name-completion "da" "/home/albinmic/" file-exists-p) file-name-completion("da" "~/" file-exists-p) completion-file-name-table("~/da" file-exists-p nil) try-completion("~/da" completion-file-name-table file-exists-p) --8<---------------cut here---------------end--------------->8--- Neither "da" nor "/home/albinmic/" shall trigger this. I'll check. > Thanks. Best regards, Michael.