From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15788: 24.3.50; Can't change the default face's attributes Date: Sat, 02 Nov 2013 14:15:07 +0100 Message-ID: <5274FADB.8060801@swipnet.se> References: <87mwlnwhys.fsf@yandex.ru> <9FDBC422-B1EE-48E9-B757-3682163B9321@swipnet.se> <83wqkr9fy8.fsf@gnu.org> <5274EC29.6080407@swipnet.se> <83vc0b9dew.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1383398172 12545 80.91.229.3 (2 Nov 2013 13:16:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2013 13:16:12 +0000 (UTC) Cc: 15788@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 02 14:16:16 2013 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 1Vcb3o-0001KR-6D for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2013 14:16:16 +0100 Original-Received: from localhost ([::1]:42009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcb3n-0008Ns-HB for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2013 09:16:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcb3g-0008Nm-6P for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 09:16:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vcb3b-0003xE-11 for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 09:16:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vcb3a-0003x9-TS for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 09:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vcb3a-0006w3-DZ for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 09:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Nov 2013 13:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15788-submit@debbugs.gnu.org id=B15788.138339811226587 (code B ref 15788); Sat, 02 Nov 2013 13:16:02 +0000 Original-Received: (at 15788) by debbugs.gnu.org; 2 Nov 2013 13:15:12 +0000 Original-Received: from localhost ([127.0.0.1]:59087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vcb2m-0006ul-5W for submit@debbugs.gnu.org; Sat, 02 Nov 2013 09:15:12 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:42023) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1Vcb2j-0006uW-8m for 15788@debbugs.gnu.org; Sat, 02 Nov 2013 09:15:10 -0400 Original-Received: (qmail 27420 invoked by uid 89); 2 Nov 2013 13:15:07 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 2 Nov 2013 13:15:07 -0000 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 22B601A01C4; Sat, 2 Nov 2013 14:15:07 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <83vc0b9dew.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:79886 Archived-At: Hello. 2013-11-02 13:49, Eli Zaretskii skrev: >> Date: Sat, 02 Nov 2013 13:12:25 +0100 >> From: Jan Djärv >> CC: 15788@debbugs.gnu.org >> >> What is the value of attrs[LFACE_DISTANT_FOREGROUND_INDEX])? > > I've shown it at the end of the backtrace I sent: the value is nil. Sorry, missed that. I've checked in a possible fix, can you try it? Thanks, Jan D. > Here: > >>> #2 0x010d6a49 in check_lface_attrs (attrs=0x379ab54) at xfaces.c:1808 >>> 1808 eassert (UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) >>> (gdb) l >>> 1803 || IGNORE_DEFFACE_P (attrs[LFACE_INVERSE_INDEX]) >>> 1804 || SYMBOLP (attrs[LFACE_INVERSE_INDEX])); >>> 1805 eassert (UNSPECIFIEDP (attrs[LFACE_FOREGROUND_INDEX]) >>> 1806 || IGNORE_DEFFACE_P (attrs[LFACE_FOREGROUND_INDEX]) >>> 1807 || STRINGP (attrs[LFACE_FOREGROUND_INDEX])); >>> 1808 eassert (UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) >>> 1809 || IGNORE_DEFFACE_P (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) >>> 1810 || STRINGP (attrs[LFACE_DISTANT_FOREGROUND_INDEX])); >>> 1811 eassert (UNSPECIFIEDP (attrs[LFACE_BACKGROUND_INDEX]) >>> 1812 || IGNORE_DEFFACE_P (attrs[LFACE_BACKGROUND_INDEX]) >>> (gdb) p attrs[LFACE_DISTANT_FOREGROUND_INDEX] >>> $1 = 56191002 >>> (gdb) xtype >>> Lisp_Symbol >>> (gdb) xsymbol >>> $2 = (struct Lisp_Symbol *) 0x3596818 >>> "nil"