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: Wed, 21 Jun 2023 18:01:27 +0300 Message-ID: <83jzvw506w.fsf@gnu.org> References: <83edm9p7qm.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3155"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64139@debbugs.gnu.org, juri@linkov.net To: Al Petrofsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 17:02:25 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 1qBzLk-0000Y0-Ct for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 17:02:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBzLQ-0008Ko-Ol; Wed, 21 Jun 2023 11:02:04 -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 1qBzLO-0008KO-Q3 for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 11:02: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 1qBzLO-0000FN-6F for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 11:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBzLO-0006pu-0z for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jun 2023 15:02: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.168735969026237 (code B ref 64139); Wed, 21 Jun 2023 15:02:01 +0000 Original-Received: (at 64139) by debbugs.gnu.org; 21 Jun 2023 15:01:30 +0000 Original-Received: from localhost ([127.0.0.1]:33938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBzKs-0006p7-DK for submit@debbugs.gnu.org; Wed, 21 Jun 2023 11:01:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBzKo-0006os-C9 for 64139@debbugs.gnu.org; Wed, 21 Jun 2023 11:01:28 -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 1qBzKh-0000Bd-TN; Wed, 21 Jun 2023 11:01:19 -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=TSVMPuL92ceZHqqbHv2YDk820y41YMubxKQ46SCwBRI=; b=jfXrqZYc59d4 12em3JkO35Zq8JMByP557kUXtiNc8Sy2atmtejwcShBPzQetMcRu3YSoCQBeTgEUJkMpV2aPwpS8c BETyAMof3IbJW7pJDy4gyjF2UeGuk09bT9mJmdOPBxm/CZC6FdXSIM1/+gI2BChnYw+XmGlQoH2pP 2pnnfFGIj46lqnoO1lhaeGrZq+W7VsUAR+uhGhnXk6wPbKTqsYfI0Lsv4YIKrs50MlDh5nMPWcdW5 IFmXbGWWhu+oBypxO7D9bdj7vXt5XqZiPWhaRlKCOL2RcCSzzcUVOD6MuVUEcwrx5VZjKPe2ovVqH +Y3YWgHXxk34ILvEgmb82g==; 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 1qBzKh-0001Lm-1C; Wed, 21 Jun 2023 11:01:19 -0400 In-Reply-To: (message from Al Petrofsky on Mon, 19 Jun 2023 18:33:38 -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:263830 Archived-At: > From: Al Petrofsky > Date: Mon, 19 Jun 2023 18:33:38 -0400 > Cc: Juri Linkov , 64139@debbugs.gnu.org > > Here's a simpler and clearer recipe that should show the problem on > any tty or X display: > > emacs-28.2 -Q > M-: C-u 9 9 C-q C-j x C-@ M-< C-v > > This creates a 100-line minibuffer with "x" on the last line. After > the M-< and C-v, we should be one windowful down from the top, but > instead we've scrolled nearly to the end and the "x" has shown up on > the last line. Thanks. This is a feature: scrolling (and redisplay in general) in the mini-window is tailored to try and display the most important part of the minibuffer text. The feature is intended to support various minibuffer-editing packages which display a lot of text in the mini-window when the user is prompted for a file name or other similar stuff, of which there are a lot of possible candidates. If you set the variable redisplay-adhoc-scroll-in-resize-mini-windows to a nil value, you will get the "normal" scrolling behavior in the mini-window.