From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66773: 29.1; Ido displays incorrectly with multiple frames when ido-max-window-height=1 Date: Fri, 27 Oct 2023 13:49:56 +0300 Message-ID: <83leboe3vv.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66773@debbugs.gnu.org To: Spencer Williams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 27 12:50:50 2023 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 1qwKQT-0008dk-Eg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Oct 2023 12:50:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwKQC-0002ga-LD; Fri, 27 Oct 2023 06:50:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwKQB-0002g4-10 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 06:50:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwKQA-00077f-Kr for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 06:50:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwKQf-0005oM-Jw for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 06:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2023 10:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66773 X-GNU-PR-Package: emacs Original-Received: via spool by 66773-submit@debbugs.gnu.org id=B66773.169840383022285 (code B ref 66773); Fri, 27 Oct 2023 10:51:01 +0000 Original-Received: (at 66773) by debbugs.gnu.org; 27 Oct 2023 10:50:30 +0000 Original-Received: from localhost ([127.0.0.1]:35200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKQ6-0005nJ-GY for submit@debbugs.gnu.org; Fri, 27 Oct 2023 06:50:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwKQ4-0005n6-Uu for 66773@debbugs.gnu.org; Fri, 27 Oct 2023 06:50:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwKPU-0006OK-8k; Fri, 27 Oct 2023 06:49:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CS2SrVHnnrX7BuSbvROxZNEkH5FK5f2DqJLMHP4j05Y=; b=Wv9mbi6sb4FH l7XO8ogwxk3ZdnS8IZu0P0fHofun3IOV5IoAE+xSubDMwxaUQdAxmKGT20S3TBMn2U8JQ3AcXSoVz xFZRyjobq93Q+BZHpp9sHoWvkiWZ6GxbtKcc2UbQ7GctJvvDSeFpRHN/3A8n3iaP7lLIWmtQgBKTZ s9ZNDpiOSO2sxLv7coCLa7MbZ1Qaw5l36MlYLD+DW/Ll+RfgAYDHCh+nhPB5jprM7biy/42bT/wYn WdvCWZ0ZLRSVQ/QRMxCH1BdGEiVdPG0NFP8TOkSaAO9Huljmr742SfooKM8kSZfg0thPaLefZ1lQr yOM++Uhllbq6GXqJKkQM0A==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273364 Archived-At: > Date: Thu, 26 Oct 2023 16:15:07 -0400 > From: Spencer Williams via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > When using multiple graphical frames, setting ido-max-window-height to 1 > only works as expected on the initial frame. On all other frames, > supposing the minibuffer length is great enough, the beginning will be > occluded until user input is received. > > This can be easily demonstrated by running the following code on a fresh > graphical Emacs, and then pressing C-x b to switch buffers: > > (progn > (ido-mode 1) > (setq ido-max-window-height 1) > (dotimes (i 100) > (generate-new-buffer "foobar")) > (make-frame)) > > The bug manifests on both Linux and macOS (vanilla builds). It was not > present on Emacs 28. I ran a git-bisect and the "first bad commit" > appears to be c0b9041ebde82907711cc00a7c307fe622fb541c. If the minibuffer text is longer than what the mini-window can show, then it is not clear whether Emacs should show the beginning or the end of the minibuffer text. So I don't see how this is a bug and why would the alternative behavior be better. Also, if you just type C-b, you will see the rest of the buffer text. If, for some reason, ido-mode wants to always display the beginning of the minibuffer text, it can do that with a change specific to ido-mode. The change to which you point affect general Emacs behavior, it isn't specific to ido-mode.