From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: send selection or current line to Terminal/iTerm Date: Sat, 14 Jun 2014 15:22:22 +0100 Message-ID: <8738f7zi3l.fsf@robertthorpeconsulting.com> References: <1402728754759-324525.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402755776 18642 80.91.229.3 (14 Jun 2014 14:22:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2014 14:22:56 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: klebsiella Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 16:22:49 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wvor3-0002w5-3g for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 16:22:49 +0200 Original-Received: from localhost ([::1]:35569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvor2-0001x1-LC for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 10:22:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvoqm-0001wp-6V for Help-gnu-emacs@gnu.org; Sat, 14 Jun 2014 10:22:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wvoqf-000510-Lz for Help-gnu-emacs@gnu.org; Sat, 14 Jun 2014 10:22:32 -0400 Original-Received: from outbound-smtp01.blacknight.com ([81.17.249.7]:56949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvoqf-00050s-GW for Help-gnu-emacs@gnu.org; Sat, 14 Jun 2014 10:22:25 -0400 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp01.blacknight.com (Postfix) with ESMTP id E96129A472 for ; Sat, 14 Jun 2014 14:19:45 +0000 (UTC) Original-Received: (qmail 7667 invoked from network); 14 Jun 2014 14:22:23 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.191.211]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 14 Jun 2014 14:22:23 -0000 In-Reply-To: <1402728754759-324525.post@n5.nabble.com> (message from klebsiella on Fri, 13 Jun 2014 23:52:34 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.7 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:98250 Archived-At: klebsiella writes: > Hi John, > > It works like a charm ... very efficient, > > Though, one small improvement will be to send the whole current line, > instead of the symbol only, when no region is selected. I still can't work out why you have to do all this. If I understood your first posts all you want is inter-program paste. That should just work. I don't have to do anything special to paste into an xterm or a gnome-terminal on Xubuntu, it just works. You should try to find the intended way to do this. Recently I've seen two posts (one here and one on Reddit/Emacs) where people have tried to work around clipboard problems using xsel and it hasn't worked properly. The system functions for clipboard interaction, like xsel in X11, are quite difficult to use correctly. Have you tried reporting this to the maintainers of Aquamacs or Emacs-for-OSX? BR, Robert Thorpe