From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1852: 23.0.60; describe-face: Wrong type argument: symbolp, (:slant oblique) Date: Sat, 10 Jan 2009 22:20:13 +0100 Message-ID: <87y6xieu42.fsf@escher.local.home> Reply-To: Stephen Berman , 1852@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231623825 18137 80.91.229.12 (10 Jan 2009 21:43:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2009 21:43:45 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 22:44:55 2009 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.50) id 1LLldU-0005vV-Im for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2009 22:44:53 +0100 Original-Received: from localhost ([127.0.0.1]:58884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLlcE-0006r0-Ef for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2009 16:43:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLlc9-0006qf-F3 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:43:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLlc7-0006qT-QV for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:43:28 -0500 Original-Received: from [199.232.76.173] (port=46877 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLlc7-0006qQ-KJ for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:43:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40292) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LLlc7-0000Jz-21 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2009 16:43:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0ALhPEh029721; Sat, 10 Jan 2009 13:43:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0ALU3iE026106; Sat, 10 Jan 2009 13:30:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 10 Jan 2009 21:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1852 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123162242424581 (code B ref -1); Sat, 10 Jan 2009 21:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 10 Jan 2009 21:20:24 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0ALKKQA024489 for ; Sat, 10 Jan 2009 13:20:21 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:49804 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LLlEW-0005yO-AP for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 16:19:04 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LLlFi-0003uH-Ka for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 16:20:19 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:47121) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LLlFh-0003sn-UQ for emacs-pretest-bug@gnu.org; Sat, 10 Jan 2009 16:20:18 -0500 Original-Received: (qmail invoked by alias); 10 Jan 2009 21:20:14 -0000 Original-Received: from i59F5760E.versanet.de (EHLO escher.local.home) [89.245.118.14] by mail.gmx.net (mp041) with SMTP; 10 Jan 2009 22:20:14 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+pSiw8xX6pCnSuls6DCJU2sUrJT5GkCfMB4IhheL nqr3MlUP/QiPmM Original-Received: by escher.local.home (Postfix, from userid 1000) id 2131A1D105D; Sat, 10 Jan 2009 22:20:14 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 10 Jan 2009 16:43:28 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:23984 gmane.emacs.pretest.bugs:23671 Archived-At: The bug described below still exists in GNU Emacs 23.0.60.28 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-01-09 on escher, so I'm submitting it to the bug tracker. Note that the cited sexp from faces.el is now at line 1360, not 1307. From: Stephen Berman Subject: describe-face: Wrong type argument: symbolp, (:slant oblique) Newsgroups: gmane.emacs.devel To: emacs-devel@gnu.org Date: Mon, 26 May 2008 00:59:57 +0200 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