all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Giorgos Keramidas'" <keramida@ceid.upatras.gr>
Cc: emacs-devel@gnu.org
Subject: RE: set-face-attribute and floating point :height values
Date: Mon, 31 Jan 2011 19:56:16 -0800	[thread overview]
Message-ID: <39A4FE09C6EE40AB82F5C8FCAB85623B@us.oracle.com> (raw)
In-Reply-To: <xeiar5bswivu.fsf@kobe.laptop>

> > It might help if the doc either avoided the undefined term 
> > "underlying face" or explained what it means by that.
> 
> I think the use of the term 'underlying face' is a nice and 
> compact way of describing that floating point :height values
> are multipliers for any :height inherited from another face.
> But it's confusing that there is an exception for the
> 'default' face that makes this particular format of
> :height value invalid for just this *one* exception.
> 
> Maybe we should fix the doc string to mention this exception and
> explicitly mention 'inheritance' instead of the 'underlying face'.

If you look at the doc I pointed to (node `Face Attributes'),
you will see that "underlying face" is not the same as
inherited face.  According to what is written, underlying is
not about inheritance.  (I don't claim that what is written is
correct.)

An underlying face is "a face that has a lower priority in
the list described in `Displaying Faces'".  In `Displaying
Faces' you will see the ways in which the list of faces that
underly a given face can be constituted.  And you will
notice that there is no mention of inheritance.

In node `Face Attributes', face inheritance is also discussed,
however (see `:inherit').  It is explicitly distinguished from
underlying: "Attributes from inherited faces are merged
into the face like an underlying face would be, with
higher priority than underlying faces (`Displaying Faces')."




      reply	other threads:[~2011-02-01  3:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 20:33 set-face-attribute and floating point :height values Giorgos Keramidas
2011-01-31 20:42 ` Glenn Morris
2011-01-31 20:46   ` Giorgos Keramidas
2011-01-31 22:04     ` Drew Adams
2011-02-01  3:09       ` Giorgos Keramidas
2011-02-01  3:56         ` Drew Adams [this message]

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=39A4FE09C6EE40AB82F5C8FCAB85623B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=keramida@ceid.upatras.gr \
    /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.