From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.help Subject: Re: copy-face seems to work only for current frame Date: 27 Jan 2004 15:51:59 +0100 Organization: Lucent Technologies Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075215974 28901 80.91.224.253 (27 Jan 2004 15:06:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2004 15:06:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 16:06:07 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AlUn1-0003sV-00 for ; Tue, 27 Jan 2004 16:06:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AlUjA-0002qN-Qw for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2004 10:02:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!ash.uu.net!netnews.proxy.lucent.com!news Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: sfsw51.de.lucent.com X-NSA-Fodder: Ft. Knox CipherTAC-2000 M-14 SDI spy electronic surveillance User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:120466 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16412 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16412 >>>>> "Eli" == Eli Zaretskii writes: Eli> Eli> I think the above fails because it is evaluated after _loading_ Eli> woman.elc, and at that point, the new frame where the WoMan buffer is Eli> to be displayed does not yet exist. The new WoMan frame is created Eli> only when woman.elc's code _runs_, not when it is _loaded_. So Eli> copy-face indeed copies the face definition into all the existing Eli> frames, but the WoMan frame is created only afterwards. I don't understand this. I thought woman.el creates (via defface) the face woman-bold-face as soon as it gets loaded, then eval-after-load copies another face into woman-bold-face and that should be it. And I was so naive to think that this face would be used now in new frames too. Why not? From the documentation of copy-face I don't see why this doesn't do it. Eli> Why don't you simply customize woman-bold-face? That's what one is Eli> supposed to do in such cases, you know ;-) Mostly habit I guess and then I have hundreds of autoloads and eval-after-loads in my .emacs.el. And I have them where and when I want them whereas customize keeps everything intermingled together and executes everything when I start emacs. But I don't want to start a discussion about customize, it's certainly a good thing to have and (since about half a year) I've started to use it every once in a while. Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | ------------------------------------------ --- The average income of the modern teenager is about 2AM.