* defface programmatically with less redundancy
@ 2013-07-21 4:17 Not To Miss
2013-07-21 17:24 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Not To Miss @ 2013-07-21 4:17 UTC (permalink / raw)
To: help-gnu-emacs
Hi Emacs users,
I asked a question about it on the stack overflow:
http://stackoverflow.com/questions/17768561/defface-with-less-redundancy
just in case someone in the mailing list know the answer...
Thanks,
Zech
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: defface programmatically with less redundancy
2013-07-21 4:17 defface programmatically with less redundancy Not To Miss
@ 2013-07-21 17:24 ` Drew Adams
2013-07-22 5:50 ` Not To Miss
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2013-07-21 17:24 UTC (permalink / raw)
To: Not To Miss, help-gnu-emacs
> http://stackoverflow.com/questions/17768561/defface-with-less-redundancy
make-face is not at all deprecated, AFAICT.
defface can make use of inheritance -- see face attribute :inherit. Dunno whether that helps in your particular context.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: defface programmatically with less redundancy
2013-07-21 17:24 ` Drew Adams
@ 2013-07-22 5:50 ` Not To Miss
0 siblings, 0 replies; 3+ messages in thread
From: Not To Miss @ 2013-07-22 5:50 UTC (permalink / raw)
To: Drew Adams; +Cc: help-gnu-emacs
Thanks, Drew. I saw you answers in stackoverflow too. For others' info,
defmacro is sweet to use in this case - another answer in stackoverflow.
On Sun, Jul 21, 2013 at 11:24 AM, Drew Adams <drew.adams@oracle.com> wrote:
> > http://stackoverflow.com/questions/17768561/defface-with-less-redundancy
>
> make-face is not at all deprecated, AFAICT.
>
> defface can make use of inheritance -- see face attribute :inherit. Dunno
> whether that helps in your particular context.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-22 5:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-21 4:17 defface programmatically with less redundancy Not To Miss
2013-07-21 17:24 ` Drew Adams
2013-07-22 5:50 ` Not To Miss
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.