I am sure this is not a proper way to fix it but I don't know enough about gedit to trace this all the way. From what I can tell though the error spawns in gedit-local-document-saver.c and it doesn't occur in vi:
I've tried setting ahead and behind times on both server but I still keep getting the error. Finally I commented out the entire if statement and rebuild gedit. Works fine now but I am definitely missing out on time stamp changes. Right now it's so frustrating though and I love the editor so until gedit team has an official fix this will do.
I am sure this is not a proper way to fix it but I don't know enough about gedit to trace this all the way. From what I can tell though the error spawns in gedit-local- document- saver.c and it doesn't occur in vi:
if (lsaver- >priv-> doc_mtime > 0 &&
statbuf. st_mtime != lsaver- >priv-> doc_mtime &&
(( saver-> flags & GEDIT_DOCUMENT_ SAVE_IGNORE_ MTIME) == 0))
g_set_ error (&lsaver- >priv-> error,
GEDIT_ DOCUMENT_ ERROR,
GEDIT_ DOCUMENT_ ERROR_EXTERNALL Y_MODIFIED,
"Externally modified");
{
}
I've tried setting ahead and behind times on both server but I still keep getting the error. Finally I commented out the entire if statement and rebuild gedit. Works fine now but I am definitely missing out on time stamp changes. Right now it's so frustrating though and I love the editor so until gedit team has an official fix this will do.