all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: How to disable ido and icomplete in some path/directory?
@ 2017-12-20  1:06 Shuguang Sun
  2017-12-20  2:01 ` Óscar Fuentes
  0 siblings, 1 reply; 12+ messages in thread
From: Shuguang Sun @ 2017-12-20  1:06 UTC (permalink / raw)
  To: help-gnu-emacs

Someone uses the help maillist to train robot?


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: How to disable ido and icomplete in some path/directory?
@ 2017-12-20  5:24 Shuguang Sun
  2017-12-20 16:11 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Shuguang Sun @ 2017-12-20  5:24 UTC (permalink / raw)
  To: ofv; +Cc: help-gnu-emacs

I apolygize for my attitude. I'm in the busy timeline work now and can't
help too much on the "bug" thing.

My need is to disable ido and icomplete in some path/directory as the
title. Automatically, not manually each time.
It will be fine for me.

Something may help for bug idendification:
When I press a key in dired-do-find-file/copy/rename, then emacs hangs for
while (may be re-reading the file name list from remote and building
completion list.) Then the key shows in the minibuffer with the completion
list.
If I type two keys continously, emacs hangs for while, and then the two
keys show in the minibuffer with the completion list.


Another thing not relevant:
In the slow rate net work (net driver mapping in windows, not tramp),
fontifyiing a big buffer associated with remote file will take longer time
than local file.

Best Regards,
Shuguang


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: How to disable ido and icomplete in some path/directory?
@ 2017-12-19 14:57 Shuguang Sun
  2017-12-19 15:11 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Shuguang Sun @ 2017-12-19 14:57 UTC (permalink / raw)
  To: monnier; +Cc: help-gnu-emacs

It is not a bug. It behave as

- let's say you're in a prompt like "Find file: /foo/bar/"
  where /foo/bar is a "slow" directory.
- Emacs is busy trying to get the list of completions.
- you hit "t"
- Emacs promptly stops trying to get the list of completions, and
  updates the minibuffer to: "Find file: /foo/bar/t"
- it then (re)tries to get the list of completions.

it is due to the slow net rate. So disable icomplete will solve the problem.

My question is how to diable ido and icomplete in some path/directory.


(Sorry it does not work to call gmail repsoning the help maillist in firefox).

Best Regards,

Shuguang


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: How to disable ido and icomplete in some path/directory?
@ 2017-12-19  6:44 Shuguang Sun
  2017-12-19 13:32 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Shuguang Sun @ 2017-12-19  6:44 UTC (permalink / raw)
  To: monnier; +Cc: help-gnu-emacs

Hi Stefen

It is not a bug. Emacs will "immediately" process my key, and start trying
to building the next list of completions.
However, the network is slow, thereby, the response of emacs is delayed. It
is why I want to disable IDO/icomplete in some directory.


You remind me. I try to enable ido and icomplet separately.
The icomplete-mode trigger my issue. It tries to buidling the list after
each key typing.
The ido-everywhere just takes some times for the first time under a
directory, and don't re-read the list after each typing.


Best Regards,
Shuguang


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: How to disable ido and icomplete in some path/directory?
@ 2017-12-19  2:09 Shuguang Sun
  2017-12-19  3:09 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Shuguang Sun @ 2017-12-19  2:09 UTC (permalink / raw)
  To: monnier; +Cc: help-gnu-emacs

Hi Stefen,

I works on Windonw 7 and has a network driver i: (that is, I mapped a net
work location [server \\host\path\] to local). The network is very slow.
When I want to dired-do-find/copy, it takes a long time for ido/icomplete
to read the list of filenames from the server. Thereby, I want to disable
ido and icomplete in such drivers/paths.
For dired-do-find-file, I can enter edit mode by C-e, however, it does't
solve all problems, and still has very slow response at the begining and
end.

In those local driver, it is fast for ido/icomplete to read the list of
finames for completion and it is helpful.

Best Regards,
Shuguang


^ permalink raw reply	[flat|nested] 12+ messages in thread
* How to disable ido and icomplete in some path/directory?
@ 2017-12-18  8:44 Shuguang Sun
  2017-12-18 21:59 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Shuguang Sun @ 2017-12-18  8:44 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I have ido-everywhere, icomplete-mode, and ido-mode in my init. I want to
disable ido and icomplete in some path or directory, for example, i:/work/,
when I find file, copy file (dired-do-copy), or rename file
(dired-do-rename).

Any suggestion will be appreciated.

Best Regards,
Shuguang


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-12-20 16:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-20  1:06 How to disable ido and icomplete in some path/directory? Shuguang Sun
2017-12-20  2:01 ` Óscar Fuentes
  -- 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.