From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: custom-themes BAD? Date: Tue, 25 Feb 2014 09:45:20 -0800 (PST) Message-ID: <0eff6f35-c932-4857-9944-55850f832f36@default> References: <> <> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393350349 25712 80.91.229.3 (25 Feb 2014 17:45:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2014 17:45:49 +0000 (UTC) To: Joost Kremers , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 25 18:45:56 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 1WIM4m-0007vk-SV for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 18:45:52 +0100 Original-Received: from localhost ([::1]:36330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIM4m-00036h-Hg for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Feb 2014 12:45:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIM4U-00032s-7A for help-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:45:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIM4L-0004Mn-DG for help-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:45:34 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:38004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIM4L-0004MZ-1g for help-gnu-emacs@gnu.org; Tue, 25 Feb 2014 12:45:25 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1PHjLNH010525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 Feb 2014 17:45:22 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1PHjLdr027136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Feb 2014 17:45:21 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1PHjLOU027131; Tue, 25 Feb 2014 17:45:21 GMT In-Reply-To: <> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:96196 Archived-At: > > All the packages should be using font-lock-* faces as far as > > possible. Then the themes can all set the same set of faces > > much more easily. >=20 > Better yet, packages should define their own faces but use the :inherit > property to derive them from Emacs' standard faces. That way, users can > customize faces in some mode/package and use the default ones in others, > if they prefer. Exactly. And it's not just "better *yet*", as if the first suggestion itself represented some improvement but not the best improvement. The first approach is generally misguided, IMO. It is simply not the case that "all packages should be using font-lock-* faces as far as possible." That is bad advice, IMO. Package designers should use their heads, keeping the package users foremost in mind. I also wonder about this part: > > Then the themes can all set the same set of faces much more > > easily. Why should I care how easy it is for "themes to set" the same set of faces? What I care about is how easy it is for users to customize a set of faces. And for users of themes to control them. Now if it is the case that custom themes are "BAD", in that there is no easy way to customize a set of faces across multiple themes, then that would be something missing in the design of custom themes. That would not surprise me, but I'm no expert on custom themes.