all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15714: 24.3.50; Confusing documentation of face attributes
@ 2013-10-25 10:05 Xue Fuqiao
  2013-10-25 18:17 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Xue Fuqiao @ 2013-10-25 10:05 UTC (permalink / raw)
  To: 15714

(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@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/





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15714: 24.3.50; Confusing documentation of face attributes
  2013-10-25 10:05 bug#15714: 24.3.50; Confusing documentation of face attributes Xue Fuqiao
@ 2013-10-25 18:17 ` Glenn Morris
  2019-10-12  5:13   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2013-10-25 18:17 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: 15714

Xue Fuqiao wrote:

> (face-all-attributes 'default)

Cf

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15714: 24.3.50; Confusing documentation of face attributes
  2013-10-25 18:17 ` Glenn Morris
@ 2019-10-12  5:13   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-12  5:13 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Xue Fuqiao, 15714

Glenn Morris <rgm@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-12  5:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 10:05 bug#15714: 24.3.50; Confusing documentation of face attributes Xue Fuqiao
2013-10-25 18:17 ` Glenn Morris
2019-10-12  5:13   ` Lars Ingebrigtsen

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.