From: Glenn Morris <rgm@gnu.org>
To: "Roland Winkler" <Roland.Winkler@physik.uni-erlangen.de>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: faces and face variables
Date: Sat, 13 Sep 2008 14:09:29 -0400 [thread overview]
Message-ID: <jtzlmbhq92.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <18635.58437.271555.722429@tfkp07.physik.uni-erlangen.de> (Roland Winkler's message of "Sat, 13 Sep 2008 18:03:17 +0200")
"Roland Winkler" wrote:
> dired.el defines both the faces it uses (like dired-header) and it has
> face variables like dired-header-face. Is this strategy still
> appropriate for new code? Or is it better to use the faces only?
E.g.
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01589.html
...variables pointing to faces are generally deprecated unless
maybe they're used in font-lock rules where avoiding the ' can be
marginally convenient.
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01660.html
Maybe we should work harder to document the fact that we do not
want such variables.
Echoing your suggestion.
> Font-lock also has such variables, and the code contains the comment
> that these variables
Don't use font-lock as an example, it's a law unto itself for
historical reasons.
next prev parent reply other threads:[~2008-09-13 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200809090636.m896acaT011007@sallyv1.ics.uci.edu>
[not found] ` <18630.36126.116571.102340@tfkp07.physik.uni-erlangen.de>
[not found] ` <200809091834.m89IYJrt004178@sallyv1.ics.uci.edu>
[not found] ` <18630.52279.410707.428217@tfkp07.physik.uni-erlangen.de>
[not found] ` <200809100554.m8A5sbLU020022@sallyv1.ics.uci.edu>
[not found] ` <18634.41341.360898.898779@tfkp07.physik.uni-erlangen.de>
[not found] ` <200809121750.m8CHoXar025729@sallyv1.ics.uci.edu>
[not found] ` <18634.45534.791696.614584@tfkp07.physik.uni-erlangen.de>
[not found] ` <200809130953.m8D9rEZC011379@sallyv1.ics.uci.edu>
2008-09-13 16:03 ` faces and face variables Roland Winkler
2008-09-13 18:09 ` Glenn Morris [this message]
2008-09-13 19:27 ` Roland Winkler
2008-09-13 22:43 ` Drew Adams
2008-09-14 17:02 ` Miles Bader
2008-09-14 19:04 ` Drew Adams
[not found] ` <18775.34703.848628.238267@tfkp04.physik.uni-erlangen.de>
2008-12-29 6:33 ` Proced's display/handling of process trees: request for feedback Roland Winkler
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=jtzlmbhq92.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=Roland.Winkler@physik.uni-erlangen.de \
--cc=dann@ics.uci.edu \
--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).