From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#2678: 23.0.91; vc-next-action in vc-dir acts strangely when only adds are necessary Date: Fri, 20 Mar 2009 20:50:37 -0700 (PDT) Message-ID: <200903210350.n2L3obrZ000098@godzilla.ics.uci.edu> References: <87d4cjcoan.fsf@catnip.gol.com> <200903201615.n2KGF70T023133@godzilla.ics.uci.edu> <200903210254.n2L2s5ep029446@godzilla.ics.uci.edu> Reply-To: Dan Nicolaescu , 2678@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237608278 24491 80.91.229.12 (21 Mar 2009 04:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2009 04:04:38 +0000 (UTC) Cc: 2678@emacsbugs.donarmstrong.com To: Miles Bader Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 21 05:05:53 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LksSV-0007CE-9c for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 05:05:40 +0100 Original-Received: from localhost ([127.0.0.1]:35543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LksR8-0001qx-OB for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 00:03:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LksR5-0001qi-6x for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2009 00:03:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LksR0-0001q4-Kl for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2009 00:03:50 -0400 Original-Received: from [199.232.76.173] (port=51132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LksR0-0001q1-D6 for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2009 00:03:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56296) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LksQz-0001wQ-ON for bug-gnu-emacs@gnu.org; Sat, 21 Mar 2009 00:03:46 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2L43hj2017841; Fri, 20 Mar 2009 21:03:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2L402ua016603; Fri, 20 Mar 2009 21:00:02 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Sat, 21 Mar 2009 04:00:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2678 X-Emacs-PR-Package: emacs,vc X-Emacs-PR-Keywords: Original-Received: via spool by 2678-submit@emacsbugs.donarmstrong.com id=B2678.123760745115211 (code B ref 2678); Sat, 21 Mar 2009 04:00:02 +0000 Original-Received: (at 2678) by emacsbugs.donarmstrong.com; 21 Mar 2009 03:50:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2L3om6I015198 for <2678@emacsbugs.donarmstrong.com>; Fri, 20 Mar 2009 20:50:49 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n2L3obYK021969; Fri, 20 Mar 2009 20:50:37 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n2L3obrZ000098; Fri, 20 Mar 2009 20:50:37 -0700 (PDT) In-Reply-To: (Miles Bader's message of "Sat, 21 Mar 2009 12:00:20 +0900") Original-Lines: 36 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n2L3obYK021969 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 21 Mar 2009 00:03:50 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26526 Archived-At: Miles Bader writes: > On Sat, Mar 21, 2009 at 11:54 AM, Dan Nicolaescu wro= te: > > =C2=A0> =C2=A0 =C2=A0(2) Perhaps vc-dir it should do a "revert-buffer= " (or something) > > =C2=A0> afterwards when it operations on a subdirectory or the whole > > =C2=A0> directory, as any operation with the backend doing the recurs= ion may > > =C2=A0> change something other than what is displayed. =C2=A0This is = easy to see if > > =C2=A0> their were unregistered subdirectories with files -- doing "v= " to > > =C2=A0> register a subdirectory adds all files in that directory, whi= ch vc-dir > > =C2=A0> hadn't displayed before, so currently "v" doesn't properly sh= ow them > > =C2=A0> afterwards (doing "g" shows them). > > > > It does, but there might be other things not working correctly with g= it, > > try with hg and you will see it working correctly. >=20 > It does what?=20=20 vc-register creates a call to vc-start-logentry vc-start-logentry calls vc-finish-logentry which calls vc-resynch-buffer vc-resynch-buffer updates both the buffers that might have been affected by the VC command and the vc-dir display (this one via the=20 vc-dir-resynch-file call). > A revert? Or always updates the display correctly in > the subdir case without a revert? If it's the latter, what mechanism > does the backend use to communicate to vc-dir that more stuff has > shown up? [or does the backend just do a revert itself?] > Thanks, >=20 > -Miles >=20 > --=20 > Do not taunt Happy Fun Ball.