From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.help Subject: Getting VC to notice updates to a file's status? Date: Fri, 26 Feb 2010 15:14:27 -0800 (PST) Message-ID: <40848.130.55.118.19.1267226067.squirrel@webmail.lanl.gov> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1267279758 7916 80.91.229.12 (27 Feb 2010 14:09:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2010 14:09:18 +0000 (UTC) To: "Emacs Help" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 15:09:13 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NlNLz-0002R7-9R for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 15:09:11 +0100 Original-Received: from localhost ([127.0.0.1]:35240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlNLy-0002bf-GL for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 09:09:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nl9OB-0007z8-3P for help-gnu-emacs@gnu.org; Fri, 26 Feb 2010 18:14:31 -0500 Original-Received: from [140.186.70.92] (port=53069 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nl9O9-0007yT-Gn for help-gnu-emacs@gnu.org; Fri, 26 Feb 2010 18:14:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nl9O9-0007rV-5C for help-gnu-emacs@gnu.org; Fri, 26 Feb 2010 18:14:29 -0500 Original-Received: from proofpoint1.lanl.gov ([204.121.3.25]:55559) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl9O8-0007rP-Nq for help-gnu-emacs@gnu.org; Fri, 26 Feb 2010 18:14:29 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint1.lanl.gov (8.14.3/8.14.3) with ESMTP id o1QNERtG003484 for ; Fri, 26 Feb 2010 16:14:27 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 26F8E15FC8E5 for ; Fri, 26 Feb 2010 16:14:27 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 1065215FC8DC for ; Fri, 26 Feb 2010 16:14:27 -0700 (MST) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id 0E662450001; Fri, 26 Feb 2010 16:14:27 -0700 (MST) Original-Received: from 130.55.118.19 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Fri, 26 Feb 2010 15:14:27 -0800 (PST) User-Agent: SquirrelMail/1.4.8-5.7.lanl7 X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-02-26_14:2010-02-06, 2010-02-26, 2010-02-26 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 27 Feb 2010 08:59:15 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72199 Archived-At: If I edit a file in Emacs, but then instead of committing it via vc (C-x v v), I do the commit in a shell, is there a way to ask VC to examine the file again to see what version it is (now) and to see that it's not modified? `revert-buffer' seems to do this (but it loses the undo history), and C-x v v seemed to do it in versions prior to 23. Thanks, Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.