From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs Subject: bug#8378: 23.2; eval-defun vs defface docstring Date: Wed, 30 Mar 2011 10:26:06 +1100 Message-ID: <87aagdwltd.fsf@blah.blah> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301441850 11614 80.91.229.12 (29 Mar 2011 23:37:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 23:37:30 +0000 (UTC) To: 8378@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 01:37:26 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4iTW-0007GB-7C for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 01:37:26 +0200 Original-Received: from localhost ([127.0.0.1]:48424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4iTV-00008w-NR for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 19:37:25 -0400 Original-Received: from [140.186.70.92] (port=59085 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4iTM-00007j-2Z for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 19:37:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4iTK-0002yr-TJ for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 19:37:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4iTK-0002yn-Pw for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 19:37:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q4iIU-0004Xz-Jl; Tue, 29 Mar 2011 19:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Ryde Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2011 23:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.130144113717440 (code B ref -1); Tue, 29 Mar 2011 23:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Mar 2011 23:25:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4iI4-0004XF-3D for submit@debbugs.gnu.org; Tue, 29 Mar 2011 19:25:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4iI1-0004X0-Lu for submit@debbugs.gnu.org; Tue, 29 Mar 2011 19:25:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4iHv-0001ID-Ki for submit@debbugs.gnu.org; Tue, 29 Mar 2011 19:25:28 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4iHv-0001I3-Ic for submit@debbugs.gnu.org; Tue, 29 Mar 2011 19:25:27 -0400 Original-Received: from [140.186.70.92] (port=59965 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4iHu-0003Ks-Ix for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 19:25:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4iHt-0001Hp-Ct for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 19:25:26 -0400 Original-Received: from mailout1-16.pacific.net.au ([125.255.80.135]:40747 helo=mailout1.pacific.net.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4iHs-0001Hi-Ta for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 19:25:25 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id B20635F08C5 for ; Wed, 30 Mar 2011 10:25:20 +1100 (EST) Original-Received: from blah.blah (unknown [203.26.175.75]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id F1DD28C2A for ; Wed, 30 Mar 2011 10:25:19 +1100 (EST) Original-Received: from gg by blah.blah with local (Exim 4.72) (envelope-from ) id 1Q4iIZ-0007bH-4D for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 10:26:07 +1100 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Mar 2011 19:26:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45487 Archived-At: When M-x eval-defun is used on a defface, the face docstring is not updated. For example in the scratch buffer M-x eval-defun on (defface my-test '((t (:foreground "blue"))) "This is a blue face docstring.") and then on (defface my-test '((t (:foreground "red"))) "This is a red face docstring.") followed by M-x describe-face my-test shows "This is a blue face docstring" in the help, where I expected it t be "red face" after evaluating the second form. The face colour and the display, is updated correctly (to red) as far as I can tell, but not the docstring somehow. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-05-16 on raven, modified by Debian configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_AU value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t