all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: a dark theme?
Date: Fri, 18 Jul 2014 22:37:30 +0200	[thread overview]
Message-ID: <87oawme73p.fsf@debian.uxu> (raw)
In-Reply-To: mailman.5624.1405691179.1147.help-gnu-emacs@gnu.org

Tassilo Horn <tsdh@gnu.org> writes:

> I just grepped the sources.  Emacs has 803 faces only
> in its core and built-in packages.  So a really
> complete theme might require some work.

Yeah, completeness for completeness sake is silly
anyway. But perhaps when you invoke a theme it could
call a defun that would "reset" Emacs to an
unconfigured state, in terms of faces, otherwise the
result of applying the theme is unpredictable with
respect to... at least details, in the "face" of
previous configs and themes applied.

Come to think of it, I always said themes weren't
creative but perhaps I underestimate people, this
"incompleteness feature" of themes makes it possible to
combine them...

> (But it's a common and good practice to derive all
> faces for a package from the standard emacs-core
> font-lock faces, so changing those will also change the
> appearance of the derived ones.)

You mean like this?

(defgroup fpscalc nil
  "The `fpscalc' mode."
  :group 'local)

(defgroup fpscalc-faces nil
  "The faces used by the `fpscalc' major mode."
  :group 'fpscalc
  :group 'faces)

(defface fpscalc-program-parts
  '((t :inherit font-lock-keyword-face :foreground "magenta" :bold t))
  "The words declarations, initialise, semaphores, and formulas."
  )

-- 
underground experts united


  parent reply	other threads:[~2014-07-18 20:37 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-16 18:53 a dark theme? Sharon Kimble
2014-07-16 19:53 ` Allan Streib
     [not found] ` <mailman.5517.1405540466.1147.help-gnu-emacs@gnu.org>
2014-07-16 20:36   ` Emanuel Berg
2014-07-17  2:14 ` Sujith Manoharan
2014-07-17  7:24 ` Tassilo Horn
2014-07-17 12:35   ` Sharon Kimble
     [not found] ` <mailman.5546.1405582006.1147.help-gnu-emacs@gnu.org>
2014-07-17 13:22   ` Emanuel Berg
2014-07-17 15:27     ` Sauli Heinola
     [not found]     ` <mailman.5564.1405611025.1147.help-gnu-emacs@gnu.org>
2014-07-17 23:02       ` Emanuel Berg
2014-07-18 13:44         ` Tassilo Horn
     [not found]         ` <mailman.5624.1405691179.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:37           ` Emanuel Berg [this message]
2014-07-17 15:08 ` Suvayu Ali
     [not found] <mailman.5512.1405536842.1147.help-gnu-emacs@gnu.org>
2014-07-16 20:32 ` Emanuel Berg
2014-07-17  1:00   ` Sharon Kimble
2014-07-17  6:38     ` Glyn Millington
     [not found]     ` <mailman.5544.1405580673.1147.help-gnu-emacs@gnu.org>
2014-07-17 13:20       ` Emanuel Berg
2014-07-17 13:47         ` Glyn Millington
     [not found]   ` <mailman.5534.1405558868.1147.help-gnu-emacs@gnu.org>
2014-07-17  1:18     ` Emanuel Berg
2014-07-17  5:10       ` Sharon Kimble
2014-07-17 12:30         ` Robert Thorpe
2014-07-17 16:21           ` Sharon Kimble
     [not found]           ` <mailman.5565.1405614093.1147.help-gnu-emacs@gnu.org>
2014-07-17 22:19             ` Emanuel Berg
2014-07-18  0:49               ` Sharon Kimble
     [not found]               ` <mailman.5581.1405644617.1147.help-gnu-emacs@gnu.org>
2014-07-18  1:08                 ` Emanuel Berg
2014-07-18  3:57                   ` Sharon Kimble
2014-07-18 13:39                     ` Tassilo Horn
     [not found]                     ` <mailman.5622.1405690890.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:29                       ` Emanuel Berg
2014-07-21 17:26                         ` Tassilo Horn
     [not found]                         ` <mailman.5827.1405963747.1147.help-gnu-emacs@gnu.org>
2014-07-21 22:15                           ` Emanuel Berg
2014-07-23 12:34                             ` Tassilo Horn
     [not found]                             ` <mailman.5896.1406119000.1147.help-gnu-emacs@gnu.org>
2014-07-23 14:31                               ` Emanuel Berg
2014-07-21 22:31                           ` Emanuel Berg
2014-07-18  6:36                   ` Alan Schmitt
     [not found]                   ` <mailman.5586.1405655879.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:19                     ` Emanuel Berg
     [not found]                   ` <mailman.5597.1405665401.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:23                     ` Emanuel Berg
2014-07-18 13:33               ` Tassilo Horn
2014-07-18 16:47                 ` Sharon Kimble
2014-07-19  8:29                   ` Tassilo Horn
     [not found]                 ` <mailman.5633.1405702041.1147.help-gnu-emacs@gnu.org>
2014-07-18 20:30                   ` Emanuel Berg
     [not found]       ` <mailman.5543.1405573869.1147.help-gnu-emacs@gnu.org>
2014-07-17 13:08         ` Emanuel Berg

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oawme73p.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@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 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.