unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: marmot-te <marmot-te@riseup.net>, 47781@debbugs.gnu.org
Subject: bug#47781: 28.0.50; (window-list-1 nil t) returns nil when minibuffer is inactive
Date: Thu, 15 Apr 2021 10:10:17 +0200	[thread overview]
Message-ID: <e7579000-d37a-f5f4-0d10-2ef15e7911e5@gmx.at> (raw)
In-Reply-To: <87czuw9zk9.fsf@host.localdomain>

 > I read from the docstring of the function
 >> MINIBUF t means consider the minibuffer window even if the minibuffer is not active
 >
 > However, with emacs -Q
 > and the minibuffer inactive
 >
 > (window-list-1 nil t)
 > ;; => nil
 >
 > I think this is related to this build since I cannot reproduce with emacs 26.1 (in this case it returns the list of windows, minibuffer included, as expected).
 >
 >
 > In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
 > of 2021-02-09 built on debian-10-gccemacs

This is likely broken since a change in candidate_window_p from last
year, see commit 2ecbf4cfae7bd504fbdca28e1e51ee2574fe5d12 (waiting for
Gregory's confirmation).  Since `window_list_1' is consulted in quite a
number of places, the behavior of Emacs might be slightly unpredictable
in this area.

martin





  reply	other threads:[~2021-04-15  8:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15  0:11 bug#47781: 28.0.50; (window-list-1 nil t) returns nil when minibuffer is inactive marmot-te
2021-04-15  8:10 ` martin rudalics [this message]
2021-04-15  8:38   ` Gregory Heytings
2021-04-16 17:48 ` Alan Mackenzie
2021-04-19 21:28   ` marmot-te
2021-04-20 10:58     ` Alan Mackenzie

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=e7579000-d37a-f5f4-0d10-2ef15e7911e5@gmx.at \
    --to=rudalics@gmx.at \
    --cc=47781@debbugs.gnu.org \
    --cc=marmot-te@riseup.net \
    /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).