From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aneesh Kumar K. V" Newsgroups: gmane.emacs.devel Subject: Re: customize-face with default and diff-added Date: Sun, 17 Oct 2010 22:42:15 +0530 Message-ID: References: <87aamijcts.fsf@stupidchicken.com> <8762x2ndm5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287335567 4643 80.91.229.12 (17 Oct 2010 17:12:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 17 Oct 2010 17:12:47 +0000 (UTC) Cc: Emacs development discussions To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 17 19:12:46 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P7Wmr-0004Kx-Om for ged-emacs-devel@m.gmane.org; Sun, 17 Oct 2010 19:12:46 +0200 Original-Received: from localhost ([127.0.0.1]:45210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7Wmr-0000TC-3P for ged-emacs-devel@m.gmane.org; Sun, 17 Oct 2010 13:12:45 -0400 Original-Received: from [140.186.70.92] (port=58576 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7Wmk-0000Qz-Rr for emacs-devel@gnu.org; Sun, 17 Oct 2010 13:12:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7Wmj-0007El-Oq for emacs-devel@gnu.org; Sun, 17 Oct 2010 13:12:38 -0400 Original-Received: from e23smtp01.au.ibm.com ([202.81.31.143]:55476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7Wmj-0007DZ-8H for emacs-devel@gnu.org; Sun, 17 Oct 2010 13:12:37 -0400 Original-Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246]) by e23smtp01.au.ibm.com (8.14.4/8.13.1) with ESMTP id o9HH9IqP021655 for ; Mon, 18 Oct 2010 04:09:18 +1100 Original-Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9HHCOFm2547834 for ; Mon, 18 Oct 2010 04:12:24 +1100 Original-Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9HHCNNc028782 for ; Mon, 18 Oct 2010 04:12:23 +1100 Original-Received: from skywalker.linux.vnet.ibm.com ([9.124.212.153]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o9HHCHiX028675; Mon, 18 Oct 2010 04:12:20 +1100 In-Reply-To: <8762x2ndm5.fsf@stupidchicken.com> User-Agent: Notmuch/0.3.1-90-g8071c5c (http://notmuchmail.org) Emacs/24.0.50.1 (i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131783 Archived-At: On Sat, 16 Oct 2010 15:26:10 -0400, Chong Yidong wrote: > "Aneesh Kumar K. V" writes: > > > ... > > > > I started with the above .emacs and enabled diff-mode and changed the > > diff-added face. That result in the default face details to be removed > > from the custom-set-faces above. The resulting .emacs was > > > > (custom-set-faces > > ;; custom-set-faces was added by Custom. > > ;; If you edit it by hand, you could mess it up, so be careful. > > ;; Your init file should contain only one such instance. > > ;; If there is more than one, they won't work right. > > '(diff-added ((t (:inherit diff-changed :foreground "red"))))) > > I'm afraid I can't reproduce the problem. Are you still seeing it? > This may have been a transient bug during the recent Custom changes. I am not able to reproduce the problem now. -aneesh