unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Zip-Archive mode doesn't check if the archive has changed
@ 2003-10-17  1:08 Dan Jacobson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Jacobson @ 2003-10-17  1:08 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Zip-Archive mode doesn't check if the archive has changed
       [not found] <mailman.1907.1066431494.21628.bug-gnu-emacs@gnu.org>
@ 2003-10-20 16:12 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-10-20 16:12 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-20 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-17  1:08 Zip-Archive mode doesn't check if the archive has changed Dan Jacobson
     [not found] <mailman.1907.1066431494.21628.bug-gnu-emacs@gnu.org>
2003-10-20 16:12 ` Kevin Rodgers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).