On 12/17/2015 4:27 PM, Matthew Fidler wrote: > I have also noticed a delay. But I only notice a delay when using > ido and there are many files in the directory. I thought it was > due to looking up the contents of the directory and caching the > results.
> > On Thu, Dec 17, 2015 at 3:14 PM Sarir Khamsi <[email protected]> > wrote: > > David Capello <[email protected]> spake thusly: > > > Hi people, > > > > Is someone else having problems saving files on Emacs for Windows (GNU > Emacs > > 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570)? > > Sometimes it takes 30 seconds or more to save one file. > > > > I've tried disabling fsync with: > > > > (setq write-region-inhibit-fsync t) > > > > But it doesn't solve the problem. > > I have seen the same problem and noticed that the delay (closer to about > 10 sec for me) happens when I am _off_ our company network. > > Sarir > > -- > Sarir Khamsi > software guy > [email protected] > This comment reminds me that I used to have this problem when I was using a VPN to connect to a remote network. I'm assuming that when you disconnect from the network, you still had a buffer referencing a file on the network. So Emacs tries to determine whether the file has been updated, and gets hung until the disconnected network connection times out. It was a while ago, but as I recall the fix was simply to kill the buffer trying to connect to the remote server. John J. Xenakis 100 Memorial Drive Apt 8-13A Cambridge, MA 02142 Phone: 617-864-0010 E-mail: [email protected] Web site: http://www.GenerationalDynamics.com Forum: http://www.gdxforum.com/forum
