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


View this message in rfc822 format

From: Leo Liu <sdl.web <at> gmail.com>
To: 24332 <at> debbugs.gnu.org
Subject: bug#24332: 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)




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.