[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (error "Window system frame should be used")
From: |
Eli Zaretskii |
Subject: |
Re: (error "Window system frame should be used") |
Date: |
Fri, 21 Apr 2017 13:51:47 +0300 |
> From: Lars Brinkhoff <address@hidden>
> Date: Fri, 21 Apr 2017 10:44:04 +0200
>
> Eli Zaretskii wrote:
> > "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.
"Interesting" as in that Chinese curse? ;-)
> 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.
It won't work without some non-trivial refactoring. And even after
that, some pretty basic stuff will never work.
> emacs -batch -eval "(make-frame '((display . \":0\")))"
> emacs -batch -eval "(make-frame '((tty-type . \"xterm\")))"
The last one doesn't need to crash. Try
emacs -batch -eval "(make-terminal-frame '(()))"
Here, it exits with an error message.
- Re: (error "Window system frame should be used"), (continued)
- Re: (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"), Clément Pit-Claudel, 2017/04/20
- Re: (error "Window system frame should be used"), Eli Zaretskii, 2017/04/20
- Re: (error "Window system frame should be used"), Stefan Monnier, 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, 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, 2017/04/21
- Re: (error "Window system frame should be used"),
Eli Zaretskii <=
- Re: (error "Window system frame should be used"), Lars Ingebrigtsen, 2017/04/21