unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: Simplification of faces
Date: Sun, 30 Sep 2007 08:54:59 -0400	[thread overview]
Message-ID: <E1IbyK3-0005Du-11@fencepost.gnu.org> (raw)

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?

             reply	other threads:[~2007-09-30 12:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-30 12:54 Richard Stallman [this message]
2007-09-30 15:25 ` Simplification of faces 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

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=E1IbyK3-0005Du-11@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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).