GNU bug report logs - #4114
23.1; face doc unclear - no explanation of "underlying" face or attribute value

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 11 Aug 2009 05:20:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 4114-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 4114-done <at> debbugs.gnu.org
Subject: Re: 23.1; face doc unclear - no explanation of "underlying" face or attribute value
Date: Sat, 15 Aug 2009 17:15:52 -0400
> In (elisp)Face Attributes, things are explained in terms of
> "underlying" face. But this notion is never introduced or explained.

Thanks, I've tweaked the text and added a reference to the node
Displaying Faces, where the concept is explained.

> I have no idea what was intended in any of these passages.

Here's an experiment that should make this clear.  Go to the default
*scratch* buffer and evaluate the following lines, one at a time:

;; Give the comments in this buffer a height of 15.
(set-face-attribute 'font-lock-comment-face nil :height 150)
;; Give characters 5 to 8 a height that's 0.9 times that of the
;; underlying face, in this case font-lock-comment-face.
(setq ov (make-overlay 5 8))
(overlay-put ov 'face (list :height 0.9))



This bug report was last modified 15 years and 341 days ago.

Previous Next


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