From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Dominik Newsgroups: gmane.emacs.help Subject: Re: colored fonts in batch mode Date: Fri, 09 May 2008 15:46:12 +0200 Organization: Faculty of Science, University of Amsterdam Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1210344098 18964 80.91.229.12 (9 May 2008 14:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 May 2008 14:41:38 +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 May 09 16:42:14 2008 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 1JuTnP-000391-Rb for geh-help-gnu-emacs@m.gmane.org; Fri, 09 May 2008 16:42:03 +0200 Original-Received: from localhost ([127.0.0.1]:54021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuTmh-0006aS-Jr for geh-help-gnu-emacs@m.gmane.org; Fri, 09 May 2008 10:41:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!xs4all!news.wiretrip.org!border1.nntp.ams.giganews.com!nntp.giganews.com!tudelft.nl!binfeed1.tudelft.nl!usenet.uva.nl!news.science.uva.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-Distribution: world Original-NNTP-Posting-Host: nb-dominik2.science.uva.nl Original-X-Trace: info.science.uva.nl 1210340772 19945 146.50.22.167 (9 May 2008 13:46:12 GMT) Original-X-Complaints-To: usenet@science.uva.nl Original-NNTP-Posting-Date: Fri, 9 May 2008 13:46:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin) Cancel-Lock: sha1:w5fImIU3C/U3E437DmzmCUunQTU= Original-Xref: shelby.stanford.edu gnu.emacs.help:158485 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:53850 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > Carsten Dominik writes: > >> This works great in interactive work, when I actually have a window >> system running. However, in batch mode, Emacs seems to think that it >> is displaying on a black-and-white device, so the fontification is >> much poorer in this case. > > The easiest may be to define the faces explicitly: > > (set-face-attribute 'default nil :foreground "white" :background "blue") > ;; etc. Yes. I ended up doing something in this direction, but differently. See my other post. Thanks. - Carsten