From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11754: 24.1.50; `eval-defun' (`C-M-x') does not re-evaluate `defface' Date: Wed, 20 Jun 2012 10:48:46 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340214591 408 80.91.229.3 (20 Jun 2012 17:49:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2012 17:49:51 +0000 (UTC) To: 11754@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 20 19:49:50 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ShP2F-0007Y2-Fz for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jun 2012 19:49:43 +0200 Original-Received: from localhost ([::1]:59261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShP2F-0005j0-GM for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jun 2012 13:49:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShP28-0005i5-Gb for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:49:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShP26-00050D-Li for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:49:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShP26-000500-Gz for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:49:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ShP5R-0004He-Qf for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jun 2012 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11754 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.134021477516450 (code B ref -1); Wed, 20 Jun 2012 17:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jun 2012 17:52:55 +0000 Original-Received: from localhost ([127.0.0.1]:50152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShP5L-0004HH-Hu for submit@debbugs.gnu.org; Wed, 20 Jun 2012 13:52:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55554) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShP5J-0004H9-Dn for submit@debbugs.gnu.org; Wed, 20 Jun 2012 13:52:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShP1s-0004za-Kr for submit@debbugs.gnu.org; Wed, 20 Jun 2012 13:49:25 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:40603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShP1s-0004zT-HT for submit@debbugs.gnu.org; Wed, 20 Jun 2012 13:49:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShP1n-0005fx-Ju for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:49:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShP1l-0004yo-OO for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:49:15 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:17554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShP1l-0004ya-HP for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2012 13:49:13 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q5KHn9QZ014022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Jun 2012 17:49:10 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q5KHn8TL029980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 20 Jun 2012 17:49:09 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q5KHn8Bv020212 for ; Wed, 20 Jun 2012 12:49:08 -0500 Original-Received: from dradamslap1 (/10.159.186.221) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 20 Jun 2012 10:49:08 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1PDPC4PhyY4oCUS0GKnDsR2Gac4w== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61145 Archived-At: emacs -Q Evaluate a `defface' using `C-M-x'. Change one of the face attributes (e.g. `foreground') and hit `C-M-x' again. A message says that the face was just defined (i.e., redefined). But the face definition was not updated to reflect your change, as you can see using Customize or whatever. `C-M-x' should update the face definition, just like it does for `defvar' etc. (emacs) `Lisp Eval' says: In particular, this command treats `defvar' expressions specially. Normally, evaluating a `defvar' expression does nothing if the variable it defines already has a value. But this command unconditionally resets the variable to the initial value specified by the `defvar'; this is convenient for debugging Emacs Lisp programs. `defcustom' and `defface' expressions are treated similarly. Note that the other commands documented in this section do not have this special feature. That's just not true - `defface' is NOT treated similarly. Yet it is specifically called out as one of those that is treated similarly, and contrasted with "the other commands documented in this section do not have this special feature". The doc is right, about what SHOULD happen. But it doesn't. In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-06-18 on MARVIN Bzr revision: 108646 michael.albinus@gmx.de-20120617185439-jfcgwwbr97nbflkz Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'