all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nickrob@snap.net.nz (Nick Roberts)
To: robert marshall <robert.marshall@tnei.co.uk>,
	2388@emacsbugs.donarmstrong.com,
	Dan Nicolaescu <dann@ics.uci.edu>
Subject: bug#2388: 23.0.90; wrong-type-argument in vc-dir
Date: Wed, 4 Mar 2009 23:14:51 +1300	[thread overview]
Message-ID: <18862.21659.153250.510667@snap.net.nz> (raw)
In-Reply-To: <18851.37147.636647.611430@kahikatea.snap.net.nz>

Nick Roberts writes:
 >  > > I can't reproduce this.
 >  > > Can you please post step by step recipe of how you get this, starting
 >  > > with emacs -Q. 
 >  > > The output of 
 >  > > svn -u status
 >  > > in that directory might be helpful too.
 >  > >   
 >  > I can't reproduce this either now :-(
 > 
 > I have seen this sometimes when files have needed merging/updating.  I don't
 > think it happened earlier because with SVN emacs didn't consult the remote
 > repository by default:

I still see this.  Here's a recent backtrace:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  ewoc-data(nil)
  (let ((data ...)) (or (vc-dir-fileinfo->directory data) 
(file-name-directory ...)))
  vc-dir-node-directory(nil)
  (let* ((rd ...) (prev-node ...) (prev-dir ...)) (unless (string-equal 
entrydir prev-dir) (ewoc-enter-before vc-ewoc node ...)))
  (cond ((string-lessp nodedir entrydir) (setq node ...)) ((string-equal 
nodedir entrydir) (let ... ...)) (t (let* ... ...) (ewoc-enter-before 
vc-ewoc node ...) (setq entries ... entry ...)))
  (let* ((entryfile ...) (entrydir ...) (nodedir ...)) (cond (... ...) 
(... ...) (t ... ... ...)))
  (while (and entry node) (let* (... ... ...) (cond ... ... ...)))
  (let ((entry ...) (node ...) (dotname ...)) (unless node 
(ewoc-enter-last vc-ewoc ...) (setq node ...)) (while (and entry node) 
(let* ... ...)) (unless (or node noinsert) (let ... ...)))
  (save-current-buffer (set-buffer buffer) (setq entries (sort entries 
...)) (let (... ... ...) (unless node ... ...) (while ... ...) (unless 
... ...)))
  (with-current-buffer buffer (setq entries (sort entries ...)) (let 
(... ... ...) (unless node ... ...) (while ... ...) (unless ... ...)))
  vc-dir-update((("." needs-update) ("mydir" needs-update) 
("pom.xml" needs-update) ("mydir1/mydir2/myfile" needs-update) 
...

which fails because node, i.e (ewoc-nth vc-ewoc 0), is nil.

-- 
Nick                                           http://www.inet.net.nz/~nickrob






  reply	other threads:[~2009-03-04 10:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200902250357.n1P3vDjI000779@rodan.ics.uci.edu>
2009-02-19 14:21 ` bug#2388: 23.0.90; wrong-type-argument in vc-dir robert
2009-02-20 16:12   ` Dan Nicolaescu
2009-02-23 14:35     ` robert marshall
2009-02-24  6:18       ` Nick Roberts
2009-03-04 10:14         ` Nick Roberts [this message]
     [not found]           ` <49B6361C.8050702@tnei.co.uk>
2009-03-10 21:11             ` Dan Nicolaescu
2009-03-11  8:44               ` robert marshall
2009-03-12  0:48                 ` Dan Nicolaescu
2009-02-25  4:05   ` bug#2388: marked as done (23.0.90; wrong-type-argument in vc-dir) Emacs bug Tracking System
2009-04-15  0:40   ` Emacs bug Tracking System
     [not found] <200904150030.n3F0UGFT009182@godzilla.ics.uci.edu>
2009-03-04 10:29 ` bug#2566: 23.0.91; vc-dir: (wrong-type-argument arrayp nil) AE/Fischer Martin
2009-03-04 19:02   ` Dan Nicolaescu
2009-03-05  5:46   ` Nick Roberts
2009-04-15  0:40   ` bug#2566: marked as done (23.0.91; vc-dir: (wrong-type-argument arrayp nil)) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18862.21659.153250.510667@snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=2388@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    --cc=robert.marshall@tnei.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.