From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: UI tests Date: Thu, 12 Nov 2015 18:33:01 +0200 Message-ID: <83pozfi3eq.fsf@gnu.org> References: <87d1vpoees.fsf@russet.org.uk> <87r3k3igy1.fsf@russet.org.uk> <86io5ewbhg.fsf@stephe-leake.org> <8737wiyt75.fsf_-_@russet.org.uk> <87si4dsif4.fsf@cumego.com> <87oaf1wpkv.fsf@russet.org.uk> <876119sfa1.fsf@cumego.com> <87ziyk969x.fsf@russet.org.uk> <877flnpaw3.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1447346495 5075 80.91.229.3 (12 Nov 2015 16:41:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 16:41:35 +0000 (UTC) Cc: esperanto@cumego.com, stephen_leake@stephe-leake.org, rms@gnu.org, emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 17:41:27 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zwuw1-0004Cx-Le for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 17:41:17 +0100 Original-Received: from localhost ([::1]:47836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwuqz-0007vh-8q for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 11:36:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwuoM-0003TS-B5 for emacs-devel@gnu.org; Thu, 12 Nov 2015 11:33:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwuoH-0007cu-L0 for emacs-devel@gnu.org; Thu, 12 Nov 2015 11:33:22 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:60865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwuoH-0007bd-Dh; Thu, 12 Nov 2015 11:33:17 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NXP00J00N6E9000@mtaout25.012.net.il>; Thu, 12 Nov 2015 18:30:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXP00AO1N7EDE80@mtaout25.012.net.il>; Thu, 12 Nov 2015 18:30:50 +0200 (IST) In-reply-to: <877flnpaw3.fsf@russet.org.uk> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194247 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Date: Thu, 12 Nov 2015 14:09:32 +0000 > Cc: stephen_leake@stephe-leake.org, esperanto@cumego.com, emacs-devel@gnu.org > > 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.