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: Select completions from the minibuffer Date: Fri, 18 Mar 2022 08:25:32 +0200 Message-ID: <83czijhj4z.fsf@gnu.org> References: <87v8wl35wg.fsf@gnus.org> <86k0d06dik.fsf@mail.linkov.net> <87ee3714li.fsf@gnus.org> <86r1773sb4.fsf@mail.linkov.net> <87pmmquew4.fsf@gnus.org> <86ee357wob.fsf@mail.linkov.net> <20220314090826.gyc42227jpvh4efa@Ergus> <86zglsiazs.fsf@mail.linkov.net> <20220317184701.ani7k3clp3impqwn@Ergus> <865yoc47d2.fsf@mail.linkov.net> <20220317224433.oiocm6da6tzmrq6e@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31166"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, juri@linkov.net To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 18 07:30:20 2022 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 1nV67v-0007w7-RD for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Mar 2022 07:30:20 +0100 Original-Received: from localhost ([::1]:38068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nV67u-0007sV-DJ for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Mar 2022 02:30:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV644-0006AQ-6p for emacs-devel@gnu.org; Fri, 18 Mar 2022 02:26:22 -0400 Original-Received: from [2001:470:142:3::e] (port=43808 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 1nV63P-0002Vp-9O; Fri, 18 Mar 2022 02:25:44 -0400 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=PkGhCt6c5kYVe3Jyptc/NO627Dq7wFVZVj2qOY7T/NQ=; b=dtDXy/L+5C06 QbP/2WF5ScvKjVVooJRp7RdWy7CnG57HgStn+s1rxqsoqGK3asvsImuvQLnvQ2tJPAtv3zU70RZ0t hCVywZhgrB+2gO2ip1hfJxJ7eOfOnrMjpSRHM2jUy3jW5nbyJOrIq2oxcNMQdQa5dYy555kp7B++P uDZUr/WgOm/8Bi3oDXr3ZeFlWOzQru7oxW9+TyFORupaD/xWQ8Baoe0szE5pHMtQ/oPCiAstuy+F0 NsnBaJJxiqOIRp5EuzW6cbPfYWWH7xyVcdCHRh7lHXXWu4AMFG1n6NqXssEQ5ItSHS1saxwwPg2gV w3Yu4B4IgYDJahrJRs7H1w==; Original-Received: from [87.69.77.57] (port=2871 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 1nV63K-0006o2-0R; Fri, 18 Mar 2022 02:25:39 -0400 In-Reply-To: <20220317224433.oiocm6da6tzmrq6e@Ergus> (message from Ergus on Thu, 17 Mar 2022 23:44:33 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:287268 Archived-At: > Date: Thu, 17 Mar 2022 23:44:33 +0100 > From: Ergus > Cc: Lars Ingebrigtsen , emacs-devel@gnu.org > > Looking around it seems like with your function the *Completions* window > is not passed to redisplay--pre-redisplay-functions, but only the > minibuffer. So basically the window is not updated and the overlay not > moved. Probably there is some optimization that is affecting us... Eli? redisplay--pre-redisplay-functions don't know anything about the differences between windows, so if those functions aren't called, it is not related to the window or the buffer. Every window that gets redisplayed gets the same treatment.