unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Michael Welsh Duggan <md5i@cs.cmu.edu>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: Simplification of faces
Date: Mon, 08 Oct 2007 21:14:39 -0400	[thread overview]
Message-ID: <E1If3gF-0003mS-Le@fencepost.gnu.org> (raw)
In-Reply-To: <87ejg63hit.fsf@maru.md5i.com> (message from Michael Welsh Duggan on Sun, 07 Oct 2007 14:29:30 -0400)

    I am looking at `face-attribute', and it looks like it would be easy
    enough to rewrite `set-face-attribute' to use `face-spec-set' and
    `face-attribute' instead of the current
    `set-face-attribute-internal'.  Would this be a reasonable change?

Please give it a try.  To work properly, it will need to find
the spec that was used last, alter it, and specify that one.

It might be easier if we extend the kinds of specs that are possible.
Right now a spec can specify attributes for a particular kind of
screen, and it can specify default attributes that come after those.
If we extend the format of a face spec so that it can have
high-priority overriding attributes, which come before all the rest,
then `set-face-attribute' could work by changing those high-priority
overriding attributes in the spec.

What do people think about that?

      reply	other threads:[~2007-10-09  1:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=E1If3gF-0003mS-Le@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=md5i@cs.cmu.edu \
    /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).