unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: A few faces.el questions
Date: Wed, 31 Jan 2007 13:28:59 +0100	[thread overview]
Message-ID: <f7ccd24b0701310428s17056d64g98ff7fbb6e013a5b@mail.gmail.com> (raw)

- The set-face-*-p family of functions all have an argument *-P (for
example, INVERSE-VIDEO-P, BOLD-P, etc.). However, in the case of
`set-face-underline-p' this is misleading, because UNDERLINE-P is not
a flag (it can also be a color). Will someone object if I just change
arg UNDERLINE-P to UNDERLINE and fix the info in the Emacs Lisp
Reference (which doesn't mention the color option)? (This would also
affect `modify-face', BTW.)

- I know `internal-find-face' and `internal-get-face' are obsolete
since 21.1, but their docstrings lie horribly about the FRAME
argument. Wouldn't be better to just say "The argument FRAME is
ignored"?

- Shouldn't `face-id' return an answer also for face aliases? I.e., instead of

  (get face 'face)

shouldn't it be

  (or (get face 'face)
      (get (get face 'face-alias) 'face))

Or is this intended:

  (put 'my-alias-face 'face-alias 'my-face)
  (eq (facep 'my-face) (facep 'my-alias-face)) => t
  (eq (face-id 'my-face) (face-id 'my-alias-face)) => nil

?

- `face-differs-from-default-p' checks all face attributes except
:inherit (obviously) and :stipple. Should it check :stipple?

                 /L/e/k/t/u

             reply	other threads:[~2007-01-31 12:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 12:28 Juanma Barranquero [this message]
2007-01-31 18:43 ` A few faces.el questions Eli Zaretskii
2007-01-31 19:35   ` Drew Adams
2007-01-31 19:55     ` Juanma Barranquero
2007-02-01 16:19     ` Richard Stallman
2007-02-01  0:07 ` Richard Stallman
2007-02-01  0:27   ` Juanma Barranquero
2007-02-02 11:24     ` 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=f7ccd24b0701310428s17056d64g98ff7fbb6e013a5b@mail.gmail.com \
    --to=lekktu@gmail.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).