Subject: bug#19607: issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk; really edit the buffer

From: Bertrand Brelier <[email-masked]>
Date: Wed, 28 Jan 2015 08:11:45 -0500

Hello Paul,

I tested the new code :

plain CIFS :
Emacs should work around this POSIX-conformance bug.

on EncFS over CIFS :
Emacs does not work around this POSIX-conformance bug.

Thanks for your help,

Cheers,

Bertrand

On Tue, Jan 27, 2015 at 5:29 PM, Paul Eggert <[email-masked]> wrote:

> I see from Jakob's email that the bug can be reproduced on CIFS without
> EncFS.  However, there's still something wrong here, as Emacs has code to
> work around the CIFS bug; see the comment about CIFS in emacs/src/fileio.c
> starting at line 4897, here:
>
> http://git.savannah.gnu.org/cgit/emacs.git/tree/src/fileio.c?id=
> a56eab8259568ea1389e972623e46359e73c0233#n4897
>
> Unfortunately, this workaround for the CIFS bug does not appear to suffice
> for EncFS over CIFS.
>
> Bertrand, can you please try the attached program, both on plain CIFS and
> on EncFS over CIFS?  It attempts to mimic Emacs's actions more precisely
> than the previous test program, which may help us to narrow down the
> problem.  Thanks.
>