From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Change in face-spec-set Date: Mon, 29 Oct 2007 02:39:25 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193639981 21112 80.91.229.12 (29 Oct 2007 06:39:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 06:39:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 07:39:42 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 1ImOHl-0003AJ-OW for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 07:39:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImOHc-0004jh-Do for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 02:39:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImOHY-0004ek-65 for emacs-devel@gnu.org; Mon, 29 Oct 2007 02:39:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImOHW-0004bN-LK for emacs-devel@gnu.org; Mon, 29 Oct 2007 02:39:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImOHW-0004au-GU for emacs-devel@gnu.org; Mon, 29 Oct 2007 02:39:26 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImOHW-0006zf-Bq for emacs-devel@gnu.org; Mon, 29 Oct 2007 02:39:26 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ImOHV-0004AS-AK; Mon, 29 Oct 2007 02:39:25 -0400 X-Spook: Crypto AG embassy SP4 pink noise cracking cybercash bomb X-Ran: Lb.nn4tqHf4/i[]~wSKT'""MHM X-Hue: black X-Attribution: GM In-Reply-To: (Richard Stallman's message of "Sat, 27 Oct 2007 19:41:17 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82029 Archived-At: Richard Stallman wrote: > Because face-spec-set is supposed to completely override the settings > of the face, setting it from zero. > > With the current code, and without my patch, does that work? Give me a test case starting from emacs -Q and I'll tell you. If I try to guess what you might mean, then with the current code: emacs -Q (describe-face 'font-lock-warning-face) -> weight = bold (face-spec-set 'font-lock-warning-face '((t :underline t))) (make-frame) On new frame: (describe-face 'font-lock-warning-face) -> weight = unspecified Is this the kind of thing you are talking about?