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.devel Subject: Re: Scrolling up at the end of buffer Date: Fri, 04 Dec 2020 14:25:14 +0200 Message-ID: <83im9hep1x.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26453"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Evgeny Zajcev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 04 13:27:07 2020 Return-path: Envelope-to: ged-emacs-devel@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 1klAB0-0006lk-IR for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 13:27:06 +0100 Original-Received: from localhost ([::1]:46300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klAAz-0006VJ-GT for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 07:27:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klA9X-0004vO-Ac for emacs-devel@gnu.org; Fri, 04 Dec 2020 07:25:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45513) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klA9X-0005Tv-1P; Fri, 04 Dec 2020 07:25:35 -0500 Original-Received: from [176.228.60.248] (port=4472 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klA9V-0004cT-Mq; Fri, 04 Dec 2020 07:25:34 -0500 In-Reply-To: (message from Evgeny Zajcev on Fri, 4 Dec 2020 14:57:23 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260289 Archived-At: > From: Evgeny Zajcev > Date: Fri, 4 Dec 2020 14:57:23 +0300 > > I've got nasty unexpected thing. Consider scenario in "emacs -q": > 1) Open file that does not fit into Emacs window (C-x C-f /etc/services RET) > 2) Goto bottom with M-> > 3) Show maximum content with C- - C-l (-1 arg to C-l) > 4) At this moment point is at the `eobp`, nothing to be shown below the point, now press C-v > > I was expecting C-v to signal "End of buffer" error, however got ugly scrolling resulting in showing a single > line at the top. > > Second C-v triggers "End of buffer" > > If I recenter with -2 argument to C-l, then C-v triggers "End of buffer" as expected. > > Is there something in Emacs I can set to stop behaving like this? Set next-screen-context-lines to 1 or less? (FWIW, I don't see this behavior as unexpected or "nasty".)