From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: (featurep 'multi-tty) => t on Windows Date: Fri, 12 Dec 2008 13:14:41 +0100 Message-ID: References: <610112.22856.qm@web83202.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229084107 6971 80.91.229.12 (12 Dec 2008 12:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 12:15:07 +0000 (UTC) Cc: cyd@stupidchicken.com, pandyacus@sbcglobal.net, emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 13:16:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LB6wC-0004VK-GJ for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2008 13:16:08 +0100 Original-Received: from localhost ([127.0.0.1]:54066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB6v0-0001hE-Ol for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2008 07:14:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB6ut-0001h1-7K for emacs-devel@gnu.org; Fri, 12 Dec 2008 07:14:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB6us-0001gn-Hk for emacs-devel@gnu.org; Fri, 12 Dec 2008 07:14:46 -0500 Original-Received: from [199.232.76.173] (port=60395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB6ur-0001gk-Ta for emacs-devel@gnu.org; Fri, 12 Dec 2008 07:14:46 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.158]:40555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LB6uo-000785-3M; Fri, 12 Dec 2008 07:14:42 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 9so663863ywk.66 for ; Fri, 12 Dec 2008 04:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=g7G2+UZmo5NoI7TU+ZhxvOikj5htXea113mEJIAC4AM=; b=SnApg9MMMpIiXqEV5HvLkRRenmmHg5E/Xxhymuo0gUU2fY9SCeO9dts4nWJzKfOt5H 0DjMk5EqzVTOo4PqWva+uzpIsFynS1kjh2vwXqAgwPyWYjPmC8fX6G76GnQjeYaotlbY fBAUwFKpRHbfY7oOt3Rhi1ALFdIAKzmrnipnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TJlddA3Ey/WOXAVV4HopLJNfe5n8S/bkSJzV5i5SNjM2D4SFpxsMYuMl01yobLnCn9 QASc1nnmPMLLWXHK2ZRpzHvZxgcEgUxnicPO1kjJkX7qyGQwNla21I7t33t93sL4UUHG D+qQCypoZJ97W+dKB7U+l0LIrLviS3GJxq12Q= Original-Received: by 10.100.248.9 with SMTP id v9mr2779223anh.115.1229084081473; Fri, 12 Dec 2008 04:14:41 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Fri, 12 Dec 2008 04:14:41 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106840 Archived-At: On Fri, Dec 12, 2008 at 13:01, Eli Zaretskii 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