emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]