Starting with Emacs 24 (using various different versions of Ubuntu and Linux Mint), if I open a file on an NFS drive, modify it and attempt to save it C-x C-s, I get the message of: Saving <filename>...
, but the file does not save, and is still marked as having been changed.
If I save the file with a C-x C-w, the file will save, and all subsequent C-x C-s attempts for that file will succeed until the buffer is killed.
This problem does not exist on the same machine/file system if I use Emacs 23.
M-x report-emacs-bug
) or at least asking athelp-gnu-emacs@gnu.org
. – Drew Jan 15 '19 at 19:06rw,nosuid,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountvers=3,mountport=20048,mountproto=tcp,local_lock=none
I believe the server is a Centos 6 system. I am trying to find out from the sysadmin what the options for that machine are. – Don Allingham Jan 15 '19 at 20:23nfsstat -m
shows nothing,/etc/exports
options arerw,no_root_squash,sync
– wef Jan 15 '19 at 22:09C-x C-w
and subsequentC-x C-s
, it seems likely that it's because the initialC-x C-s
obeysbakup-by-copying
(and other variablesbackup-by-copying-*
). – Stefan Jan 16 '19 at 2:11