[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: face-remapping patch
From: |
David Reitter |
Subject: |
Re: face-remapping patch |
Date: |
Wed, 28 May 2008 15:33:48 +0100 |
On 28 May 2008, at 14:21, Miles Bader wrote:
David Reitter <address@hidden> writes:
Okay, not to criticize your remapping, but just for the sake of
argument, here's a possible alternative:
How would user customization work?
I was looking at this from a programmer's point of view (who would
provide a package).
From a user's perspective, the local faces could be defined just like
local variables are set within files.
Ideally there would be a function to add all local faces (as a
comment) to the end of a buffer.
There should be a function called `customize-local-face'.
Well the implementation could certainly be improved, but adding
support
for non-global faces certainly won't simplify things!
Certainly not for Emacs, but for anyone using the API that you're
creating, buffer-local faces would be simple to understand and more
transparent than another extra variable that remaps some faces.
What would the user customization look like in that case?
E.g. when a user does M-x customize-face default, would they be
customizing the remapped (local) face or the global one?
- D
smime.p7s
Description: S/MIME cryptographic signature
- Re: face-remapping patch, (continued)
- Re: face-remapping patch, Stefan Monnier, 2008/05/27
- Re: face-remapping patch, Miles Bader, 2008/05/27
- Re: face-remapping patch, David Reitter, 2008/05/28
- Re: face-remapping patch, Miles Bader, 2008/05/28
- Re: face-remapping patch, Miles Bader, 2008/05/28
- Re: face-remapping patch, David Kastrup, 2008/05/28
- Re: face-remapping patch, Miles Bader, 2008/05/28
- Re: face-remapping patch, David Kastrup, 2008/05/28
- Re: face-remapping patch, David Reitter, 2008/05/28
- Re: face-remapping patch, Miles Bader, 2008/05/28
- Re: face-remapping patch,
David Reitter <=
- Face realization (was: face-remapping patch), Stefan Monnier, 2008/05/28
- Re: Face realization (was: face-remapping patch), David Reitter, 2008/05/28
- Re: Face realization, Stefan Monnier, 2008/05/29
- Re: face-remapping patch, Stefan Monnier, 2008/05/28
- Re: face-remapping patch, David Kastrup, 2008/05/28
- Re: face-remapping patch, David Kastrup, 2008/05/28
- Re: face-remapping patch, tomas, 2008/05/29
- Re: face-remapping patch, Stephen J. Turnbull, 2008/05/29
- Re: face-remapping patch, David Kastrup, 2008/05/29
- Re: face-remapping patch, Stephen J. Turnbull, 2008/05/30