From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 15ac51e0fd: Merge branch 'feature/completions-customs' Date: Wed, 23 Mar 2022 09:02:31 +0800 Message-ID: <87pmmdcwgo.fsf@yahoo.com> References: <164793742180.2038.4306130819331318764@vcs2.savannah.gnu.org> <20220322082342.60DC3C051F4@vcs2.savannah.gnu.org> <87mthijpyc.fsf@yahoo.com> <20220322170500.ogpzw3lusul3l6cp@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="19987"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org, Juri Linkov To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 23 02:06:05 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 1nWpRs-00052F-SQ for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Mar 2022 02:06:04 +0100 Original-Received: from localhost ([::1]:52160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWpRr-0007qm-OJ for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Mar 2022 21:06:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWpOg-0004WH-Nx for emacs-devel@gnu.org; Tue, 22 Mar 2022 21:02:47 -0400 Original-Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:39463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWpOd-00026G-Vr for emacs-devel@gnu.org; Tue, 22 Mar 2022 21:02:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647997360; bh=C6k34JGS7da0Pf6p0haAUkH4RCSAcCMz7+S/YYZo9HM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=GJGw0pR1vmqrob3Hn0C3V7vwYed2Sz9kRH1KXT6GhtOpx+cAGpePPl/WvwkwA19kH2ui7BWQUH+R4SfUupHGrdHw/FPlGgMnnhqZGzpQwvFyfKC3xBWeWjCjLNud5Gm1Yf1lTPUc5n92lqQE8KtDyRpZCpUTf5Bp9tOSrOSeYeFhvkSA3PW4dWbBPCHpyUqkmh7kGvaR+oKaBXCPOEmW2ZvUA1UC/ilv8SUyOw0mRY3u6CHj0B8uXMHz74A4d9JB3u/wki/9ngjFpOB1lzAdg2FViGk4bS7wt3ZJOMC6DbUCdv3K+lkbwrn5IPHVRYOL7GgkkV9Z3bpiMCBRRTTF+g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647997360; bh=GYWJ8VAnMH27n/2i/XwfkpIfP8zEl0X3YP0S3Fzl4d7=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=FQ1f533dBXA3EoABCnqstzjve5WgbF92T6W14JwLxhupIoJzK9vgIOi0PP52BBgTtZlXOpef6G4YQFkC8yaXw6jxRp0OFaw9IOuO1ue0ajSPUapjMCmpbbRoBalNFuWm2ADqxLLcCZEdj5Hgb3lWJAK5rWjVRjnQ2nUsdrWdqufMYx8q/mV9RLlj7wrUGCBs1h2/sJy4FgIngMAwU9zr2HQpTov6TTn7lPdWQypk+tl1Dol36mkpycp3mwtT1g10HbZXrB4IorRSZsGFoCeAVJg5zioQv60O+iZVeN/bXLbAnG6t1tTT+2nPvj/iglvI/gewl9IWoJmtmV+0XQTKUw== X-YMail-OSG: TYIQOHgVM1mkRKQErH03UrQIZxQsUuMmt7kKLf4ibnEiFOMazlVxtzU46cRNtXs y1e96ayDqPFiOilYJy_K1.IlVeT2_ySjnX15nYWOnFgJTCzu1q7ikoNsFBHfcsJH6hnJ3ELrqLM0 Z3PRBh1ljhRirGAVcdlNX1vMHX31.8YcAVj9660hW5GaAp62zIGFGsQzPr1kxjkVJpRPQVjgTdyH CgPOlB4Jt6HLo2JW9wkVi4ZDqrSJWhvm_3RoJJ2Iw689FH1.aSeZ_LcsTOK7_KjUxuP0dEqZPVmr tn3u2IxOTdHPkDdEQOL_BhQSwfFPhq8IZ2X3uqzZHuMhnTob17zvVsIM7wrGWV6ycMMxk9Xw7o0D omOreVrRbulMsY9boXEEvNIuX7.7K2o5VQcgIrupOcOTgDEuo0M.oM.DlYJLhbCaaLv863oHwQhL 84K.zgf0rAJrDpB9P6BlCx9Kp3xGWB3hUaTR3sYtEz56FOK5YLh54NR375Ei3uwkFqmQSdycyQ.2 6of.0RQxcJFs8gU.fPUBbmqrqrGx.x8dMw4PIGuDUBavWgL52o7qOyOF.V9NO7KdHoqRE0W7dWke l.8Rr8hRevr24q8XUlhcNPpizls8vzOp7rxjCnwzwls9wdkbYD8jQgM34FU5PWQ6J.H3_.9zf2E9 AzZtyO3B4hoD7YPvc2wZlOvO1N1VUttYrLEd8iBgk9DS2vr8oGrRq4iH8_DkXMBbGwyRsOXErm0H MIavta35pSxEn_dOgFZVi91Rw2cgnD5pDx_xfsqtMefzkaWled_UPRiZogWQGFdch65aH.t2TrqS XkWDUFG5KqFGjlGg6h0Xrpdbe3orWuwLHd0x.OQd1q X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Wed, 23 Mar 2022 01:02:40 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 875dcbdec723484ce2c5488ef0637b48; Wed, 23 Mar 2022 01:02:36 +0000 (UTC) In-Reply-To: <20220322170500.ogpzw3lusul3l6cp@Ergus> (Ergus's message of "Tue, 22 Mar 2022 18:05:00 +0100") X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.146; envelope-from=luangruo@yahoo.com; helo=sonic302-20.consmr.mail.ne1.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:287378 Archived-At: Ergus writes: > I suggest two solutions here: > > 1) Not enable cursor-face-highlight-nonselected-window for > completions... this will disable the highlight whenever the Completions > window is not the active one... > > 2) Extend the highlight to consider cursor-in-non-selected-windows and > set it to nil in Completions by default... > > The first is the simples one, but will fore the Juri's code to > setq-local the variable in a hook or in his function wrapper... > > So just tell what do you prefer... I'm not sure what you mean by hook or Juri's function wrapper, so I can't say. Thanks.