unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A few faces.el questions
@ 2007-01-31 12:28 Juanma Barranquero
  2007-01-31 18:43 ` Eli Zaretskii
  2007-02-01  0:07 ` Richard Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: Juanma Barranquero @ 2007-01-31 12:28 UTC (permalink / raw)
  To: Emacs Devel

- 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

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

end of thread, other threads:[~2007-02-02 11:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-31 12:28 A few faces.el questions Juanma Barranquero
2007-01-31 18:43 ` 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

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).