delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/13/09:05:14

Date: Mon, 13 Oct 1997 15:02:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: eyal DOT ben-david AT aks DOT com
cc: jim DOT chapman AT sympatico DOT ca, djgpp AT delorie DOT com
Subject: Re: emacs
In-Reply-To: <4225652E.006587C3.00@aks.com>
Message-ID: <Pine.SUN.3.91.971013150059.11407N-100000@is>
MIME-Version: 1.0

On Sun, 12 Oct 1997 eyal DOT ben-david AT aks DOT com wrote:

> >> [file] Changed On Disk; Really Edit The Buffer
> >
> This happened to me several times. I think the problem is related to LFN
> 
> Here's a way to recreate the problem.
> 
> 1.   From within emacs open test  file , say  file.ext (all lowercase).
> 2.   edit some text and save.
> 3.   open another file but specify now File.Ext. (note mixed case)
>      now you have two different buffers displaying the same file.

That's a feature.  If you don't want it (most Windows 95 users won't),
set the variable find-file-existing-other-name to t (in your
`_emacs').  Then Emacs will say that these two files are the same file
and won't load it the second time.  (It knows that these are two names
for the same file because `stat' and `_truename' in DJGPP's library
know that.)

In Emacs 20, that variable is set to t by default.

And btw, even if you don't set the above variable, Emacs should warn you 
that these two are the same file.  Doesn't it?

> BTW this message is displayed if another editor changed the file.

In this case, the message is correct and does what it's supposed to
do.

- Raw text -


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