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

Previous Next

Package: emacs;

Reported by: "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>

Date: Fri, 16 Jan 2009 13:05:05 UTC

Severity: normal

Merged with 1930

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1929 in the body.
You can then email your comments to 1929 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1929; Package emacs. (Fri, 16 Jan 2009 13:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 16 Jan 2009 13:05:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; compile-goto-error gives "pop-to-buffer: Wrong type argument: window-live-p, nil" error
Date: Fri, 16 Jan 2009 14:57:00 +0200
'compile-goto-error' results in the

    "pop-to-buffer: Wrong type argument: window-live-p, nil"

error if appropriate file is not loaded or loaded, but appropriate
buffer is not visible in the same frame where '*compilation*' buffer
lies.

Sources obtained from CVS today, Fri, 16 Jan 2009 12:50 (GMT), but
first time reproduced with yesterday's checkout.  Previous checkout
was far ago in paste (and definitelly in the 2008 year), therefore, I
unable to say exact time of the problematic commit :-(

Lisp Backtrace:
Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
  select-window(nil 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)

In GNU Emacs 23.0.60.1 (x86_64-unknown-freebsd7.0, GTK+ Version 2.14.7)
 of 2009-01-15 on amd64
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/home/awn/scratch'
'--with-freetype' '--with-xft' '--enable-maintainer-mode'
'--enable-largefile' 'CC=gcc43' 'CFLAGS=-O2 -g -march=native -Wall  ''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ru_RU.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Compilation

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x c o m p i l e <return> C-a C-k g c c SPC - o SPC
z SPC z . c <return> C-x o M-n <return> M-x r e p o
r t - e m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
(No files need saving)
Compilation finished
Mark set
pop-to-buffer: Wrong type argument: window-live-p, nil

-- 
Andrew W. Nosenko <andrew.w.nosenko <at> gmail.com>




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1929; Package emacs. (Fri, 16 Jan 2009 15:40:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 16 Jan 2009 15:40:04 GMT) Full text and rfc822 format available.

Message #10 received at 1929 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>
Cc: 1929 <at> debbugs.gnu.org
Subject: Re: bug#1929: 23.0.60;	compile-goto-error gives "pop-to-buffer: Wrong
 type argument:	window-live-p, nil" error
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.




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Fri, 16 Jan 2009 17:05:06 GMT) Full text and rfc822 format available.

Notification sent to "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>:
bug acknowledged by developer. (Fri, 16 Jan 2009 17:05:06 GMT) Full text and rfc822 format available.

Message #15 received at 1929-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>
Cc: 1929-done <at> debbugs.gnu.org
Subject: Re: bug#1929: 23.0.60;	compile-goto-error gives "pop-to-buffer: Wrong
 type argument:	window-live-p, nil" error
Date: Fri, 16 Jan 2009 17:58:29 +0100
Sorry, it was my fault.  I inadvertently comitted some experimental code
when reverting an earlier change.  Please try again with latest sources.

Thanks for reporting, martin.




Message #16 received at 1929-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>
To: "martin rudalics" <rudalics <at> gmx.at>
Cc: 1929-done <at> debbugs.gnu.org
Subject: Re: bug#1929: 23.0.60; compile-goto-error gives "pop-to-buffer: Wrong type argument: window-live-p, nil" error
Date: Fri, 16 Jan 2009 19:55:26 +0200
Thanks, all works again!

-- 
Andrew W. Nosenko <andrew.w.nosenko <at> gmail.com>




Merged 1929 1930. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 20 Jan 2009 21:05:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 18 Feb 2009 15:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.