emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: Updating *Completions* as you type


From: Drew Adams
Subject: RE: [External] : Re: Updating *Completions* as you type
Date: Mon, 16 Oct 2023 15:58:01 +0000

> > So completion on remote files will not be able
> > to benefit from this?
> 
> No, remote files are not kicked out by this.
> non-essential just prevents to open a *new*
> connection during the completion phase

FWIW:

Icicles incremental completion is effectively turned
off whenever a remote file name is read, that is,
whenever your file-name input matches a remote-file
syntax.  (You can turn it back on using `C-#'.)

Option `icicle-test-for-remote-files-flag' controls this.
By default it's non-nil.

 Non-nil means Icicles tests for remote file names.
 A value of nil turns off all handling of remote file
 names by Tramp, including file-name completion.

 The testing due to a non-nil value takes a little time,
 but the test result saves time with Tramp handling, and
 it is used to avoid some other costly operations when a
 file is determined to be remote.  These operations are
 (a) incremental completion and (b) highlighting of the
 part of your current input that does not complete.

 Use a nil value only when you are sure that the file
 names you are completing are local.  The effect will be
 a slight speed increase for operations (a) and (b) for
 local files.  You can toggle this option from the
 minibuffer using `C-^'.

IOW, if you know that you won't be using remote file
names for a while, you can let Icicles and Tramp know
this by using `C-^' in the minibuffer to turn off the
option.

The "remote" test used is essentially `file-remote-p',
except that on MS Windows non-nil option
`icicle-network-drive-means-remote-flag' means consider
also files on a mapped network drive to be remote.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]