GNU bug report logs - #15714
24.3.50; Confusing documentation of face attributes

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Xue Fuqiao <xfq.free@HIDDEN>; dated Fri, 25 Oct 2013 10:06:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 15714 <at> debbugs.gnu.org:


Received: (at 15714) by debbugs.gnu.org; 25 Oct 2013 18:17:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 25 14:17:55 2013
Received: from localhost ([127.0.0.1]:43854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VZlxK-00070Z-Hk
	for submit <at> debbugs.gnu.org; Fri, 25 Oct 2013 14:17:54 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:59721 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1VZlxI-00070R-5A
 for 15714 <at> debbugs.gnu.org; Fri, 25 Oct 2013 14:17:52 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1VZlxH-0007g9-7R; Fri, 25 Oct 2013 14:17:51 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Xue Fuqiao <xfq.free@HIDDEN>
Subject: Re: bug#15714: 24.3.50; Confusing documentation of face attributes
References: <CAAF+z6GGb9G2u1YKUdNbJikS6Qpx5_-_8U2xFaieWYkODqynOg@HIDDEN>
X-Spook: undercover Noriega Serbian enemy of the state M-14
X-Ran: KMcDZ.;%z~p`c,[e!=@vpn~UDd:\G_c+XH+sD(W?31JKTtQ{H%eN\N40qr-/Jy%'<~%,%t
X-Hue: cyan
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Fri, 25 Oct 2013 14:17:51 -0400
In-Reply-To: <CAAF+z6GGb9G2u1YKUdNbJikS6Qpx5_-_8U2xFaieWYkODqynOg@HIDDEN>
 (Xue Fuqiao's message of "Fri, 25 Oct 2013 18:05:46 +0800")
Message-ID: <gk4n85qkog.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.4 (-----)
X-Debbugs-Envelope-To: 15714
Cc: 15714 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.4 (-----)

Xue Fuqiao wrote:

> (face-all-attributes 'default)

Cf

 (face-all-attributes 'default (selected-frame))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15714; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Oct 2013 10:06:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 25 06:06:00 2013
Received: from localhost ([127.0.0.1]:42827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VZeHH-0005op-Oy
	for submit <at> debbugs.gnu.org; Fri, 25 Oct 2013 06:06:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44730)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <xfq.free@HIDDEN>) id 1VZeHF-0005oa-GK
 for submit <at> debbugs.gnu.org; Fri, 25 Oct 2013 06:05:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <xfq.free@HIDDEN>) id 1VZeH9-0006XT-2q
 for submit <at> debbugs.gnu.org; Fri, 25 Oct 2013 06:05:52 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57087)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <xfq.free@HIDDEN>) id 1VZeH9-0006XO-05
 for submit <at> debbugs.gnu.org; Fri, 25 Oct 2013 06:05:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46437)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <xfq.free@HIDDEN>) id 1VZeH7-0000eb-Ek
 for bug-gnu-emacs@HIDDEN; Fri, 25 Oct 2013 06:05:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <xfq.free@HIDDEN>) id 1VZeH6-0006WW-1a
 for bug-gnu-emacs@HIDDEN; Fri, 25 Oct 2013 06:05:49 -0400
Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]:33888)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <xfq.free@HIDDEN>) id 1VZeH5-0006WS-SJ
 for bug-gnu-emacs@HIDDEN; Fri, 25 Oct 2013 06:05:47 -0400
Received: by mail-ie0-f170.google.com with SMTP id at1so6169625iec.29
 for <bug-gnu-emacs@HIDDEN>; Fri, 25 Oct 2013 03:05:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type
 :content-transfer-encoding;
 bh=pZ2gLckOqY4w4CRxcyEhQBLmDnTiI5ihyR+8ZXc1RO0=;
 b=j9J5hooGsTfw34/k14JBWFq9BGwF50/P4OVBJgXNYLvaLiTIQbuj07Cny4FQFzn0l/
 ORyzJqNmaj4qBQyoP1foTcNGbXIDtTCTTE45V/jhmCD2MQt7qhL0Xuo1s9T7l+1Kfp1M
 RiToXqVsFuCfV37ZY0rA0yCy9s3PgXI85ErwqmhU+JYCZITUzB1doQVDjzesFO4jgGzK
 +YMoXnsiHL0EyvPO3dnll22J8P+aKultcmf5BeqUWbGVJgsmV6jyKc7mefyrGWFZ97N5
 7744n1a5m/VazJj0wOj87ptJkPZ/vYxukiIMOWAiQ3DKH95DpD8iZBb+v0d2nhPZijgO
 wjig==
MIME-Version: 1.0
X-Received: by 10.50.39.51 with SMTP id m19mr1425214igk.51.1382695546819; Fri,
 25 Oct 2013 03:05:46 -0700 (PDT)
Received: by 10.42.133.72 with HTTP; Fri, 25 Oct 2013 03:05:46 -0700 (PDT)
Date: Fri, 25 Oct 2013 18:05:46 +0800
Message-ID: <CAAF+z6GGb9G2u1YKUdNbJikS6Qpx5_-_8U2xFaieWYkODqynOg@HIDDEN>
Subject: 24.3.50; Confusing documentation of face attributes
From: Xue Fuqiao <xfq.free@HIDDEN>
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

(You can also see
http://lists.gnu.org/archive/html/help-gnu-emacs/2013-10/msg00428.html)

(face-all-attributes 'default)
  =3D>
((:family . unspecified) (:foundry . unspecified) (:width .
specified) (:height . unspecified) (:weight . unspecified) (:slant .
specified) (:underline . unspecified) (:overline . unspecified)
strike-through . unspecified) (:box . unspecified) (:inverse-video .
specified) (:foreground . unspecified) ...)

But in (info "(elisp) Face Attributes"):

  An =E2=80=98unspecified=E2=80=99 attribute tells Emacs to refer instead t=
o a parent
  face; or, failing that, to an underlying face.  The =E2=80=98default=E2=
=80=99 face
  must specify all attributes.

Unexpectedly, all the attributes returned by face-all-attributes are
=E2=80=98unspecified=E2=80=99, so it may be a documentation bug.

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.4)
 of 2013-10-19 on xfq-Inspiron-5437
Bzr revision: 114713 xfq.free@HIDDEN

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

--=20
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/




Acknowledgement sent to Xue Fuqiao <xfq.free@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15714; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.