all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Lars Brinkhoff <lars@nocrew.org>
Cc: emacs-devel@gnu.org
Subject: Re: (error "Window system frame should be used")
Date: Fri, 21 Apr 2017 19:18:39 +0200	[thread overview]
Message-ID: <m3y3ut1xxs.fsf@stories> (raw)
In-Reply-To: <86wpaenxbo.fsf@molnjunk.nocrew.org> (Lars Brinkhoff's message of "Fri, 21 Apr 2017 07:28:43 +0200")

Lars Brinkhoff <lars@nocrew.org> 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



      parent reply	other threads:[~2017-04-21 17:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-20 21:34 (error "Window system frame should be used") Lars Ingebrigtsen
2017-04-20 21:49 ` Lars Ingebrigtsen
2017-04-20 22:50   ` Lars Ingebrigtsen
2017-04-20 23:22     ` Clément Pit-Claudel
2017-04-21  3:47     ` Eli Zaretskii
2017-04-21 13:22       ` Stefan Monnier
2017-04-21 13:34         ` Eli Zaretskii
2017-04-21  5:28     ` Lars Brinkhoff
2017-04-21  7:45       ` Lars Brinkhoff
2017-04-21  8:09         ` Eli Zaretskii
2017-04-21  8:44           ` Lars Brinkhoff
2017-04-21 10:51             ` Eli Zaretskii
2017-04-21 17:18       ` Lars Ingebrigtsen [this message]

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=m3y3ut1xxs.fsf@stories \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=lars@nocrew.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.