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.help Subject: Re: Minimizing automatic scrolling Date: Sun, 12 Nov 2023 18:36:38 +0200 Message-ID: <8334xbudwp.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1067"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 12 17:37:44 2023 Return-path: Envelope-to: geh-help-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 1r2DSx-00005Y-Lg for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Nov 2023 17:37:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2DSC-0000kO-J4; Sun, 12 Nov 2023 11:36:56 -0500 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 1r2DSA-0000k7-Jx for help-gnu-emacs@gnu.org; Sun, 12 Nov 2023 11:36:54 -0500 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 1r2DSA-0006o9-CD for help-gnu-emacs@gnu.org; Sun, 12 Nov 2023 11:36:54 -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=gQtL9Fx9Jh61Gjtxjsfna2ClOFTIzWP81XTHqU0v+kw=; b=RYSDev8EhL1C fYfCqOgfQT117ssx3rHNM/cve1vPqLU5RMlIT2s/o1PwCH9b972gpLGJglzA4R5ULb8Kq0CxNHqBn kyDVP/0lpHAWis7Nue4iFxcb7VcsY5Hu3oeZqI+N3Bx4tWB4j6+jWt8KRPYQxIAHIFxmhh3x+xIJw 9LTXsmqmUtyYB2biYugXvmQWwUftb5xmqjePklUhMgZY8x45pH5VxDr29iWMmxGgXJHHRDSUMYUor k9U7NNCZHXs9jOKyJ4CzAfb1V3iVMZLhQFludT4d0C3GKCCR08tymagNi2Z22xk0avPymuE+YRbID BgZKycZIawA+CfTAlT+Gjg==; In-Reply-To: (message from Psionic K on Sun, 12 Nov 2023 22:53:32 +0900) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145490 Archived-At: > From: Psionic K > Date: Sun, 12 Nov 2023 22:53:32 +0900 > > I cannot find an option to disable all automatic scrolling caused by > minibuffer setup or transient setup. I devised a solution that illustrates > the issue I'm managing: I'm sorry, but I couldn't understand what you mean by "automatic scrolling" nor why would you want to disable it, and the code you posted didn't clarify that to me. Emacs scrolls when point's line is not fully visible in the window, or when point ends up in the scroll margins. It never scrolls in other situations. You cannot disable scrolling when point goes out of the window. If you want to disable the scrolling when point ends up in the margin, simply don't customize the scroll margin to a non-zero value. So I don't really understand what you want to do and why, nor what it has to do with minibuffer setup or transient setup.