From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: support for tty frames from windowed emacs session Date: Tue, 11 Mar 2003 13:35:28 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <15977.15192.682739.618251@groovy.cassandra.org> <5x3clx4iow.fsf@kfs2.cua.dk> <874r6dld1c.fsf@gnu.org> <5x65qs5yhg.fsf@kfs2.cua.dk> <3759-Mon10Mar2003062816+0200-eliz@elta.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047408021 1369 80.91.224.249 (11 Mar 2003 18:40:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 18:40:21 +0000 (UTC) Cc: storm@cua.dk Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 11 19:40:14 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18sodp-0008WT-00 for ; Tue, 11 Mar 2003 19:38:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18sp0h-0002id-00 for ; Tue, 11 Mar 2003 20:01:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sodm-0001Ye-07 for emacs-devel@quimby.gnus.org; Tue, 11 Mar 2003 13:38:18 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18sodX-0001Ud-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 13:38:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18sobn-0000MU-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 13:36:16 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sobB-0000Jx-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 13:35:37 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18sob2-0006nm-00; Tue, 11 Mar 2003 13:35:28 -0500 Original-To: Eli Zaretskii In-reply-to: <3759-Mon10Mar2003062816+0200-eliz@elta.co.il> Original-cc: arc@cassandra.org Original-cc: emacs-devel@gnu.org Original-cc: alex@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12281 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12281 I think there's more to it, though. It might be that the C display code only uses either the X path or the tty path, but not both. But I'm not sure, and don't have time to refresh my memory by looking at the code, sorry. That would be easy to fix. > It seems that a major obstacle is that `window-system' (and similar) > is a variable rather than a function taking a frame as argument. We would want to get rid of all uses of window-system. We already have a way to check whether a display has a window system: display-multi-frame-p.