From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Select completions from the minibuffer Date: Sat, 19 Mar 2022 21:46:25 +0100 Message-ID: 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> <86v8w9u55t.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----GGAI09D3ZTBHW0G5E6P3WMA27L13VF Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39708"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen To: emacs-devel@gnu.org, Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 19 21:47:46 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 1nVfzG-000A7n-Df for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Mar 2022 21:47:46 +0100 Original-Received: from localhost ([::1]:32958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVfzF-00007f-9H for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Mar 2022 16:47:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVfyC-0007rK-9X for emacs-devel@gnu.org; Sat, 19 Mar 2022 16:46:40 -0400 Original-Received: from sonic304-10.consmr.mail.bf2.yahoo.com ([74.6.128.33]:36956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVfy7-0008MW-Qb for emacs-devel@gnu.org; Sat, 19 Mar 2022 16:46:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1647722790; bh=XCmgp9Up1haorPPP4JYvSlbw9Z/rvXFfcEhCwNgzm3k=; h=Date:From:To:CC:Subject:In-Reply-To:References:From:Subject:Reply-To; b=QitsidMBgtNE7SCER7trIz0gtNew7dMNZzu3cI7+KzKZITwTiSVOsXKhIgELqQ/4GdJzryC+5ZIG4SIsKTV2qbApm3fBL4ol5xq0HbMrCZAhoDsChbUb0KCLubhvzlpvC69T0RcbBwmF8y8RG2MfJWMFqtzYpo567virtRBeC0/WagJpCd+PXjIAJPI7tHJ2sMgigFy0jFH3mF4QNdezl1auQH66iS6vzn0EPbCO3ZjirC5WNeU8xwytKF2OZdgeJFbGqeS+IKRfax9ptdmpim59ERWipewuSnnnysW9/299XbF7CziMh5oreusrK0inXkyjpotEHKx9/s+c6R0WMg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647722790; bh=rzhqdDKgkASQmtNbT6IWNEJA2w3egVXQYpnigwsWkVW=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=aNC9nz9s0uN0I4MAIfEx5mfEbba/VTHxJyfo/6o+hGQ9VUiCabCwNBEgV6cZ8K1/UjKvls9Imy55sWsV6NBX27zbhtiVvm8CyUZUocrtDtyI8OeuVTbyVF/ycn8Ug+4cmoA9a3FL16cvK9O8XbBreAdu+vIwCzTih/HNqquprCw5T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yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Sat, 19 Mar 2022 20:46:30 +0000 Original-Received: by kubenode511.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 25fe1cf01891257ce826d82f64b6cf73; Sat, 19 Mar 2022 20:46:28 +0000 (UTC) In-Reply-To: <86v8w9u55t.fsf@mail.linkov.net> X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.128.33; envelope-from=spacibba@aol.com; helo=sonic304-10.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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:287310 Archived-At: ------GGAI09D3ZTBHW0G5E6P3WMA27L13VF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Actually thinking a bit more on this=2E=2E=2E You can do the same just doin= g a setq-local in the same command instead of a let or a window parameter= =2E=2E=2E Right??? On March 19, 2022 8:03:34 PM GMT+01:00, Juri Linkov wr= ote: >> Eli just fixed the real issue in the display engine=2E So now your code >> does not need to force the update=2E BUT it still needs to set the >> >> (setq-local cursor-face-highlight-nonselected-window t) >> >> in completion-setup-function=2E=2E=2E I can do it for you unless you pr= efer to >> add your own function to completion-setup-hook=2E > >Maybe better to set a new window parameter in the command that navigates >completions from the minibuffer=2E Then such a window parameter could be >checked in redisplay--update-cursor-face-highlight=2E > --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------GGAI09D3ZTBHW0G5E6P3WMA27L13VF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Actually thinking a bit more on this=2E=2E=2E You = can do the same just doing a setq-local in the same command instead of a le= t or a window parameter=2E=2E=2E Right???



On March 19, 2022 8:03:34 PM GMT+01:00, Juri Linkov <juri@linko= v=2Enet> wrote:
Eli just fixed the real issue in the display engine=2E So now yo= ur code
does not need to force the update=2E BUT it still needs to set = the

(setq-local cursor-face-highlight-nonselected-window t)

= in completion-setup-function=2E=2E=2E I can do it for you unless you prefe= r to
add your own function to completion-setup-hook=2E
=
Maybe better to set a new window parameter in the command that navigate= s
completions from the minibuffer=2E Then such a window parameter could= be
checked in redisplay--update-cursor-face-highlight=2E

<= /blockquote>
--
Sent from my Android device with K-9 Mail=2E Please excu= se my brevity=2E
------GGAI09D3ZTBHW0G5E6P3WMA27L13VF--