From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Faces applies to new frames Date: Sun, 29 Jun 2008 00:22:15 -0400 Message-ID: References: <87k5gbx12n.fsf@stupidchicken.com> <87iqvty2e7.fsf@stupidchicken.com> <871w2hcek1.fsf@stupidchicken.com> <87hcbcsy8e.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214713359 12499 80.91.229.12 (29 Jun 2008 04:22:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2008 04:22:39 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 29 06:23:24 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KCoRf-0005qQ-Pz for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 06:23:24 +0200 Original-Received: from localhost ([127.0.0.1]:40275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCoQp-0004k0-BM for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 00:22:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCoQl-0004jv-Mr for emacs-devel@gnu.org; Sun, 29 Jun 2008 00:22:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCoQj-0004jj-Bd for emacs-devel@gnu.org; Sun, 29 Jun 2008 00:22:26 -0400 Original-Received: from [199.232.76.173] (port=47159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCoQj-0004jg-5a for emacs-devel@gnu.org; Sun, 29 Jun 2008 00:22:25 -0400 Original-Received: from 69-196-135-70.dsl.teksavvy.com ([69.196.135.70]:49088 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KCoQf-0006zY-Ih; Sun, 29 Jun 2008 00:22:21 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A515470034; Sun, 29 Jun 2008 00:22:15 -0400 (EDT) In-Reply-To: <87hcbcsy8e.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 29 Jun 2008 12:42:41 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Greylist: delayed 19864 seconds by postgrey-1.27 at monty-python; Sun, 29 Jun 2008 00:22:21 EDT X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100118 Archived-At: >> And that's exactly the reason why I introduced `font-parameter'. >> Basically, I think that frame parameters should generally take >> precedence since they may really be set on a frame-by-frame basis. > Eh? face attributes can be set on a frame-by-frame basis too... Sorry, I tend to leave this out indeed, but AFAIK this is never a problem: we're mostly talking here about settings saved somewhere so they're applied at frame creation. `set-face-attribute' applied to a single frame happen afterwards and don't need to save anything anywhere, so they "just work" (tho they may be incorrectly overridden later on by a defface spec if Custom is asked to reapply a particular defface spec,. typically becaquse that spec was changed). Stefan