From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Burton Newsgroups: gmane.emacs.help Subject: Re: Copying the colours used by one major mode to another Date: Tue, 30 Jun 2009 09:55:07 +0100 Organization: A noiseless patient Spider Message-ID: <85r5x22j9w.fsf@brighton.ac.uk> References: <85prcnjdy5.fsf@brighton.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1246420477 14867 80.91.229.12 (1 Jul 2009 03:54:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 03:54:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 01 05:54:30 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLqty-0001zP-At for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2009 05:54:30 +0200 Original-Received: from localhost ([127.0.0.1]:44630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLqtx-0007sG-TQ for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 23:54:29 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!feeder.erje.net!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: news.eternal-september.org U2FsdGVkX1/lqMVLABSmDcxYixYnj1FdS0LWrDkAL+QbenFmpXuv5LE0Lbc/wk5w5Ajf6oZTe/6QZteVWmB7JIiW9q2sAkWyzCrwi0BFle2LzWj18ydMsvaI+3CKwZoFdr/JJkFSBELEeieR5eXP6A== Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Tue, 30 Jun 2009 08:58:07 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/lqgR03DrMNMBFnWLAhSNDaL8Ztx8tbr8= Cancel-Lock: sha1:gHGp6/KHc5xq+piQpyY9H3u73e8= sha1:OtvI+l3ECrcU7PK7adBBjYXLlz8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:170461 X-Mailman-Approved-At: Tue, 30 Jun 2009 23:51:48 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65684 Archived-At: Lennart Borgman writes: > On Mon, Jun 29, 2009 at 4:45 PM, Jim Burton wrote: >> Hi, I want to customize one major mode to use the same colours as >> another. Both of these modes are for editing source code (Agda and >> Haskell, respectively), the second mode being much more readable with >> dark themes. I want to do this locally, i.e. in ~/.emacs, and hoped >> there was an easy way to do it without copying lots of properties by >> hand. Is there an easy way to do this?  What are the hard ways? > > The default font lock faces are supposed to be readable. Perhaps the > best would be to contact the Agda mode author and ask if he/she want > to use the default font lock fonts? > > Thanks Lennart, I'll do that. -- Jim Burton