[Top][All Lists]

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

Re: UI tests

From: Eli Zaretskii
Subject: Re: UI tests
Date: Thu, 12 Nov 2015 18:33:01 +0200

> From: address@hidden (Phillip Lord)
> Date: Thu, 12 Nov 2015 14:09:32 +0000
> Cc: address@hidden, address@hidden, address@hidden
> One additional problem, though, is that Emacs doesn't really have a
> concept of "headless". Things like syntax highlighting in buffers just
> work different when running in batch, because Emacs assumes it's running
> on a TTY. For example, HTML generated by htmlize comes out differently
> in batch, than from a windowed Emacs, because Emacs in batch cannot
> display colour.

Most GUI APIs (like Xlib etc.) won't work without a real display and a
window (a.k.a. "frame"), so if we want a "headless" Emacs that will
work as with GUI frames, we will have to emulate all those calls.  Not
for a faint at heart, I'd say.

reply via email to

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