GNU bug report logs - #24332
25.1; pop-to-buffer error: (wrong-type-argument window-live-p nil)

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Tue, 30 Aug 2016 02:49:02 UTC

Severity: normal

Found in version 25.1

Done: Leo Liu <sdl.web <at> gmail.com>

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 24332 in the body.
You can then email your comments to 24332 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-gnu-emacs <at> gnu.org:
bug#24332; Package emacs. (Tue, 30 Aug 2016 02:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 30 Aug 2016 02:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; pop-to-buffer error: (wrong-type-argument window-live-p nil)
Date: Tue, 30 Aug 2016 10:48:18 +0800
pop-to-buffer assumes display-buffer always return a window and
(select-window window norecord) but it can cause error like this (due to
(allow-no-window . t)):

Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
  select-window(nil nil)
  pop-to-buffer("*compile*" t nil)
  switch-to-buffer-other-window("*compile*")
  ido-visit-buffer("*compile*" other-window t)
  ido-buffer-internal(other-window switch-to-buffer-other-window)
  ido-switch-buffer-other-window()
  funcall-interactively(ido-switch-buffer-other-window)
  call-interactively(ido-switch-buffer-other-window nil nil)
  command-execute(ido-switch-buffer-other-window)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24332; Package emacs. (Tue, 30 Aug 2016 10:34:01 GMT) Full text and rfc822 format available.

Message #8 received at 24332 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Leo Liu <sdl.web <at> gmail.com>, 24332 <at> debbugs.gnu.org
Subject: Re: bug#24332: 25.1;
 pop-to-buffer error: (wrong-type-argument window-live-p nil)
Date: Tue, 30 Aug 2016 12:33:08 +0200
> pop-to-buffer assumes display-buffer always return a window and
> (select-window window norecord) but it can cause error like this (due to
> (allow-no-window . t)):
>
> Debugger entered--Lisp error: (wrong-type-argument window-live-p nil)
>    select-window(nil nil)
>    pop-to-buffer("*compile*" t nil)
>    switch-to-buffer-other-window("*compile*")
>    ido-visit-buffer("*compile*" other-window t)
>    ido-buffer-internal(other-window switch-to-buffer-other-window)
>    ido-switch-buffer-other-window()
>    funcall-interactively(ido-switch-buffer-other-window)
>    call-interactively(ido-switch-buffer-other-window nil nil)
>    command-execute(ido-switch-buffer-other-window)

I pushed a fix to master.  Please have a look (around, maybe).

Thank you, martin




Reply sent to Leo Liu <sdl.web <at> gmail.com>:
You have taken responsibility. (Tue, 30 Aug 2016 16:13:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Liu <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Tue, 30 Aug 2016 16:13:02 GMT) Full text and rfc822 format available.

Message #13 received at 24332-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 24332-done <at> debbugs.gnu.org
Subject: Re: bug#24332: 25.1;
 pop-to-buffer error: (wrong-type-argument window-live-p nil)
Date: Wed, 31 Aug 2016 00:12:24 +0800
On 2016-08-30 12:33 +0200, martin rudalics wrote:
> I pushed a fix to master.  Please have a look (around, maybe).

Commit: 4961cc3f

> Thank you, martin

Thanks for the quick fix. Closing. 

Leo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Sep 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 266 days ago.

Previous Next


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