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#51210: Customizable other-window-for-scrolling Date: Wed, 12 Jan 2022 21:29:33 +0200 Message-ID: <8335ls69cy.fsf@gnu.org> References: <878ryvh6bz.fsf@mail.linkov.net> <861r1v1foe.fsf@mail.linkov.net> <96d50c26-ea56-5ff6-3cc3-25652d744ca4@gmx.at> <86o84revzi.fsf@mail.linkov.net> <86y23vo0zx.fsf@mail.linkov.net> <86sftunptq.fsf@mail.linkov.net> <86a6g2ktel.fsf@mail.linkov.net> <86mtk2jdwy.fsf@mail.linkov.net> <83czky6noe.fsf@gnu.org> <86r19crftb.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51210@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 12 20:31:09 2022 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 1n7jKu-0008LU-Qj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Jan 2022 20:31:09 +0100 Original-Received: from localhost ([::1]:34812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7jKs-0008AR-QE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Jan 2022 14:31:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7jJr-00083x-F3 for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2022 14:30:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7jJr-0002UD-4E for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2022 14:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7jJq-00041N-Qd for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2022 14:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jan 2022 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51210 X-GNU-PR-Package: emacs Original-Received: via spool by 51210-submit@debbugs.gnu.org id=B51210.164201578815406 (code B ref 51210); Wed, 12 Jan 2022 19:30:02 +0000 Original-Received: (at 51210) by debbugs.gnu.org; 12 Jan 2022 19:29:48 +0000 Original-Received: from localhost ([127.0.0.1]:59169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7jJb-00040Q-RO for submit@debbugs.gnu.org; Wed, 12 Jan 2022 14:29:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7jJa-00040E-TY for 51210@debbugs.gnu.org; Wed, 12 Jan 2022 14:29:47 -0500 Original-Received: from [2001:470:142:3::e] (port=55154 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7jJV-0002NH-9x; Wed, 12 Jan 2022 14:29:41 -0500 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=gZK6td30AxCIBbkn4QigIvIlL8CdIkHZ5A3nFgtyxjI=; b=M7Uluxa6Evxb gtTsS86cdLWBHJG6WWhClfe/NNgEBv13aOk1jrUtULMbeYfBgCVg0FY/U5SG5jf4Hi/wIIbj8bs/F W66rXNBbuoU73RaW1oIGzhlV9oKjVYirvruj3NUiQWMcglm1YQdSAXDMbB2VvVPB1jEa/GYLNBaa/ LSORgBEC4eMP6P2jUcp7rG6ifAaatkNUnXcyegA/uSDsqJq77Rd6CLTXlDA6OmCmxWIVHj+kS9jx6 PFD8VFj9I+z8SV4eozMWqhIjGJo2cnDoNzBZUKb1oh09gSSzN1ZkbHCim0XPKabTICyAruK2GxuHU HRNET2VFT5SB+9PDoDsvrQ==; Original-Received: from [87.69.77.57] (port=2532 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 1n7jJR-0006UR-Td; Wed, 12 Jan 2022 14:29:41 -0500 In-Reply-To: <86r19crftb.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 12 Jan 2022 20:04:32 +0200) 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:224032 Archived-At: > From: Juri Linkov > Cc: rudalics@gmx.at, 51210@debbugs.gnu.org > Date: Wed, 12 Jan 2022 20:04:32 +0200 > > >> There are also nice commands: M- (beginning-of-buffer-other-window) > >> and M- (end-of-buffer-other-window), but for no reason they recenter > >> the other window after moving to the beginning/end. > >> > >> It would be better to remove this disservice: > > > > This is age-old behavior. Why change it because you happen to dislike > > it? > > The problem is that with its current implementation, it's unusable: > when the window height is 75 lines, then typing M- leaves > half-screen empty. If you start typing at the end of the buffer, the half-empty window will immediately make sense. Are you using scroll-conservatively, perhaps? If so, I can understand why you don't like this behavior. But that's your subjective opinion, and I see no reason to change this by default. > But fortunately this can be fixed since Emacs 28 introduced a new key > C-M-S-l to recenter the other window, so it's now easy to type it > when the user needs to recenter the other window. Great.