From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Joe Corneli <jcorneli@math.utexas.edu>
Newsgroups: gmane.emacs.help
Subject: Re: making contents of other programs transparent to Emacs
Date: Sat, 28 Aug 2004 12:50:47 -0500
Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Message-ID: <E1C17Lj-0005xu-00@linux183.ma.utexas.edu>
NNTP-Posting-Host: deer.gmane.org
X-Trace: sea.gmane.org 1093715493 1434 80.91.224.253 (28 Aug 2004 17:51:33 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Sat, 28 Aug 2004 17:51:33 +0000 (UTC)
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 28 19:51:28 2004
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Original-Received: from lists.gnu.org ([199.232.76.165])
	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1C17MO-0002p2-00
	for <geh-help-gnu-emacs@m.gmane.org>; Sat, 28 Aug 2004 19:51:28 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1C17R7-0002tp-IC
	for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Aug 2004 13:56:21 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1C17Qj-0002lo-1y
	for help-gnu-emacs@gnu.org; Sat, 28 Aug 2004 13:55:57 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1C17Qh-0002kx-Ew
	for help-gnu-emacs@gnu.org; Sat, 28 Aug 2004 13:55:56 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1C17Qh-0002kh-Aq
	for help-gnu-emacs@gnu.org; Sat, 28 Aug 2004 13:55:55 -0400
Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1C17Ln-00004x-CD
	for help-gnu-emacs@gnu.org; Sat, 28 Aug 2004 13:50:51 -0400
Original-Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu
	[146.6.139.172])
	by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i7SHonF31619;
	Sat, 28 Aug 2004 12:50:49 -0500
Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1
	(Debian)) id 1C17Lj-0005xu-00; Sat, 28 Aug 2004 12:50:47 -0500
Original-To: help-gnu-emacs@gnu.org
X-all-your-base-are-belong-to-us: You are on the way to destruction.
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: main.gmane.org gmane.emacs.help:20352
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20352


   Well, for terminal programs (not X11), the program screen is
   cool.

Yes, I use it a lot, though I haven't spent much time trying to
configure the commands to match my preferences, but I think it can
be easily done.  For now, I've reverted to using the mouse to cut
and paste between programs.

I wonder if it would be possible to hack screen make it so that each
virtual terminal window was also a virtual Emacs buffer; this would
be a concrete step in the direction of making other programs
transparent to Emacs.

I have no progress so far on an Emacs-controlled X11.  

But here is a little background: part of the inspiration for
thinking about this stuff was a hope that the Ratpoison window
manager (which is like screen in many ways) could be more like
screen in terms of text selection.  

It is possible to send commands to Ratpoison from within Emacs, but
if you shift your focus away from Emacs, its game over for that.
(One could write a pretty simple patch to resolve that problem I
think, but this is a far cry from having every keyboard command
filtered through an Emacs process or having the contents of the
other programs available to that process.)