Re: When editing files on slow network filesystems, nedit ofen pauses (due to stat() calls) - how to disable?
Eddy De Greef <[email protected]> Sat, 20 Mar 2010 23:49:19 +0100
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Message-ID | <[email protected]> |
I'm afraid the only option is to modify the source code. [CheckForChangesToFile() - source/file.c] Even if you disable the warnings, NEdit still uses stat() to monitor the file attributes (e.g. to update the title when the file is made read-only externally). Eddy hda247-S0/[email protected] wrote: > Hi, > > I understand it is a feature of nedit that it looks for changes in the > edited file every other second (by calling stat() on the file). > > However, this causes annoying pauses when editing a file on a slow > network filesystem. > > I've tried to disable the check un-selecting the > preferences->DefaultSettings->Warnings options, but that does not help. > > Using "strace nedit somefile.txt" I can see the stat() calls are still > done. > > Is there a way to disable that behaviour (short of changing the source > code)? > > Thanks in advance, > > Lutz > -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss