From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: new *Help* argument highlighting Date: 11 May 2004 13:44:37 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040510013534.F994.LEKTU@mi.madritel.es> <20040510020140.F99A.LEKTU@mi.madritel.es> <87llk0qftn.fsf-monnier+emacs@gnu.org> <87vfj3kam4.fsf@mail.jurta.org> <87zn8fogbg.fsf-monnier+emacs@gnu.org> <874qqnvvfv.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084297835 20760 80.91.224.253 (11 May 2004 17:50:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 May 2004 17:50:35 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 11 19:50:26 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNbOc-00037e-00 for ; Tue, 11 May 2004 19:50:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNbOc-0001WB-00 for ; Tue, 11 May 2004 19:50:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNbKD-0003u2-2j for emacs-devel@quimby.gnus.org; Tue, 11 May 2004 13:45:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNbJd-0003nO-Cl for emacs-devel@gnu.org; Tue, 11 May 2004 13:45:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNbJ2-0003f5-Ug for emacs-devel@gnu.org; Tue, 11 May 2004 13:45:14 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNbJ2-0003es-NM for emacs-devel@gnu.org; Tue, 11 May 2004 13:44:40 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A00A1204C0; Tue, 11 May 2004 13:44:38 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 106FB8C6AE; Tue, 11 May 2004 13:44:38 -0400 (EDT) Original-To: Juri Linkov In-Reply-To: <874qqnvvfv.fsf@mail.jurta.org> Original-Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, BAYES_00 -4.90) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23162 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23162 > I'd try to add a hook to `face-spec-set', but I see one possible problem: > since `face-spec-set' processes one face at a time, it may be possible > that some faces are already processed before a user hook is added in .emacs, > and so some faces defined earlier may remain unchanged. Yes, it might be problem, but it might not: it's called once per frame, so it depends whether it's called again after reading .emacs (when the initial frame is resized/reshaped/... to adapt to parameter changes that took place in .emacs). It's at least not obviously going to fail, so it's worth trying. Stefan