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

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq.free <at> gmail.com>

Date: Fri, 25 Oct 2013 10:06:02 UTC

Severity: minor

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15714 in the body.
You can then email your comments to 15714 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15714; Package emacs. (Fri, 25 Oct 2013 10:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xue Fuqiao <xfq.free <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 25 Oct 2013 10:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq.free <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; Confusing documentation of face attributes
Date: Fri, 25 Oct 2013 18:05:46 +0800
(You can also see
http://lists.gnu.org/archive/html/help-gnu-emacs/2013-10/msg00428.html)

(face-all-attributes 'default)
  =>
((: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 ‘unspecified’ attribute tells Emacs to refer instead to a parent
  face; or, failing that, to an underlying face.  The ‘default’ face
  must specify all attributes.

Unexpectedly, all the attributes returned by face-all-attributes are
‘unspecified’, 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 <at> gmail.com-20131018142744-tcr7cpncn90zuns1

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=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15714; Package emacs. (Fri, 25 Oct 2013 18:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 15714 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Xue Fuqiao <xfq.free <at> gmail.com>
Cc: 15714 <at> debbugs.gnu.org
Subject: Re: bug#15714: 24.3.50; Confusing documentation of face attributes
Date: Fri, 25 Oct 2013 14:17:51 -0400
Xue Fuqiao wrote:

> (face-all-attributes 'default)

Cf

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15714; Package emacs. (Sat, 12 Oct 2019 05:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 15714 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Xue Fuqiao <xfq.free <at> gmail.com>, 15714 <at> debbugs.gnu.org
Subject: Re: bug#15714: 24.3.50; Confusing documentation of face attributes
Date: Sat, 12 Oct 2019 07:13:24 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Xue Fuqiao wrote:
>
>> (face-all-attributes 'default)
>
> Cf
>
>  (face-all-attributes 'default (selected-frame))

I don't think there's anything to fix here, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 15714 <at> debbugs.gnu.org and Xue Fuqiao <xfq.free <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 12 Oct 2019 05:14:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Nov 2019 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 164 days ago.

Previous Next


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