bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zip-Archive mode doesn't check if the archive has changed


From: Kevin Rodgers
Subject: Re: Zip-Archive mode doesn't check if the archive has changed
Date: Mon, 20 Oct 2003 10:12:08 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Dan Jacobson wrote:

Zip-Archive mode doesn't check if the archive has changed on disk if
there still is a buffer of one of its members when bringing back that
buffer.
$ echo Q>m
$ zip a m
  adding: m (stored 0%)
$ emacs .
RET RET C-x b RET C-z
$ echo X>m
$ zip -o a m
updating: m (stored 0%)
$ fg
RET
we see a Q not an X

Zip-Archive mode has nothing to do with it.  If you edit the original,
unzipped file in Fundamental mode the same thing happens.  This is
because Emacs only checks whether the file has been changed on disk whem
you attempt to change the buffer, since there is the chance that you'll
lose the information on disk.

If you want Emacs to continually check the buffer for you, try M-x autorevert.


--
Kevin Rodgers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]