From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: describe-face: Wrong type argument: symbolp, (:slant oblique) Date: Mon, 26 May 2008 00:59:57 +0200 Message-ID: <873ao6dm6q.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211756425 30306 80.91.229.12 (25 May 2008 23:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 May 2008 23:00:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 26 01:01:05 2008 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 1K0PD5-0006qC-Vp for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 01:01:04 +0200 Original-Received: from localhost ([127.0.0.1]:53811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0PCK-0002BD-Ud for ged-emacs-devel@m.gmane.org; Sun, 25 May 2008 19:00:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0PCG-00029p-4y for emacs-devel@gnu.org; Sun, 25 May 2008 19:00:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0PCF-00027f-5D for emacs-devel@gnu.org; Sun, 25 May 2008 19:00:11 -0400 Original-Received: from [199.232.76.173] (port=58031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0PCE-00027V-V8 for emacs-devel@gnu.org; Sun, 25 May 2008 19:00:10 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:43961 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0PCE-0002xH-Fb for emacs-devel@gnu.org; Sun, 25 May 2008 19:00:10 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K0PCC-0001Ap-No for emacs-devel@gnu.org; Sun, 25 May 2008 23:00:08 +0000 Original-Received: from i5387f1dc.versanet.de ([83.135.241.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 23:00:08 +0000 Original-Received: from Stephen.Berman by i5387f1dc.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 23:00:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387f1dc.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:97695 Archived-At: In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-05-25 on escher 1. emacs -q 2. Put the cursor on any of the characters in the phrase "ABSOLUTELY NO WARRANTY" in the splash screen. 3. Type C-u C-x = 4. In the resulting *Help* buffer click on the link labelled "(variable-pitch (:slant oblique))" => Emacs beeps and throws the error in the Subject line. This happens at line 1307 in faces.el, which is this sexp: (insert "Face: " (symbol-name f)) when `f' gets the value `(:slant oblique)', which it does because the list '(variable-pitch (:slant oblique)) is the value of 'face in the plist of the character at point (as shown by text-properties-at). I don't know what the best fix is. (In earlier versions of Emacs, including CVS trunk of 2007-08-24, this value was '(variable-pitch :slant oblique), and doing the above steps does not raise an error, but the resulting *Help* buffer contains these dubious lines: Face: :slant undefined face. Face: oblique undefined face. But in this version a wrong type argument error is also raised by the above recipe for plist 'face values such as '(variable-pitch :foreground "red"), on the string. I could not determine when the change in the representation of the plist value of 'face occurred, because I couldn't figure out which part of the code constructs this plist.) Steve Berman