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#64139: 28.2; Scrolling problems in miniwindow Date: Sun, 18 Jun 2023 10:09:05 +0300 Message-ID: <83edm9p7qm.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22316"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64139@debbugs.gnu.org To: Al Petrofsky , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 18 09:10:28 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 1qAmYN-0005bg-7N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Jun 2023 09:10:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAmY7-0005F8-C8; Sun, 18 Jun 2023 03:10:11 -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 1qAmXy-0005Ek-89 for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 03:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAmXx-00030G-VL for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 03:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAmXx-0002Xp-Pr for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2023 03:10: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: Sun, 18 Jun 2023 07:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64139 X-GNU-PR-Package: emacs Original-Received: via spool by 64139-submit@debbugs.gnu.org id=B64139.16870721559719 (code B ref 64139); Sun, 18 Jun 2023 07:10:01 +0000 Original-Received: (at 64139) by debbugs.gnu.org; 18 Jun 2023 07:09:15 +0000 Original-Received: from localhost ([127.0.0.1]:53014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAmXD-0002Wh-3D for submit@debbugs.gnu.org; Sun, 18 Jun 2023 03:09:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAmX9-0002WS-U4 for 64139@debbugs.gnu.org; Sun, 18 Jun 2023 03:09:13 -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 1qAmX3-0002wY-FD; Sun, 18 Jun 2023 03:09:05 -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=lwwKP29PF3yN3EEu4PkBSbb0DaRxfKAPkhiCNQ5iPmY=; b=Y25vQ7usvb/I OEuZqafuRF8MZhxpxC1OFn1em1Po7TNU2UPqiwcCpdldjEzcEsNu7mt2B7yDWOaXXspWyRBXr2isi LrOfnf7KNGgsLtgBLgyYvNTzBYcQQ7JPc66W5auyj7xVA/1F4dbOSKgLuGnHWPslm5bRg+mMvk2X7 8j9DBvtsQ9JNBNiWCei78tw0xA0K19FBLVxZ36JZSCQNnfI9SgDHBpqOzqqyhV4O3FXyFAhnzQcGK jL+d4zFLXObFp8MN2+f9+oqfyhaDWdrFnWD/yMKQmM8W4yV3/IBMIRoD3uwTFLMcY+dYWOAvM93y3 Li+M0Vpz6lChDXPAjYMPWA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAmX2-0000uf-JY; Sun, 18 Jun 2023 03:09:05 -0400 In-Reply-To: (message from Al Petrofsky on Sat, 17 Jun 2023 20:26:19 -0400) 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:263604 Archived-At: > From: Al Petrofsky > Date: Sat, 17 Jun 2023 20:26:19 -0400 > > I'm seeing some weird scrolling bugs in the miniwindow when the > minibuffer contains more lines than the window. I think these > problems exist on ttys and graphical terminals of all sizes, but for > ease of reproducibility use an 80x24 tty. > > emacs-28.2 -Q -nw > M-: C-@ C-x ( C-x C-k TAB C-q C-j C-u 9 9 C-x e C-x C-x C-v > > The C-v, instead of scrolling a few lines, scrolls all the way down to > line 97. I tried to use this recipe, but it produces weird results, and I don't see what you describe. Would you like to show an easier to understand recipe, or describe what should be in the min-window as result of the recipe? And what exactly are your expectations from C-v/M-v in this case? I tried this: M-x C-u 99 C-q C-j M-< after that, C-v scrolls the mini-window as expected, so that I get to the end in 13 C-v keypresses. Which looks reasonable to me. > Also, if you now repeatedly M-v, the buffer will just scroll up and > down three lines. When I use a large X frame, repeated M-v will > scroll up to the top of the buffer, but then glitch and cycle around > back to the bottom. M-v in the minibuffer is bound to switch-to-completions, so I'm unsure what you expected here. Adding Juri who worked on the scrolling commands in the minibuffer.