all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 15788@debbugs.gnu.org
Subject: bug#15788: 24.3.50; Can't change the default face's attributes
Date: Sat, 02 Nov 2013 14:49:27 +0200	[thread overview]
Message-ID: <83vc0b9dew.fsf@gnu.org> (raw)
In-Reply-To: <5274EC29.6080407@swipnet.se>

> Date: Sat, 02 Nov 2013 13:12:25 +0100
> From: Jan Djärv <jan.h.d@swipnet.se>
> 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.
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"





  reply	other threads:[~2013-11-02 12:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-02  4:22 bug#15788: 24.3.50; Can't change the default face's attributes Dmitry Gutov
2013-11-02  8:02 ` Jan Djärv
2013-11-02 11:54   ` Eli Zaretskii
2013-11-02 12:12     ` Jan Djärv
2013-11-02 12:49       ` Eli Zaretskii [this message]
2013-11-02 13:15         ` Jan Djärv
2013-11-02 14:17           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83vc0b9dew.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15788@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.