From: "Herbert Euler" <herberteuler@hotmail.com>
To: emacs-devel@gnu.org
Subject: The `face-attribute-relative-p' Example?
Date: Sun, 15 Apr 2007 20:21:38 +0800 [thread overview]
Message-ID: <BAY143-F35E4AD9720DFAC9C17584DDA530@phx.gbl> (raw)
In the "Face Attribute Functions" section of Emacs Lisp Reference
Manual (info "(elisp) Attribute Functions"), `read-face-name' is used
as an example for `face-attribute-relative-p':
- Function: face-attribute-relative-p attribute value
This function returns non-`nil' if VALUE, when used as the value
of the face attribute ATTRIBUTE, is relative. This means it would
modify, rather than completely override, any value that comes from
a subsequent face in the face list or that is inherited from
another face.
`unspecified' is a relative value for all attributes. For
`:height', floating point values are also relative.
For example:
(read-face-name "Describe face" "= `default' face" t)
prompts with `Describe face (default = `default' face): '.
What is the relation between the example and the function?
If this example is correct, there should be a rationale at least,
i.m.o.
Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
next reply other threads:[~2007-04-15 12:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-15 12:21 Herbert Euler [this message]
2007-04-16 4:31 ` The `face-attribute-relative-p' Example? Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY143-F35E4AD9720DFAC9C17584DDA530@phx.gbl \
--to=herberteuler@hotmail.com \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).