From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: making contents of other programs transparent to Emacs Date: Wed, 11 Aug 2004 22:29:29 -0400 Organization: Symantec Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1092277877 26628 80.91.224.253 (12 Aug 2004 02:31:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Aug 2004 02:31:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 12 04:31:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bv5N3-0004d0-00 for ; Thu, 12 Aug 2004 04:31:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bv5Qw-0005a4-1V for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Aug 2004 22:35:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 11 Aug 2004 21:29:29 -0500 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) X-Copies-To: never Original-Lines: 23 Original-NNTP-Posting-Host: 24.128.26.140 Original-X-Trace: sv3-cPQKuJA/BsrIPTM1Quq6Xv7vriWjFKNzh+83258MMHe3fahjQVdI35Nzpa5nxV0yAjYTutqmNOhApE2!sOb5jD1m+UcHjZsWXs+IUBWFcHYqhn74F5uxEiizsYxQFVbZce5yST0DLYM7kl4AUZTbLHunXq+0!nRpP6n26PIg= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.13 Original-Xref: shelby.stanford.edu gnu.emacs.help:124745 Original-To: help-gnu-emacs@gnu.org 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20090 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20090 In article , Joe Corneli wrote: > This seems like a hard question, and not completely Emacs-specific. > > Suppose I wanted to make the contents of e.g. an rxvt or Mozilla > window readable to an Emacs. What would I need to do? The text is > available to X (and I can copy and paste it into other programs) so > it also seems that with more work I should be able to treat the text > in these other programs as a read-only Emacs buffer. As far as X is concerned, these windows are just pixels -- it doesn't keep track of the text. This is done by the client applications. Copying and pasting is done by the application itself; when you use the Copy operation, the application sends a message to the X server telling it to put the text into the cut-buffer so that other applications can get at it. But there's no way for one application to force another one to send it the contents of its window. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***