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: Mon, 14 Mar 2022 20:46:43 +0100 Message-ID: <20220314194643.cuhh73gx7iqhsvmp@Ergus> References: <874k454n84.fsf@gnus.org> <86ilslmvql.fsf@mail.linkov.net> <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> <86bky8l82c.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11796"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 20:48:25 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 1nTqg1-0002ou-Kx for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 20:48:21 +0100 Original-Received: from localhost ([::1]:34658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTqg0-0000QD-Ao for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 15:48:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTqfB-00088x-Di for emacs-devel@gnu.org; Mon, 14 Mar 2022 15:47:29 -0400 Original-Received: from sonic316-11.consmr.mail.bf2.yahoo.com ([74.6.130.121]:32890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTqf9-0002tV-9J for emacs-devel@gnu.org; Mon, 14 Mar 2022 15:47:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1647287245; bh=gsitUIWS8T5F+oHNn7RS7kpmUoljAu4gBjnvnfda824=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=en7y34nhKFevMknLVEjCgRsIemGrswVGhCaBndNkU+tVXrqSUp6gZYnglHcgnb6OSRUvFiHEBCA9cI6kNFIuBn9jiYn2+GATcn7KQLFq1o95E2UDfvlxy7cwzUTjdUuLomGibo+SFW9us5yfqxLOFnBe/LfDxbTiwSQzVgaB/Y8ha6on6h01xlbTYKvEt0aeRh4CCgLtm2iTGFq5TZErR3ASnIZyd7GF2MAxAje+fdwjZBelN4LjTbq6fJgydlwId/8OzEHTgTXUwQKH6gXX5SW29q6hzGRbNWjnTXw+Oukpv4K8KeCuEKyPW2Eyg3+c+pu6BKYdvH5H1ZkjwgkoVg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647287245; bh=gl3KD4gQvUUx/MibfecUq4zcouX4S2y5PRYG6MIaUEE=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=mnMJU3w4wKJbyvt17FPPFQ/u6TJckoFDuLzFs7gkWd+0yD/3VjefZNFxd4JsewZcmNMeWfactm/u7seYGNSLAGS8yJqnT3UYYYcZSp9e3UwZ4SJIcEoyAXQf/yrFNENWy1qNlNYY2Fk3XsCoICb0vAaF2rb4XgoCJwZ5YcLhFKaJTriaJvycbwxdyyK4eIxSpYi20oyByYnC5Mwhi1v6Wq6XQ6E5Lr9qIaeKjBk0vH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Mar 2022 19:47:25 +0000 Original-Received: by kubenode518.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 756b05d7842df6a111af80f77a039c0e; Mon, 14 Mar 2022 19:47:23 +0000 (UTC) Content-Disposition: inline In-Reply-To: <86bky8l82c.fsf@mail.linkov.net> X-Mailer: WebService/1.1.19878 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.121; envelope-from=spacibba@aol.com; helo=sonic316-11.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, 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:287166 Archived-At: On Mon, Mar 14, 2022 at 08:19:47PM +0200, Juri Linkov wrote: >> Now there is a variable completions-highlight-face. When nil highlight >> is disabled, otherwise it must be a the face to use, by default >> completions-highlight. >> >> I had the mode before because I needed some initialization, but with the >> cursor-face feature that is not needed and the code got simpler. >> >> If anyone knows how to modify redisplay--update-cursor-face-highlight to >> enable cursor-face to accept cons and plists (as the documentation of >> mouse-face indicates it should) please just add it there. > >Please clarify what cons and plists. Where the documentation says >about cons and plists for mouse-face? > Hi Juri: In: 33.19.4 Properties with Special Meanings Look at the `face` property values; there are 4 more apart from face name (symbol or string). In principle mouse-face accepts the same formats right? So I suppose that cursor-face should also support them. Currently in my code only the "symbol" alternative is supported. Adding string is simple to implement, but I suppose there is some API I am not aware of to support the other cases and I don't want to reinvent the wheel. Best, Ergus