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: Sun, 20 Mar 2016 12:10:08 -0400 Message-ID: References: <871t7d4ion.fsf@gmx.de> <87oaagi128.fsf@gmx.de> <877fh0hovs.fsf@gmx.de> <756f60a7-bdf9-a806-b9d6-dbf17f0ebaab@yandex.ru> <87y49gg9sm.fsf@gmx.de> <845ef936-dec1-eac9-db2a-f2bb25f3a830@yandex.ru> <87egb8faxv.fsf@gmx.de> <8760wj3eks.fsf@gmx.de> <8760wj4jvp.fsf@gmx.de> <871t7650th.fsf@gmx.de> <87io0i32sq.fsf@gmx.de> <871t752nme.fsf@gmx.de> <87fuvlup8l.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1458490284 2161 80.91.229.3 (20 Mar 2016 16:11:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2016 16:11:24 +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 Sun Mar 20 17:11:13 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 1ahfwe-0004KU-93 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 17:11:12 +0100 Original-Received: from localhost ([::1]:53606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahfwd-000646-FX for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2016 12:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahfwZ-00063k-LD for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 12:11:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahfwU-00066I-LB for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 12:11:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahfwU-00066D-Hu for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 12:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ahfwU-0007N6-Bg for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2016 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Mar 2016 16:11:02 +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.145849021328279 (code B ref 23006); Sun, 20 Mar 2016 16:11:02 +0000 Original-Received: (at 23006) by debbugs.gnu.org; 20 Mar 2016 16:10:13 +0000 Original-Received: from localhost ([127.0.0.1]:55742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahfvh-0007M3-H8 for submit@debbugs.gnu.org; Sun, 20 Mar 2016 12:10:13 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:35974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahfvf-0007Lt-Pw for 23006@debbugs.gnu.org; Sun, 20 Mar 2016 12:10:12 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u2KGA83p017580; Sun, 20 Mar 2016 12:10:09 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 4FD95AE240; Sun, 20 Mar 2016 12:10:08 -0400 (EDT) In-Reply-To: <87fuvlup8l.fsf@gmx.de> (Michael Albinus's message of "Sun, 20 Mar 2016 16:46:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5616=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5616> : inlines <4536> : streams <1606039> : uri <2170654> 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:115150 Archived-At: >>>> Can you explain *your* understanding of `non-essential', then? >>>> What does this var mean, for you? >>> For Tramp, it is an indication that file name completion is in >>> progress. >> Huh? Why would it need such a variable for that, instead of getting >> this info from the fact that you're replying to >> `file-name-all-completions' (or `file-name-completion') rather than to >> some other request? > Because these aren't the only file name operations being called. You > have seen it in the backtraces I've shown earlier. But in that backtrace, it's OK for Tramp to open a new connection, since the user hit TAB. >> And why would it be called `non-essential' instead of `in-completion'? > I wanted to introduce `completion-only'. The crucial distinction to be made is not between "performing completion" and "not performing completion", but between "any normal operation, including completion in response to TAB" and "side-operations like on-the-fly completion =E0 la icomplete or company or background data collection (like semantic might perform)". > As I understand the codebase of Emacs 25, no other use of > `non-essential' has appeared since then. Six years later. It should be bound in desktop.el when reloading a desktop, but instead desktop.el opted to use ad-hoc file-remote-p tests, IIUC. Stefan