unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Simplification of faces
@ 2007-09-30 12:54 Richard Stallman
  2007-09-30 15:25 ` Jason Rumney
  2007-09-30 23:53 ` Drew Adams
  0 siblings, 2 replies; 14+ messages in thread
From: Richard Stallman @ 2007-09-30 12:54 UTC (permalink / raw)
  To: emacs-devel

I am thinking of essentially eliminating the face attributes as a way
to control what a face looks like.  Programs would use only `defface'
and `face-spec-set'.

In addition, a spec given in `face-spec-set' would totally replace
whatever spec was previously given for the same face using the
`defface' or `face-spec-set'.  Thus, the appearance information for a
face would consist of a single Lisp datum, plus X resources.
(Inheritance from other faces would still occur.)

I've checked all the uses of `face-spec-set' outside of custom and
faces.el.  It seems they would not need to be changed.

However, this would require rewriting the code that calls
`set-face-attribute' and the older functions such as
`set-face-foreground' that set single attributes.  There are only
about 8 packages in Emacs which do so, so it would not be a big job.
However, there may be some other programs that users use which still
rely on this feature.

What do people think?

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

end of thread, other threads:[~2007-10-09  1:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30 12:54 Simplification of faces Richard Stallman
2007-09-30 15:25 ` Jason Rumney
2007-10-01 17:41   ` Richard Stallman
2007-09-30 23:53 ` Drew Adams
2007-10-01 17:40   ` Richard Stallman
2007-10-01 18:18     ` Drew Adams
2007-10-02  3:32       ` Richard Stallman
2007-10-02 15:05         ` Drew Adams
2007-10-02 22:00           ` Richard Stallman
2007-10-04 16:47             ` Drew Adams
2007-10-05 16:14               ` Richard Stallman
2007-10-05 16:25                 ` Drew Adams
2007-10-07 18:29             ` Michael Welsh Duggan
2007-10-09  1:14               ` 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).