From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hermann Kleier Newsgroups: gmane.emacs.help Subject: Re: pasting text from other program in emacs Date: Wed, 13 Apr 2011 17:00:43 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302738623 1541 80.91.229.12 (13 Apr 2011 23:50:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2011 23:50:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 14 01:50:17 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QA9p7-0006xG-HX for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Apr 2011 01:50:13 +0200 Original-Received: from localhost ([::1]:46295 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA9p7-0002Au-1A for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2011 19:50:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA9p2-0002Ao-BL for help-gnu-emacs@gnu.org; Wed, 13 Apr 2011 19:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA9p1-0003F0-BK for help-gnu-emacs@gnu.org; Wed, 13 Apr 2011 19:50:08 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA9p1-0003Ev-3s for help-gnu-emacs@gnu.org; Wed, 13 Apr 2011 19:50:07 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QA9p0-0006sj-98 for help-gnu-emacs@gnu.org; Thu, 14 Apr 2011 01:50:06 +0200 Original-Received: from 145.253.192.132 ([145.253.192.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Apr 2011 01:50:06 +0200 Original-Received: from hermann by 145.253.192.132 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Apr 2011 01:50:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 145.253.192.132 (Mozilla/5.0 (Windows; U; Win98; en-GB; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80784 Archived-At: Javier nospam.com> writes: > > Hi, > > Does anybody know how to do to paste text from external programs into an > emacs window? I am using emacs 23.2.1 and debian Squezze. Is this a > new "feature" of emacs 23? is it because of the usage of gtk libraries? > It happens in X and also in the console if I try to paste text with gpm. > > The magic comes from the file "t-mouse.el" which is part of the gpm-package. The file has been included in the emacs-package (revision 22.2) and slighly modified. See the comments for details. In the package "emacs23-el 23+1-4ubuntu7" most of the goodies have been removed and the gpm-support of emacs is really poor since then. The cure is to use the 22.2 sources.