unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: How to disable ido and icomplete in some path/directory?
Date: Wed, 20 Dec 2017 03:01:59 +0100	[thread overview]
Message-ID: <874lom6tt4.fsf@telefonica.net> (raw)
In-Reply-To: CACspjXevy7j6BEkZ4y_X+8DoQyxSbwvbwriicWgYa4hNxC1Gww@mail.gmail.com

Shuguang Sun <shuguang@gmail.com> 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.




  reply	other threads:[~2017-12-20  2:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20  1:06 How to disable ido and icomplete in some path/directory? Shuguang Sun
2017-12-20  2:01 ` Óscar Fuentes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-20  5:24 Shuguang Sun
2017-12-20 16:11 ` Stefan Monnier
2017-12-19 14:57 Shuguang Sun
2017-12-19 15:11 ` Stefan Monnier
2017-12-19  6:44 Shuguang Sun
2017-12-19 13:32 ` Stefan Monnier
2017-12-19  2:09 Shuguang Sun
2017-12-19  3:09 ` Stefan Monnier
2017-12-18  8:44 Shuguang Sun
2017-12-18 21:59 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874lom6tt4.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).