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.

Full log


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




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

Previous Next


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