Mail Archives: djgpp/1997/10/12/08:15:28
On Fri, 10 Oct 1997, Jim Chapman wrote:
> I have been trying to use emacs as a development environment. I edit one
> or more files, save the files, execute the make command, then edit the
> files again. When I try to change a file I get a message
>
> [file] Changed On Disk; Really Edit The Buffer
This has never happened to me. Please supply additional info: what
platform do you use (DOS? Windows?), what version of OS, whether your
Emacs is from Simtel em1934b.zip or compiled by yourself, etc.
Also, please tell exactly how did you run Make (from within Emacs?
from another DOS box on Windows? after shelling to DOS?). A sample
Makefile that causes this would also be nice.
Does this happen with *every* file you edit, or just with some? If
the latter, please try to tell what's different about those files
which trigger the message.
> By reading the documentation I believe this is connected with file locks
I don't think this is the reason. AFAIK, file locks are not an issue
in the DJGPP version. In fact, I think they aren't even used. Do you
have something in your lock directory? Mine is empty at all times.
The first thing I would think of is that when you run Make it somehow
touches (changes the time stamp of) the file you are editing, and
that's what causes these messages from Emacs. That is why it is
important that you tell what Makefile do you run and how.
- Raw text -