From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#23006: 25.0.92; Loading Tramp breaks pcomplete in eshell-mode Date: Tue, 22 Mar 2016 08:02:10 -0400 Message-ID: References: <871t7d4ion.fsf@gmx.de> <87io0i32sq.fsf@gmx.de> <871t752nme.fsf@gmx.de> <87bn69uouo.fsf@gmx.de> <764322aa-50ea-96b4-7c2a-36fbd60b2b54@yandex.ru> <8760wgvql0.fsf@gmx.de> <87r3f4ub0o.fsf@gmx.de> <87k2kvomui.fsf@gmx.de> <877fgvom2b.fsf@gmx.de> <57b602fa-a6b7-48c7-22f0-3751cd956228@yandex.ru> <8737rjol0t.fsf@gmx.de> <67874c87-ff4b-c1d9-8567-4aab31252d0b@yandex.ru> <87y49bn53t.fsf@gmx.de> <87mvpqn9ti.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458648339 18718 80.91.229.3 (22 Mar 2016 12:05:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2016 12:05:39 +0000 (UTC) Cc: 23006@debbugs.gnu.org, Dmitry Gutov To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 22 13:05:28 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aiL1l-0003Y4-Mg for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Mar 2016 13:03:14 +0100 Original-Received: from localhost ([::1]:35793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiL1l-0002Ak-2O for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Mar 2016 08:03:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiL1g-0002AN-N8 for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2016 08:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiL1a-0001P9-7m for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2016 08:03:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiL1a-0001P3-3l for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2016 08:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aiL1Z-0000GY-TX for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2016 08:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Mar 2016 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23006 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23006-submit@debbugs.gnu.org id=B23006.1458648137960 (code B ref 23006); Tue, 22 Mar 2016 12:03:01 +0000 Original-Received: (at 23006) by debbugs.gnu.org; 22 Mar 2016 12:02:17 +0000 Original-Received: from localhost ([127.0.0.1]:57827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiL0q-0000FP-PY for submit@debbugs.gnu.org; Tue, 22 Mar 2016 08:02:16 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiL0q-0000FD-2g for 23006@debbugs.gnu.org; Tue, 22 Mar 2016 08:02:16 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A2FgA731xV/5a2xEVcgxCEAoVVu0CEfoJNBAICgTw7EgEBAQEBAQGBCkEFg10BAQMBViMFCws0EhQYDSSINwjPIwEBAQEBAQQBAQEBHos6hQUHhC0Fi0Sne4FFI4Fmgi4igngBAQE X-IPAS-Result: A0A2FgA731xV/5a2xEVcgxCEAoVVu0CEfoJNBAICgTw7EgEBAQEBAQGBCkEFg10BAQMBViMFCws0EhQYDSSINwjPIwEBAQEBAQQBAQEBHos6hQUHhC0Fi0Sne4FFI4Fmgi4igngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="197704124" Original-Received: from 69-196-182-150.dsl.teksavvy.com (HELO pastel.home) ([69.196.182.150]) by ironport2-out.teksavvy.com with ESMTP; 22 Mar 2016 08:02:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 283FE64302; Tue, 22 Mar 2016 08:02:10 -0400 (EDT) In-Reply-To: <87mvpqn9ti.fsf@gmx.de> (Michael Albinus's message of "Tue, 22 Mar 2016 10:25:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115309 Archived-At: >>> And I don't understand why Tramp shall refuse to provide file name >>> completion once the user has asked for this explicitely. Typing >>> "/ssh:host:tmp/em TAB" is a very convincing argument to me, that the >>> user wants a new connection to "host", >> We all agree. And in that case, non-essential will be nil, so Tramp >> can open a connection. It can even do that without the second slash. > As Dmitry has shown, there might be cases Tramp shall not open a new > connection even in this case (called from an idle timer). In the idle timer case, non-essential will be non-nil, so Tramp should never open a connection. > So we need a distinction between "it is always blocked to open a new > connection" and "We recommend Tramp to open a new connection only when > it is safe for Tramp". One single value of non-essential doesn't fit > this bill. I must have missed something. Can you repeat which are the three different cases you have in mind? [ In this message, I only see two cases, and I'm not sure what the third would be. ] Stefan