unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: marmot-te <marmot-te@riseup.net>
To: Alan Mackenzie <acm@muc.de>
Cc: 47781@debbugs.gnu.org, Gregory Heytings <gregory@heytings.org>,
	marmot-te <marmot-te@riseup.net>
Subject: bug#47781: 28.0.50; (window-list-1 nil t) returns nil when minibuffer is inactive
Date: Mon, 19 Apr 2021 21:28:10 +0000	[thread overview]
Message-ID: <87blaa9d79.fsf@host.localdomain> (raw)
In-Reply-To: <YHnOCG9r7eGDn9BG@ACM>


Alan Mackenzie <acm@muc.de> writes:

> Hello, Marmot-Te.
>
> On Thu, Apr 15, 2021 at 00:11:34 +0000, marmot-te wrote:
>
>> Hi,
>
>> 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 the following patch, to .../src/window.c, fixes it:
>
> [ ... ]
>
> ..  Please feel free to try it out, and let us know how well it 
> works.
> Thanks!

Hi again,

I just compiled the latest native-branch with your patch and can 
confirm that after testing the different clauses of MINIBUF, all 
works as expected.

Thanks !

-- 
<:3nn~~
   <:3nn~~
      <:3nn~~





  reply	other threads:[~2021-04-19 21:28 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
2021-04-15  8:38   ` Gregory Heytings
2021-04-16 17:48 ` Alan Mackenzie
2021-04-19 21:28   ` marmot-te [this message]
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=87blaa9d79.fsf@host.localdomain \
    --to=marmot-te@riseup.net \
    --cc=47781@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=gregory@heytings.org \
    /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).