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 14:39:54 +0200 Message-ID: <838sxm7vj9.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> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="121558"; 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 13:42:56 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 1h2xn4-000VUD-6T for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 13:42:54 +0100 Original-Received: from localhost ([127.0.0.1]:44749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2xn3-0005GU-4N for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 08:42:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2xmG-00058W-Ta for emacs-devel@gnu.org; Sun, 10 Mar 2019 08:42:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2xkL-0007rx-TP; Sun, 10 Mar 2019 08:40:05 -0400 Original-Received: from [176.228.60.248] (port=2028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2xkL-0002Fn-84; Sun, 10 Mar 2019 08:40:05 -0400 In-reply-to: <54235b56.da0.16965071030.Coremail.tumashu@163.com> (message from tumashu on Sun, 10 Mar 2019 08:35:55 +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:234019 Archived-At: > Date: Sun, 10 Mar 2019 08:35:55 +0800 (CST) > From: tumashu > Cc: martin rudalics , > "emacs-devel@gnu.org" > > I have tested, but I found that it *only* work normal frame, child-frame do not work: > > (defface test > '((t (:inherit default :background "green"))) > "Face used by the ivy-posframe." > :group 'ivy-posframe) > > (set-face-background > 'internal-border > (face-attribute 'test :background) > (make-frame `((internal-border-width . 100) > (parent-frame . ,(window-frame))))) > > (set-face-background > 'internal-border > (face-attribute 'test :background) > (make-frame `((internal-border-width . 100)))) 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"?