From: Miles Bader <miles@lsi.nec.co.jp>
Cc: monnier+gnu/emacs@rum.cs.yale.edu, epameinondas@gmx.de,
emacs-devel@gnu.org
Subject: Re: [patch] XPM in gamegrid.el
Date: 08 Jul 2002 10:34:50 +0900 [thread overview]
Message-ID: <buo4rfb2e9x.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <200207062331.g66NVo010527@aztec.santafe.edu>
For making faces buffer-local, I think it would be nice if we could
somehow use emacs' variable mechanism, since it already allows both
buffer-local and frame-local values, and is fairly featureful and
familiar to developers.
One suggestion I made a while ago would be to have face names be global,
but to allow a remapping step via a variable, which the programmer could
use to select a different face, for instance, if it were an alist
[maybe a hash-table etc would also be good], you might do:
(setq face-remappings '((default . my-buffer-default)))
to give your buffer a different default face.
I remember when I suggested this idea before, Gerd didn't like it, but
unfortunately, I don't remember his reasons; does anyone else?
-Miles
--
Occam's razor split hairs so well, I bought the whole argument!
next prev parent reply other threads:[~2002-07-08 1:34 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 14:01 [patch] XPM in gamegrid.el Oliver Scholz
2002-07-02 19:46 ` Richard Stallman
2002-07-03 12:39 ` Oliver Scholz
2002-07-04 18:24 ` Richard Stallman
2002-07-04 19:10 ` Stefan Monnier
2002-07-04 23:29 ` Miles Bader
2002-07-05 10:59 ` Per Abrahamsen
2002-07-06 10:01 ` Richard Stallman
2002-07-05 22:05 ` Richard Stallman
2002-07-05 23:30 ` Miles Bader
2002-07-06 3:49 ` Miles Bader
2002-07-06 23:32 ` Richard Stallman
2002-07-06 23:31 ` Richard Stallman
2002-07-08 1:28 ` Miles Bader
2002-07-09 1:44 ` Richard Stallman
2002-07-09 3:36 ` Miles Bader
2002-07-08 1:34 ` Miles Bader [this message]
2002-07-05 8:08 ` epameinondas
2002-07-05 8:50 ` John Paul Wallington
2002-07-05 8:51 ` Miles Bader
2002-07-05 11:32 ` Oliver Scholz
2002-07-04 18: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=buo4rfb2e9x.fsf@mcspd15.ucom.lsi.nec.co.jp \
--to=miles@lsi.nec.co.jp \
--cc=emacs-devel@gnu.org \
--cc=epameinondas@gmx.de \
--cc=miles@gnu.org \
--cc=monnier+gnu/emacs@rum.cs.yale.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).