help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colored fonts in batch mode


From: Carsten Dominik
Subject: Re: colored fonts in batch mode
Date: Thu, 08 May 2008 14:23:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (darwin)

Jason Rumney <address@hidden> writes:

> On May 8, 10:15 am, Carsten Dominik <address@hidden> wrote:
>
>> 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.
>
> Try putting the following in a file (batch-color.el) and loading it as
> the first part of your batch operation:
>
> (set-frame-parameter nil 'display-type 'color)
> (defun display-color-cells (&optional display)
>   "Fake hicolor display"
>   65536)

Hmmm, I see where you are heading.  However, in batch mode,
set-frame-parameter does not seem to be defined as a function....  Also
a (require 'frame) does not seem to help.

Any further ideas?

Thanks!

- Carsten



reply via email to

[Prev in Thread] Current Thread [Next in Thread]