From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: klebsiella Newsgroups: gmane.emacs.help Subject: Re: send selection or current line to Terminal/iTerm Date: Thu, 12 Jun 2014 14:43:50 -0700 (PDT) Message-ID: <1402609430389-324400.post@n5.nabble.com> References: <1402261104327-324145.post@n5.nabble.com> <1402586029056-324374.post@n5.nabble.com> <87r42tvpkr.fsf@debian.uxu> <87k38lvp9r.fsf@debian.uxu> <87d2edvnog.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402609456 20393 80.91.229.3 (12 Jun 2014 21:44:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2014 21:44:16 +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 Jun 12 23:44:11 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 1WvCn4-0001Jp-KI for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 23:44:10 +0200 Original-Received: from localhost ([::1]:55807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvCn4-0001u4-1n for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 17:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvCmq-0001tn-GC for Help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 17:44:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvCml-0006wI-Uf for Help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 17:43:56 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:52785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvCml-0006u3-OZ for Help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 17:43:51 -0400 Original-Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WvCmk-00063y-Cq for Help-gnu-emacs@gnu.org; Thu, 12 Jun 2014 14:43:50 -0700 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.139.236.26 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:98192 Archived-At: @ Emanuel: Thanks for the reply and the suggestions. Unfortunately, I do not know lisp beside the basics to optimize my .emacs. @jai: I agree with Emanuel statements. Actually, I have posted a similar post on Stackoverflow and somebody already explained how it can be done but I couldn't make it work: You can check it on the link pasted below. However, I posted the request here recently as I thought that their can be a more elegant/builtin way to do it that I am not aware of ... In summary, Sublime Text calls osascript to paste the active region in the active session of the Terminal ... Maybe if someone knows lisp enough can follow on the explanation given in the link below and check if he/she can make it work ? http://stackoverflow.com/questions/22835546/emacs-aquamacs-send-current-line-or-selection-to-active-terminal -- View this message in context: http://emacs.1067599.n5.nabble.com/send-selection-or-current-line-to-Terminal-iTerm-tp324145p324400.html Sent from the Emacs - Help mailing list archive at Nabble.com.