delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/12/08:15:28

Date: Sun, 12 Oct 1997 14:11:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jim Chapman <jim DOT chapman AT sympatico DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: emacs
In-Reply-To: <343E7673.7B6A@sympatico.ca>
Message-ID: <Pine.SUN.3.91.971012141048.8447M-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019