From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Select completions from the minibuffer Date: Sat, 19 Mar 2022 21:03:34 +0200 Organization: LINKOV.NET Message-ID: <86v8w9u55t.fsf@mail.linkov.net> References: <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> <20220317231027.65clapwxz5qtnpm4@Ergus> <86y217d2j3.fsf@mail.linkov.net> <20220318213112.7vfzpsxqvd2md4jt@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2585"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 19 20:29:02 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 1nVel4-0000Q7-AO for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Mar 2022 20:29:02 +0100 Original-Received: from localhost ([::1]:35558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVel3-0003OY-57 for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Mar 2022 15:29:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVekQ-0002j0-Sq for emacs-devel@gnu.org; Sat, 19 Mar 2022 15:28:22 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVekO-00052Z-Us for emacs-devel@gnu.org; Sat, 19 Mar 2022 15:28:22 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id C3AE7E0006; Sat, 19 Mar 2022 19:28:14 +0000 (UTC) In-Reply-To: <20220318213112.7vfzpsxqvd2md4jt@Ergus> (Ergus's message of "Fri, 18 Mar 2022 22:31:12 +0100") Received-SPF: pass client-ip=217.70.183.196; envelope-from=juri@linkov.net; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:287308 Archived-At: > Eli just fixed the real issue in the display engine. So now your code > does not need to force the update. BUT it still needs to set the > > (setq-local cursor-face-highlight-nonselected-window t) > > in completion-setup-function... I can do it for you unless you prefer to > add your own function to completion-setup-hook. Maybe better to set a new window parameter in the command that navigates completions from the minibuffer. Then such a window parameter could be checked in redisplay--update-cursor-face-highlight.