all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Zip-Archive mode doesn't check if the archive has changed
Date: Mon, 20 Oct 2003 10:12:08 -0600	[thread overview]
Message-ID: <3F940958.9070906@yahoo.com> (raw)
In-Reply-To: mailman.1907.1066431494.21628.bug-gnu-emacs@gnu.org

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	other threads:[~2003-10-20 16:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1907.1066431494.21628.bug-gnu-emacs@gnu.org>
2003-10-20 16:12 ` Kevin Rodgers [this message]
2003-10-21 14:48   ` Zip-Archive mode doesn't check if the archive has changed Richard Stallman
2003-10-17  1:08 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F940958.9070906@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.