From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: Zip-Archive mode doesn't check if the archive has changed Date: Mon, 20 Oct 2003 10:12:08 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F940958.9070906@yahoo.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1066666504 32664 80.91.224.253 (20 Oct 2003 16:15:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 16:15:04 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 18:15:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABcgP-0003q6-00 for ; Mon, 20 Oct 2003 18:15:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABcfJ-0000Nm-Sf for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2003 12:13:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ABcfH-0000Mm-K0 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 20 Oct 2003 12:13:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ABcei-0000BU-9B for bug-gnu-emacs@prep.ai.mit.edu; Mon, 20 Oct 2003 12:13:47 -0400 Original-Received: from [216.168.1.22] (helo=trinity.supernews.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ABceh-0008M9-0B for bug-gnu-emacs@prep.ai.mit.edu; Mon, 20 Oct 2003 12:13:15 -0400 Original-Received: from mail.fu-berlin.de ([160.45.11.165]:11880 ident=root) by trinity.supernews.net with esmtp (Exim 4.20) id 1ABcdd-000EM6-Hs for gnu-emacs-bug@moderators.isc.org; Mon, 20 Oct 2003 16:12:09 +0000 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Mon, 20 Oct 2003 18:12:08 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Mon, 20 Oct 2003 18:12:08 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 29 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: news.uni-berlin.de 1066666327 29003532 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6004 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6004 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