From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: How to disable ido and icomplete in some path/directory? Date: Wed, 20 Dec 2017 03:01:59 +0100 Message-ID: <874lom6tt4.fsf@telefonica.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513735260 6194 195.159.176.226 (20 Dec 2017 02:01:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2017 02:01:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 20 03:00:56 2017 Return-path: Envelope-to: geh-help-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 1eRTgj-00018K-Fe for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2017 03:00:53 +0100 Original-Received: from localhost ([::1]:51337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRTig-0001uw-2J for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Dec 2017 21:02:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRTiB-0001uG-JJ for help-gnu-emacs@gnu.org; Tue, 19 Dec 2017 21:02:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRTi6-0000BB-L5 for help-gnu-emacs@gnu.org; Tue, 19 Dec 2017 21:02:23 -0500 Original-Received: from [195.159.176.226] (port=51317 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRTi6-0000AK-Dd for help-gnu-emacs@gnu.org; Tue, 19 Dec 2017 21:02:18 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eRTg2-0006FQ-8U for help-gnu-emacs@gnu.org; Wed, 20 Dec 2017 03:00:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:i61VTu3LQgucCURh2KhrFUgG/+0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115407 Archived-At: Shuguang Sun writes: > Someone uses the help maillist to train robot? :-) IIUC Stefan is saying that the slow responsiveness of the remote network should not matter because Emacs builds the completion list asynchronously (at least when icomplete is used, AFAIK ido needs to build the list before interacting with the user). If, when using icomplete, you are forced to wait, it is a bug in Emacs. Stefan is trying to know the exact problem you experience (with icomplete). For ido, which builds its list of candidates synchronously, you can advice the function `ido-is-slow-ftp-host'. This function takes a parameter which corresponds to a directory (if this parameter is nil then the current directory is assumed). When this function returns non-nil, ido is disabled.