From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: face-remapping-alist can not override internal-border face? Date: Sun, 10 Mar 2019 15:41:35 +0200 Message-ID: <83wol66e40.fsf@gnu.org> References: <3a1726b0.64ab.1695b90bb85.Coremail.tumashu@163.com> <83wol9ai1f.fsf@gnu.org> <6b96411a.e495.1695e1a9d58.Coremail.tumashu@163.com> <5C82B9FC.3090505@gmx.at> <376d7fef.5d24.16962dafb01.Coremail.tumashu@163.com> <837ed885c1.fsf@gnu.org> <54235b56.da0.16965071030.Coremail.tumashu@163.com> <838sxm7vj9.fsf@gnu.org> <6e4aa6f0.627a.16967b43ece.Coremail.tumashu@163.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110859"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rudalics@gmx.at, emacs-devel@gnu.org To: tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 10 14:42:28 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2yii-000SjF-2X for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 14:42:28 +0100 Original-Received: from localhost ([127.0.0.1]:45345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2yig-0002CA-TP for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 09:42:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2yi5-00029v-8l for emacs-devel@gnu.org; Sun, 10 Mar 2019 09:41:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2yi4-0000PM-Uj; Sun, 10 Mar 2019 09:41:49 -0400 Original-Received: from [176.228.60.248] (port=2076 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2yi2-0005qP-80; Sun, 10 Mar 2019 09:41:47 -0400 In-reply-to: <6e4aa6f0.627a.16967b43ece.Coremail.tumashu@163.com> (message from tumashu on Sun, 10 Mar 2019 21:04:19 +0800 (CST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234030 Archived-At: > Date: Sun, 10 Mar 2019 21:04:19 +0800 (CST) > From: tumashu > Cc: "martin rudalics" , > "emacs-devel@gnu.org" > > >This does work for me, so Martin is right: it should work. I have no > >idea why it didn't for you; did you try in "emacs -Q"? > > I can change child-frame's border color know, after create child-frame, click frame or > type a char will let border show correct color, do not know why Maybe because you don't give the window-system the chance to display the frame. AFAIR, it is actually done in a separate thread, so you need to wait for a short while before changing the way the new frame looks.