Subject: bug#1929: 23.0.60; compile-goto-error gives "pop-to-buffer: Wrong type argument: window-live-p, nil" error

From: martin rudalics <[email-masked]>
Date: Fri, 16 Jan 2009 16:31:30 +0100

> Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
 >   select-window(nil nil)

In between here is the call to `display-buffer' which for some reason
returns nil in your case.  Could you try to edebug `display-buffer'
(from another frame to not break the window layout) and tell me from
which line it returns nil?

 >   pop-to-buffer(#<buffer z.c> other-window)
 >   compilation-goto-locus(#<marker at 204 in *compilation*> #<marker at
 > 55 in z.c> nil)
 >   compilation-next-error-function(0 nil)
 >   next-error-internal()
 >   compile-goto-error(return)
 >   call-interactively(compile-goto-error nil nil)

Thanks, martin.