From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: vc-dired refresh Date: Sat, 19 Jan 2008 10:48:16 +1300 Message-ID: <18321.7840.682424.490929@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200694720 4276 80.91.229.12 (18 Jan 2008 22:18:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2008 22:18:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 18 23:18:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JFzY9-00065s-A5 for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 23:18:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFzXk-0000Cu-3T for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 17:18:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFzXg-0000Ca-EB for emacs-devel@gnu.org; Fri, 18 Jan 2008 17:18:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFzXf-0000AU-2c for emacs-devel@gnu.org; Fri, 18 Jan 2008 17:18:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFzXe-0000AF-TD for emacs-devel@gnu.org; Fri, 18 Jan 2008 17:18:26 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFzXe-0001pt-Hb for emacs-devel@gnu.org; Fri, 18 Jan 2008 17:18:26 -0500 Original-Received: from kahikatea.snap.net.nz (219.61.255.123.dynamic.snap.net.nz [123.255.61.219]) by viper.snap.net.nz (Postfix) with ESMTP id D67243DA11D for ; Sat, 19 Jan 2008 10:48:24 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id A3B7C8FC6D; Sat, 19 Jan 2008 10:48:17 +1300 (NZDT) X-Mailer: VM 7.19 under Emacs 23.0.50.32 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87064 Archived-At: I've noticed the following problem with vc-dired. Its present in Emacs 21.3 and a bit obscure, so Ij ust present it here for the record. Sometimes that if you do version control operations outside Emacs, 'g' (revert-buffer) in vc-dired doesn't keep track of the changes (presumably using some internal state). Here's one (contrived) example of what I'm saying: >From the command line: 1) cd emacs/src (or your directory for Emacs C files. 2) touch emacs.c >From Emacs (with cvs-stay-local t) 3) C-x v d 4) Dired under VC (directory): ~/emacs/src/ emacs.c is displayed as modified because the date has changed >From the command line: 5) cvs status emacs.c This finds no changes, updates the timestamp in Entries and reports that emacs.c is up-to-date. >From Emacs 6) 'g' should show now that emacs.c is not modified but doesn't, presumably because it doesn't consult the Entries file again. -- Nick http://www.inet.net.nz/~nickrob