From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Faces applies to new frames Date: Sun, 29 Jun 2008 16:29:31 -0400 Message-ID: <87lk0ovvbo.fsf@stupidchicken.com> References: <87k5gbx12n.fsf@stupidchicken.com> <87iqvty2e7.fsf@stupidchicken.com> <871w2hcek1.fsf@stupidchicken.com> <87wsk8kgm5.fsf@stupidchicken.com> <87prq0z2jd.fsf@stupidchicken.com> <87k5g8t56r.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214771754 1634 80.91.229.12 (29 Jun 2008 20:35:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2008 20:35:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 29 22:36:39 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 1KD3dW-0006UO-6a for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 22:36:38 +0200 Original-Received: from localhost ([127.0.0.1]:41480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KD3cf-00058I-Op for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 16:35:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KD3bO-0004cc-5i for emacs-devel@gnu.org; Sun, 29 Jun 2008 16:34:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KD3bM-0004bz-Kx for emacs-devel@gnu.org; Sun, 29 Jun 2008 16:34:25 -0400 Original-Received: from [199.232.76.173] (port=41306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KD3bM-0004bv-C0 for emacs-devel@gnu.org; Sun, 29 Jun 2008 16:34:24 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:56430) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KD3bM-0007YT-9y for emacs-devel@gnu.org; Sun, 29 Jun 2008 16:34:24 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 1AAD74E47B; Sun, 29 Jun 2008 16:29:31 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sun, 29 Jun 2008 16:00:33 -0400") 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, 2) 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:100168 Archived-At: Stefan Monnier writes: >> I suppose we could change internal-merge-in-global-face to update the >> frame parameters itself, instead of adding a separate line in faces.el >> to do it. > > Yes, that would make a lot more sense, wouldn't it? Only a little: internal-merge-in-global-face is only used in face-set-after-frame-default, and it's more concise to update the frame in Lisp in face-set-after-frame-defaultis than changing internal-merge-in-global-face. But OK. > [ Tho, I'd have expected that updating the `font' frame-parameter was > done at a lower-level, in a single place. ] Well, face vectors are Lisp-accessible data structures, and there's no practical generic way to catch changes to these data structures.