From: Jason Rumney <jasonrumney@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: colored fonts in batch mode
Date: Thu, 8 May 2008 04:22:47 -0700 (PDT) [thread overview]
Message-ID: <3eae7850-9fe0-413f-8e42-169ebf129ec6@k13g2000hse.googlegroups.com> (raw)
In-Reply-To: m2skwtf96d.fsf@nb-dominik2.science.uva.nl
On May 8, 10:15 am, Carsten Dominik <domi...@science.uva.nl> 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)
next prev parent reply other threads:[~2008-05-08 11:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 9:15 colored fonts in batch mode Carsten Dominik
2008-05-08 11:22 ` Jason Rumney [this message]
2008-05-08 12:23 ` Carsten Dominik
2008-05-08 14:18 ` Eli Zaretskii
[not found] ` <mailman.11327.1210256313.18990.help-gnu-emacs@gnu.org>
2008-05-08 15:42 ` Dan Espen
2008-05-09 13:45 ` Carsten Dominik
2008-05-08 15:45 ` Jason Rumney
2008-05-08 16:02 ` Johan Bockgård
2008-05-09 13:46 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3eae7850-9fe0-413f-8e42-169ebf129ec6@k13g2000hse.googlegroups.com \
--to=jasonrumney@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.