emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (featurep 'multi-tty) => t on Windows


From: Juanma Barranquero
Subject: Re: (featurep 'multi-tty) => t on Windows
Date: Fri, 12 Dec 2008 13:14:41 +0100

On Fri, Dec 12, 2008 at 13:01, Eli Zaretskii <address@hidden> wrote:

> Code that assumes such a possibility without testing for (featurep 'x)
> (or something similar for Windows) is buggy and should be fixed.  One
> can build Emacs --without-x, in which case it cannot have both tty and
> GUI frames.  But such an Emacs is still multi-tty, since it can have
> multiple tty frames.

Perhaps the multi-tty feature should have subfeatures, like
`make-network-process'; they would be computed at runtime, and would
say whether the running instance supports multiple ttys, mixed tty/GUI
frames, etc.

> I think the situation on Windows is worse: there are some multi-tty
> primitives that simply crash or cause Emacs to throw a signal.  I
> think you discovered that while testing the latest changes in
> emacsclient.  Or does my faulty memory fail me again?

Your memory is sound: "Bug#1325: make-terminal-frame causes assertion
failure on Windows"

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1325

> When I worked on reviving the DOS port, I actively tried to break it
> by using multi-tty primitives, but any use-case that can be reproduced
> on DOS either worked or silently did nothing.  That is why I didn't
> bother to revoke the multi-tty feature in the DOS port.

Understood.

Thanks,

    Juanma




reply via email to

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