[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (error "Window system frame should be used")
From: |
Lars Brinkhoff |
Subject: |
Re: (error "Window system frame should be used") |
Date: |
Fri, 21 Apr 2017 10:44:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Eli Zaretskii wrote:
>> I'm noting that "emacs -nw" can make a graphical frame, but "emacs
>> -batch" can not.
> "emacs -nw" can _display_ a GUI frame. In batch sessions, we don't
> display anything, because it's a non-interactive invocation. Batch
> sessions have a frame of a special type, which is neither a TTY frame
> nor a GUI frame.
It's interesting to try. In non-interactive mode, `make-frame' crashes
with "I/O possible" (receiving a SIGIO I guess) when making a GUI frame,
and segmentation fault when making a TTY frame.
I.e.
emacs -batch -eval "(make-frame '((display . \":0\")))"
emacs -batch -eval "(make-frame '((tty-type . \"xterm\")))"
- (error "Window system frame should be used"), Lars Ingebrigtsen, 2017/04/20
- Re: (error "Window system frame should be used"), Lars Ingebrigtsen, 2017/04/20
- Re: (error "Window system frame should be used"), Lars Brinkhoff, 2017/04/21
- Re: (error "Window system frame should be used"), Lars Brinkhoff, 2017/04/21
- Re: (error "Window system frame should be used"), Eli Zaretskii, 2017/04/21
- Re: (error "Window system frame should be used"),
Lars Brinkhoff <=
- Re: (error "Window system frame should be used"), Eli Zaretskii, 2017/04/21
- Re: (error "Window system frame should be used"), Lars Ingebrigtsen, 2017/04/21