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:47:57 +0200 Message-ID: <835zsq7v5u.fsf@gnu.org> References: <3a1726b0.64ab.1695b90bb85.Coremail.tumashu@163.com> <83wol9ai1f.fsf@gnu.org> <6b96411a.e495.1695e1a9d58.Coremail.tumashu@163.com> <83zhq46k97.fsf@gnu.org> <282bf2ca.4e3c.1696718df05.Coremail.tumashu@163.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="145819"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 10 13:48:47 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 1h2xsl-000boz-Bx for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 13:48:47 +0100 Original-Received: from localhost ([127.0.0.1]:44829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2xsk-00073s-Bu for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 08:48:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2xs8-00073Z-Kt for emacs-devel@gnu.org; Sun, 10 Mar 2019 08:48:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2xs8-0004Uc-Gr; Sun, 10 Mar 2019 08:48:08 -0400 Original-Received: from [176.228.60.248] (port=2536 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h2xs8-0002tf-1P; Sun, 10 Mar 2019 08:48:08 -0400 In-reply-to: <282bf2ca.4e3c.1696718df05.Coremail.tumashu@163.com> (message from tumashu on Sun, 10 Mar 2019 18:14:37 +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:234021 Archived-At: > Date: Sun, 10 Mar 2019 18:14:37 +0800 (CST) > From: tumashu > Cc: "emacs-devel@gnu.org" > > I just want to child-frame have its own border color, i do not know face have "frame" argument > so I use a buffer-local face-remapping-alist to this job :-) Buffer-local variables that determine frame-global behavior are a bad idea. Don't be surprised if you will see the face change unexpectedly because some other buffer happened to be the current buffer when the border was redrawn.