From unknown Tue Sep 09 22:28:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6767: 24.0.50; face-all-attributes returns unspecified for everything Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Jul 2010 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6767@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128056900323793 (code B ref -1); Sat, 31 Jul 2010 09:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2010 09:36:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of8Ul-0006Bi-Hm for submit@debbugs.gnu.org; Sat, 31 Jul 2010 05:36:43 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of8Ui-0006Bd-Ij for submit@debbugs.gnu.org; Sat, 31 Jul 2010 05:36:41 -0400 Received: from lists.gnu.org ([199.232.76.165]:54811) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Of8V0-0002k6-Gk for submit@debbugs.gnu.org; Sat, 31 Jul 2010 05:36:58 -0400 Received: from [140.186.70.92] (port=49995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Of8Uy-0007Zm-Ln for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 05:36:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Of8Ux-0004NX-Bj for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 05:36:56 -0400 Received: from smtprelay-b12.telenor.se ([62.127.194.21]:43636) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of8Ux-0004ND-1d for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 05:36:55 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 7C593E9B10 for ; Sat, 31 Jul 2010 11:36:53 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQzANeLU0xV4S0jPGdsb2JhbACHZZg/DAEBAQE1Lb5ohTkE X-IronPort-AV: E=Sophos;i="4.55,292,1278280800"; d="scan'208";a="555329830" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 31 Jul 2010 11:36:53 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 810537FA05A for ; Sat, 31 Jul 2010 11:36:52 +0200 (CEST) Message-ID: <4C53EEB4.8010602@swipnet.se> Date: Sat, 31 Jul 2010 11:36:52 +0200 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': In *scratch*: (face-attribute 'italic :slant) italic ;; Good. (face-italic-p 'italic) (italic oblique) ;; Fine. (assq :slant (face-all-attributes 'italic)) (:slant . unspecified) ;; Say what?? In fact face-all-attributes gives me unspecified for all attributes in the faces I tried (about 5), including the default face. Did I misunderstand how face-all-attributes work? Jan D. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/jhd/bin/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32) of 2010-07-20 on zeplin Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--verbose' '--enable-asserts' '--with-ns' '--without-x' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( f a c e - a t t r i b u t e SPC ' i t a l i c SPC : s l a n t ) C-j ( f a c e - i t a l i c - p SPC ' i t a l i c ) C-j ( a s s q SPC : s l a n t SPC ( f a c e - a l l - a t t r i b u t e s SPC ' i t a l i c ) ) C-j ( f a c e - a l l - a t t r i b u t e s SPC ' i t a l i c ) C-j x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From unknown Tue Sep 09 22:28:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6767: 24.0.50; face-all-attributes returns unspecified for everything Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Jul 2010 11:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 6767@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 6767-submit@debbugs.gnu.org id=B6767.128057469026394 (code B ref 6767); Sat, 31 Jul 2010 11:12:01 +0000 Received: (at 6767) by debbugs.gnu.org; 31 Jul 2010 11:11:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of9yT-0006rf-Dw for submit@debbugs.gnu.org; Sat, 31 Jul 2010 07:11:29 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of9yP-0006rZ-Uw for 6767@debbugs.gnu.org; Sat, 31 Jul 2010 07:11:26 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L6F004005Q5HD00@a-mtaout23.012.net.il> for 6767@debbugs.gnu.org; Sat, 31 Jul 2010 14:11:26 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.19.236]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6F000FV5R1IAB0@a-mtaout23.012.net.il>; Sat, 31 Jul 2010 14:11:26 +0300 (IDT) Date: Sat, 31 Jul 2010 14:11:27 +0300 From: Eli Zaretskii In-reply-to: <4C53EEB4.8010602@swipnet.se> Message-id: <837hkb3nz4.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <4C53EEB4.8010602@swipnet.se> X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Date: Sat, 31 Jul 2010 11:36:52 +0200 > From: Jan Dj=C3=A4rv > Cc:=20 >=20 > In *scratch*: > (face-attribute 'italic :slant) > italic ;; Good. >=20 > (face-italic-p 'italic) > (italic oblique) ;; Fine. >=20 > (assq :slant (face-all-attributes 'italic)) > (:slant . unspecified) ;; Say what?? >=20 > In fact face-all-attributes gives me unspecified for all attributes= in > the faces I tried (about 5), including the default face. This happens because face-new-frame-defaults has `unspecified' for al= l the attributes of `italic' face (and all other faces as well). Try (face-all-attributes 'italic (selected-frame)) and you will get what you expect. > Did I misunderstand how face-all-attributes work? I don't know, but it sounds like the doc string is at least misleadin= g in this regard. OTOH, this function is not used anywhere in Emacs, s= o it could be buggy. What is your use-case, exactly? From unknown Tue Sep 09 22:28:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6767: 24.0.50; face-all-attributes returns unspecified for everything Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Jul 2010 13:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 6767@debbugs.gnu.org Received: via spool by 6767-submit@debbugs.gnu.org id=B6767.128058251232130 (code B ref 6767); Sat, 31 Jul 2010 13:22:02 +0000 Received: (at 6767) by debbugs.gnu.org; 31 Jul 2010 13:21:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfC0c-0008MB-SW for submit@debbugs.gnu.org; Sat, 31 Jul 2010 09:21:51 -0400 Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfC0a-0008Ly-BY for 6767@debbugs.gnu.org; Sat, 31 Jul 2010 09:21:49 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id C258FE8F33 for <6767@debbugs.gnu.org>; Sat, 31 Jul 2010 15:22:05 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwzAJPAU0xV4S0jPGdsb2JhbACDE4RSmEAMAQEBATUtrGmRKIEmgyBzBIQ9 X-IronPort-AV: E=Sophos;i="4.55,294,1278280800"; d="scan'208";a="555385913" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 31 Jul 2010 15:22:05 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 890BD7FA05A; Sat, 31 Jul 2010 15:22:04 +0200 (CEST) Message-ID: <4C54237B.2010502@swipnet.se> Date: Sat, 31 Jul 2010 15:22:03 +0200 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 References: <4C53EEB4.8010602@swipnet.se> <837hkb3nz4.fsf@gnu.org> In-Reply-To: <837hkb3nz4.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Eli Zaretskii skrev 2010-07-31 13.11: >> Date: Sat, 31 Jul 2010 11:36:52 +0200 >> From: Jan Dj=C3=A4rv >> Cc: >> >> In *scratch*: >> (face-attribute 'italic :slant) >> italic ;; Good. >> >> (face-italic-p 'italic) >> (italic oblique) ;; Fine. >> >> (assq :slant (face-all-attributes 'italic)) >> (:slant . unspecified) ;; Say what?? >> >> In fact face-all-attributes gives me unspecified for all attributes in >> the faces I tried (about 5), including the default face. > > This happens because face-new-frame-defaults has `unspecified' for all > the attributes of `italic' face (and all other faces as well). Try > > (face-all-attributes 'italic (selected-frame)) > > and you will get what you expect. > >> Did I misunderstand how face-all-attributes work? > > I don't know, but it sounds like the doc string is at least misleading > in this regard. OTOH, this function is not used anywhere in Emacs, so > it could be buggy. > > What is your use-case, exactly? Just trying to get all attributes for a possible conversion to pango mark= up.=20 I intend to use it for tooltips so Emacs can use the system tooltips inst= ead=20 of its own. In principle it is possible to put properties on the tool ti= p=20 string so I'm trying to handle that. Maybe this is overkill, most toolst= ips=20 in Emacs are straight strings, but I've seen bold and italic. I can ask = for=20 specific attributes instead of using face-all-attributes. An improvement for the documentation would be to refer to face-attribute = and=20 say that if frame is nil or omitted, face-attribute is called with frame=20 argument t. Jan D. From unknown Tue Sep 09 22:28:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Subject: bug#6767: closed (Re: bug#6767: 24.0.50; face-all-attributes returns unspecified for everything) Message-ID: References: <4C545C10.90103@swipnet.se> <4C53EEB4.8010602@swipnet.se> X-Gnu-PR-Message: they-closed 6767 X-Gnu-PR-Package: emacs Reply-To: 6767@debbugs.gnu.org Date: Sat, 31 Jul 2010 17:24:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1280597043-6020-1" This is a multi-part message in MIME format... ------------=_1280597043-6020-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6767: 24.0.50; face-all-attributes returns unspecified for everything which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6767@debbugs.gnu.org. --=20 6767: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6767 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1280597043-6020-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6767-done) by debbugs.gnu.org; 31 Jul 2010 17:23:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfFmE-0001Yt-TD for submit@debbugs.gnu.org; Sat, 31 Jul 2010 13:23:15 -0400 Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfFmC-0001Yo-WF for 6767-done@debbugs.gnu.org; Sat, 31 Jul 2010 13:23:13 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id ADB2EE9743 for <6767-done@debbugs.gnu.org>; Sat, 31 Jul 2010 19:23:30 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnM0ABj5U0xV4S0jPGdsb2JhbACDE4RSl2lYDAEBAQE1La04kQKBJoMgcwSEPQ X-IronPort-AV: E=Sophos;i="4.55,295,1278280800"; d="scan'208";a="113137775" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 31 Jul 2010 19:23:30 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 113077FA05A for <6767-done@debbugs.gnu.org>; Sat, 31 Jul 2010 19:23:29 +0200 (CEST) Message-ID: <4C545C10.90103@swipnet.se> Date: Sat, 31 Jul 2010 19:23:28 +0200 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 Subject: Re: bug#6767: 24.0.50; face-all-attributes returns unspecified for everything References: <4C53EEB4.8010602@swipnet.se> <837hkb3nz4.fsf@gnu.org> In-Reply-To: <837hkb3nz4.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 6767-done Cc: 6767-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) I made the function documentation more like the texinfo documentation. Jan D. ------------=_1280597043-6020-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Jul 2010 09:36:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of8Ul-0006Bi-Hm for submit@debbugs.gnu.org; Sat, 31 Jul 2010 05:36:43 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of8Ui-0006Bd-Ij for submit@debbugs.gnu.org; Sat, 31 Jul 2010 05:36:41 -0400 Received: from lists.gnu.org ([199.232.76.165]:54811) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Of8V0-0002k6-Gk for submit@debbugs.gnu.org; Sat, 31 Jul 2010 05:36:58 -0400 Received: from [140.186.70.92] (port=49995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Of8Uy-0007Zm-Ln for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 05:36:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Of8Ux-0004NX-Bj for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 05:36:56 -0400 Received: from smtprelay-b12.telenor.se ([62.127.194.21]:43636) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Of8Ux-0004ND-1d for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 05:36:55 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 7C593E9B10 for ; Sat, 31 Jul 2010 11:36:53 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQzANeLU0xV4S0jPGdsb2JhbACHZZg/DAEBAQE1Lb5ohTkE X-IronPort-AV: E=Sophos;i="4.55,292,1278280800"; d="scan'208";a="555329830" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 31 Jul 2010 11:36:53 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 810537FA05A for ; Sat, 31 Jul 2010 11:36:52 +0200 (CEST) Message-ID: <4C53EEB4.8010602@swipnet.se> Date: Sat, 31 Jul 2010 11:36:52 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.0.50; face-all-attributes returns unspecified for everything Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': In *scratch*: (face-attribute 'italic :slant) italic ;; Good. (face-italic-p 'italic) (italic oblique) ;; Fine. (assq :slant (face-all-attributes 'italic)) (:slant . unspecified) ;; Say what?? In fact face-all-attributes gives me unspecified for all attributes in the faces I tried (about 5), including the default face. Did I misunderstand how face-all-attributes work? Jan D. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/jhd/bin/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32) of 2010-07-20 on zeplin Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--verbose' '--enable-asserts' '--with-ns' '--without-x' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( f a c e - a t t r i b u t e SPC ' i t a l i c SPC : s l a n t ) C-j ( f a c e - i t a l i c - p SPC ' i t a l i c ) C-j ( a s s q SPC : s l a n t SPC ( f a c e - a l l - a t t r i b u t e s SPC ' i t a l i c ) ) C-j ( f a c e - a l l - a t t r i b u t e s SPC ' i t a l i c ) C-j x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) ------------=_1280597043-6020-1--