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: A solution to display completion candidates after point in a minibuffer Date: Sat, 03 Oct 2020 12:04:59 +0300 Message-ID: <83sgavfzno.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10247"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 03 11:05:44 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 1kOdU8-0002Xq-2F for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Oct 2020 11:05:44 +0200 Original-Received: from localhost ([::1]:37972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOdU7-0002NN-4x for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Oct 2020 05:05:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOdTR-00012U-2Z for emacs-devel@gnu.org; Sat, 03 Oct 2020 05:05:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51946) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOdTQ-0005d1-7U; Sat, 03 Oct 2020 05:05:00 -0400 Original-Received: from [176.228.60.248] (port=2785 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOdTP-0001Te-Gk; Sat, 03 Oct 2020 05:05:00 -0400 In-Reply-To: (emacs-devel@gnu.org) 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:256994 Archived-At: > Date: Sat, 03 Oct 2020 06:59:16 +0000 > cc: emacs-devel@gnu.org > From: Gregory Heytings via "Emacs development discussions." > > >>> IIRC the reason it won't scroll the second time around is because > >>> point should be visible (and redisplay would only scroll in order to > >>> move point within view). > >> > >> I don't know, but I'm not sure about that. If you (set-window-start > >> nil 1) unconditionally in window-scroll-functions, this setting will be > >> obeyed by redisplay, even if point is not visible anymore. > > > > Oh, indeed, in that case it would move point instead. > > No, that's not what I meant. In that case redisplay does not scroll and > does not move point. Point simply becomes invisible. No, redisplay will never accept a result that point is invisible. If it ever does display such situations, it's a bug that needs to be fixed. > It becomes visible again after the next redisplay, a second or two > later. If such a situation exists, please describe how to reproduce it, because it's a bug we need to fix. Emacs should never display a window where point is not fully visible.