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: [ELPA?] Controlling Isearch from the minibuffer Date: Fri, 21 May 2021 13:25:36 +0300 Message-ID: <83y2c8mli7.fsf@gnu.org> References: <87zgx5cz33.fsf@gmail.com> <87o8djohqf.fsf@mail.linkov.net> <87eeeenxqq.fsf@gmail.com> <87h7jath3m.fsf@mail.linkov.net> <87mtt0wj37.fsf@gmail.com> <87cztvx4dc.fsf@mail.linkov.net> <87bl9fr7xh.fsf@gmail.com> <87tun6n12v.fsf@mail.linkov.net> <87lf8i8kba.fsf_-_@gmail.com> <875yzl6v3x.fsf@mail.linkov.net> <87v97i4jy7.fsf@mail.linkov.net> <87pmxqbjkm.fsf@gmail.com> <87im3cqwqz.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, emacs-devel@gnu.org, juri@linkov.net To: Augusto Stoffel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 21 12:28:10 2021 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 1lk2O2-0000l0-J2 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 May 2021 12:28:10 +0200 Original-Received: from localhost ([::1]:46882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk2O1-0003Nf-9K for ged-emacs-devel@m.gmane-mx.org; Fri, 21 May 2021 06:28:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk2Ld-000268-T0 for emacs-devel@gnu.org; Fri, 21 May 2021 06:25:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48896) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk2Lc-0002Vu-Aw; Fri, 21 May 2021 06:25:41 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1909 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 1lk2Lb-0008W5-S2; Fri, 21 May 2021 06:25:40 -0400 In-Reply-To: <87im3cqwqz.fsf@gmail.com> (message from Augusto Stoffel on Fri, 21 May 2021 11:09:08 +0200) 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:269543 Archived-At: > From: Augusto Stoffel > Date: Fri, 21 May 2021 11:09:08 +0200 > Cc: Ergus , emacs-devel@gnu.org > > General minibuffer question: When the minibuffer exits, the minibuffer > selected window sometimes gets recentered. More specifically, the rule > seems to be that this happens whenever the minibuffer selected window > scrolls during the minibuffer session. The mini-window is just a window, so it behaves like any other window wrt scrolling and recentering. > Is there any way to disable the automatic recentering (which doesn't > involve saving the window bounds beforehand and then undoing it)? Disable and do what instead? Emacs scrolls a window when point goes out of view. What would you like it to do instead of recentering? Since this is just a window, the same options that control scrolling in other windows can do it here as well.