From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: (error "Window system frame should be used") Date: Fri, 21 Apr 2017 19:18:39 +0200 Message-ID: References: <86wpaenxbo.fsf@molnjunk.nocrew.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492795141 18178 195.159.176.226 (21 Apr 2017 17:19:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2017 17:19:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Brinkhoff Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 21 19:18:58 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1cCv-0004aK-7k for ged-emacs-devel@m.gmane.org; Fri, 21 Apr 2017 19:18:57 +0200 Original-Received: from localhost ([::1]:60700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1cD1-0001c0-5B for ged-emacs-devel@m.gmane.org; Fri, 21 Apr 2017 13:19:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1cCs-0001bQ-LH for emacs-devel@gnu.org; Fri, 21 Apr 2017 13:18:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1cCn-0000Ru-Np for emacs-devel@gnu.org; Fri, 21 Apr 2017 13:18:54 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:36720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1cCn-0000Nq-HS for emacs-devel@gnu.org; Fri, 21 Apr 2017 13:18:49 -0400 Original-Received: from cm-84.213.17.174.getinternet.no ([84.213.17.174] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1d1cCd-0007vs-S4; Fri, 21 Apr 2017 19:18:41 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEWudEAcExCQWDnDi1fl xqNPMCRpPSl9Ry/BG5A+AAACUklEQVQ4jW3UzXLbIBAAYCq38bW4g3yl+EdXjeU414zFC8ieRXcl wFWhFbx+FyS1tlNmcslndrXsAjFGQ1yWk6qqyL9ljEnQ8cU9qBHU/yAGU44g1DcAJgVDqO5BG2MR TITjLeDvPcZSn0CblCSBfNgRk1i3SFBmbgabZIKqLEJPugg2+AhOTBAEKe0IKCGIGUTByz5CwAU2 FFj4McG+KwdejmBsEDP0hTvR1bTDBncLX6haJPC+dXMoIgq7o5dxR2PysOfk4zvWIbzphobFOhBU PgS+p0y+DpQC/lGSYeUBQhtCn2kNS6CUNQg8HonXsHb7PnsRVCNQNkPDmtzb/mlnaBuBNpSNQBv2 nvXLBqjVEYCunUCA1Zpta37aPefV6WeKNcL1ethIWdeLjMv6G0LbWCGw52Ir79drPCICGPEBzjrt AJrLx/UqQpwrZUBhBSzHlry8CXGQ5xCIC2KLDfEDzdkPoSFnK2hLUGSTiYzjmWr8yotJBdLnFQD5 hYBn+QQKqCqaBCc2w6IStsAJ9hAPKveUAXECPw2bxE/Qgddpy+4WcFMwesyB+doZsK84bFPyjxwu JPwFWWXDCKqGK4mzRsgyQl0OgDlYJ88J8IgJbBAwGFbIwB7P8E7STGUj1OUTdk93/AV+j7B821Tx 8KoMM9h1odkxgcjMBIuYIw9afSVp0oWaYIOtZXFqxQT7OKBSloVvRnB4o2IskgqRB5wx1k6QtnC8 5PhVy/iuqBmmS4BQepjAu9jakO4TvgvL6SEK3ooIeA3Tm1SO/wfljSj+AOB7B2AknHGHAAAAAElF TkSuQmCC In-Reply-To: <86wpaenxbo.fsf@molnjunk.nocrew.org> (Lars Brinkhoff's message of "Fri, 21 Apr 2017 07:28:43 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:214194 Archived-At: Lars Brinkhoff writes: > Lars Ingebrigtsen wrote: >> Hm. Is there no way to create a headless Emacs that has window-system >> frames? It seems kinda unlikely that we don't have a way to test these >> things? > > I'm wildly guessing it shouldn't be impossible to create a > stub/shim/mock window system that's available in batch mode. > > If someone were interested in looking into this, how would they > reproduce your error? Let's see... I think this is a pretty minimal test case: [larsi@stories ~]$ emacs -batch --eval "(progn (require 'svg) (image-size (svg-image (svg-create 50 50))))" Window system frame should be used -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no