From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: a dark theme? Date: Fri, 18 Jul 2014 22:37:30 +0200 Organization: Aioe.org NNTP Server Message-ID: <87oawme73p.fsf@debian.uxu> References: <87fvi1yw28.fsf@skimble.plus.com> <871ttkyvat.fsf@debian.uxu> <87bnsn612g.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405716028 25231 80.91.229.3 (18 Jul 2014 20:40:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jul 2014 20:40:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 18 22:40:21 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X8Ex2-0004zQ-MC for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Jul 2014 22:40:20 +0200 Original-Received: from localhost ([::1]:51675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8Ex2-0001GY-4Y for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Jul 2014 16:40:20 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: SIvZRMPqRkkTHAHL6NkRuw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:JAv1sbR+Y5h/mHYeIKEuk7bUEEg= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:206482 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98754 Archived-At: Tassilo Horn 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