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#4599: 23.1.50; VC (CVS) fails to show directory status Date: Wed, 30 Sep 2009 09:53:58 -0700 (PDT) Message-ID: <200909301653.n8UGrwU0018764@godzilla.ics.uci.edu> References: <877hvgzj5a.fsf@leeloo.anubex.internal> Reply-To: Dan Nicolaescu , 4599@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254337622 12364 80.91.229.12 (30 Sep 2009 19:07:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 19:07:02 +0000 (UTC) Cc: 4599@emacsbugs.donarmstrong.com To: Tim Van Holder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 30 21:06:54 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 1Mt4Vq-0003dT-Dg for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 21:06:54 +0200 Original-Received: from localhost ([127.0.0.1]:35073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt4Vp-0000w8-IZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 15:06:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mt2e6-0000Xc-Nh for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 13:07:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mt2e1-0000O8-GA for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 13:07:18 -0400 Original-Received: from [199.232.76.173] (port=55701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt2e1-0000NZ-7F for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 13:07:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49407) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mt2dy-0005RQ-Fd for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 13:07:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8UH77XD013593; Wed, 30 Sep 2009 10:07:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8UH0CW7011702; Wed, 30 Sep 2009 10:00:12 -0700 Resent-Date: Wed, 30 Sep 2009 10:00:12 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 30 Sep 2009 17:00:12 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4599 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4599-submit@emacsbugs.donarmstrong.com id=B4599.125432965110853 (code B ref 4599); Wed, 30 Sep 2009 17:00:12 +0000 Original-Received: (at 4599) by emacsbugs.donarmstrong.com; 30 Sep 2009 16:54:11 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8UGs9oO010849 for <4599@emacsbugs.donarmstrong.com>; Wed, 30 Sep 2009 09:54:11 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n8UGrwpr029413; Wed, 30 Sep 2009 09:53:59 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n8UGrwU0018764; Wed, 30 Sep 2009 09:53:58 -0700 (PDT) In-Reply-To: <877hvgzj5a.fsf@leeloo.anubex.internal> (Tim Van Holder's message of "Wed, 30 Sep 2009 14:55:45 +0200") Original-Lines: 30 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n8UGrwpr029413 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, 2) Resent-Date: Wed, 30 Sep 2009 13:07:18 -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:31604 Archived-At: Tim Van Holder writes: > As of this morning's CVS build, C-x v d for a CVS-controlled directory > results in the following error message, leaving the message line with > the [waiting] marker: > > error in process sentinel: Wrong type argument: arrayp, nil > > *Messages* also has > > error in process sentinel: vc-dir-node-directory: Wrong type argument: arrayp, nil I can't try this at the moment, but I am pretty sure that this change is to blame: +2009-09-29 Stefan Monnier + + * vc-hooks.el (vc-dir-buffers): New var. + (vc-state-refresh): New function. + (vc-state): Use it. + (vc-after-save): Always ask the backend to recompute the new state. + Always call vc-dir if necessary, using vc-dir-buffers. + * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file): + Use vc-dir-buffers. + (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook. + (vc-dir-prepare-status-buffer, vc-dir-update) + (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode): + Don't call expand-file-name on default-directory. in particular the removal or the expand-file-name calls is incorrect. At least ~ needs to be expanded, otherwise things just do not work.