From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: overriding a face [was: 23.0.50; face-problems with multy-tty] Date: Tue, 2 Oct 2007 07:22:20 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191335042 12474 80.91.229.12 (2 Oct 2007 14:24:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2007 14:24:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 02 16:23:58 2007 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 1Icif6-0008AH-BX for ged-emacs-devel@m.gmane.org; Tue, 02 Oct 2007 16:23:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iciez-0006Tq-89 for ged-emacs-devel@m.gmane.org; Tue, 02 Oct 2007 10:23:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iciee-0006GX-10 for emacs-devel@gnu.org; Tue, 02 Oct 2007 10:23:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IcieZ-0006EL-9B for emacs-devel@gnu.org; Tue, 02 Oct 2007 10:23:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IcieZ-0006EI-35 for emacs-devel@gnu.org; Tue, 02 Oct 2007 10:23:15 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IcieS-0003ce-IP; Tue, 02 Oct 2007 10:23:08 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l92EN4Yo004386; Tue, 2 Oct 2007 08:23:04 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l92EN2Y0019293; Tue, 2 Oct 2007 08:23:02 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-72-229.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 3260956521191334940; Tue, 02 Oct 2007 07:22:20 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Detected-Kernel: Linux 2.4-2.6 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:80129 Archived-At: > What I'm asking for is something that will _create or replace_ a face > definition, the same way `setq' creates a new variable or replaces an > existing variable's value. > > I had no idea that is what you wanted to do. Hmm, I explained it just that way twice. Out of curiosity, what was it that you were saying you were in favor of? > The way to do that is to call make-face, then face-spec-set. OK, thanks. I had forgotten that make-face is a no-op for an existing face. > We could make a simple way to do both, if it is useful often enough > to be worth its weight in paper in the manual. Please do. Its name alone (`set-face' or whatever) would be helpful - it wasn't obvious to me, at least, how to do that. It would require only one or two lines of space in the manual.