From: martin rudalics <rudalics@gmx.at>
To: Leo Liu <sdl.web@gmail.com>, 24332@debbugs.gnu.org
Subject: bug#24332: 25.1; pop-to-buffer error: (wrong-type-argument window-live-p nil)
Date: Tue, 30 Aug 2016 12:33:08 +0200 [thread overview]
Message-ID: <57C560E4.9050903@gmx.at> (raw)
In-Reply-To: <m11t17km4t.fsf@gmail.com>
> 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
next prev parent reply other threads:[~2016-08-30 10:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 2:48 bug#24332: 25.1; pop-to-buffer error: (wrong-type-argument window-live-p nil) Leo Liu
2016-08-30 10:33 ` martin rudalics [this message]
2016-08-30 16:12 ` Leo Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57C560E4.9050903@gmx.at \
--to=rudalics@gmx.at \
--cc=24332@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).