From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: marmot-te Newsgroups: gmane.emacs.bugs 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 Message-ID: <87blaa9d79.fsf@host.localdomain> References: <87czuw9zk9.fsf@host.localdomain> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47781@debbugs.gnu.org, Gregory Heytings , marmot-te To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 19 23:30:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lYbTA-0009IP-EO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 23:30:12 +0200 Original-Received: from localhost ([::1]:56668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYbT9-0001M7-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 17:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYbT0-0001Lx-8S for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 17:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYbSz-0006Dt-Vu for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 17:30:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYbSz-0008Q7-Tw for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 17:30:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: marmot-te Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2021 21:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47781 X-GNU-PR-Package: emacs Original-Received: via spool by 47781-submit@debbugs.gnu.org id=B47781.161886775332285 (code B ref 47781); Mon, 19 Apr 2021 21:30:01 +0000 Original-Received: (at 47781) by debbugs.gnu.org; 19 Apr 2021 21:29:13 +0000 Original-Received: from localhost ([127.0.0.1]:52272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYbSD-0008Oe-Hn for submit@debbugs.gnu.org; Mon, 19 Apr 2021 17:29:13 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]:44336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYbSB-0008OR-Vf for 47781@debbugs.gnu.org; Mon, 19 Apr 2021 17:29:12 -0400 Original-Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FPKh20LJkzDxfn; Mon, 19 Apr 2021 14:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1618867746; bh=f8ESRq+Ihw0jtRcu3fdjKaVryCAHaVaRLd1dUH14pcA=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=maBNuq2Tr8Gi8gkbED5jiv2j3tCx2jAg+/Wc8zOwNH8S9wjYP9GLmzzGAdYUpo08l ENzeadC232LnXMpRSjTtwjDfRIgAmtmm/P1jEDC3jDXyxNQowHKhbVNYHZiJgRakwY TbQAnp1IoR6gLRHlbc2tmaYCG4YyBgwRIQKjfDI8= X-Riseup-User-ID: 3D9AD94D7C8387AF4386F46F9D906860D9C5DBDFCA54832E18413DB3DDD6F72B Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FPKgz5C6xz5w5t; Mon, 19 Apr 2021 14:29:03 -0700 (PDT) In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204514 Archived-At: Alan Mackenzie 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~~