* 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
2003-10-21 14:48 ` Richard Stallman
0 siblings, 1 reply; 3+ 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] 3+ messages in thread
* Zip-Archive mode doesn't check if the archive has changed
@ 2003-10-17 1:08 Dan Jacobson
0 siblings, 0 replies; 3+ 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] 3+ messages in thread
end of thread, other threads:[~2003-10-21 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1907.1066431494.21628.bug-gnu-emacs@gnu.org>
2003-10-20 16:12 ` Zip-Archive mode doesn't check if the archive has changed Kevin Rodgers
2003-10-21 14:48 ` Richard Stallman
2003-10-17 1:08 Dan Jacobson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.