From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rusi Newsgroups: gmane.emacs.help Subject: Re: Pipe bash file contents to shell Date: Fri, 1 Jul 2011 10:23:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <48d6d1ef-c431-44c7-9a8f-6396db4e3ec9@e26g2000prf.googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332966812 633 80.91.229.3 (28 Mar 2012 20:33:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2012 20:33:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 22:33:31 2012 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 1SCzYg-0000yx-DN for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 22:33:30 +0200 Original-Received: from localhost ([::1]:37601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCyjt-0001bS-4A for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2012 15:41:01 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!e26g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1309541013 15315 127.0.0.1 (1 Jul 2011 17:23:33 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 1 Jul 2011 17:23:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e26g2000prf.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:187560 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:84151 Archived-At: On Jun 30, 7:33=A0pm, linuxfever wrote: > Hello all, > > I was wondering whether there is a way to pass contents of a bash script > file into a shell buffer in Emacs (23.2). For example, if my bash file > contains a single line "ls -al", I would like to highlight that line, and= by > pressing a keybind, have the command executed and its output shown in the > shell buffer. > > Is it at all possible? Thanks for any suggestions! There is eev mode http://www.emacswiki.org/emacs/EevMode which seems to have similar described functionality. But Ive not quite it to work :-)