From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bit Twister Newsgroups: gmane.emacs.help Subject: Re: Why can't I use xargs emacs? Date: Tue, 2 Feb 2010 21:14:26 +0000 (UTC) Organization: A noiseless patient Spider 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: ger.gmane.org 1265178254 29539 80.91.229.12 (3 Feb 2010 06:24:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2010 06:24:14 +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 Feb 03 07:24:11 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NcYel-000192-H3 for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2010 07:24:07 +0100 Original-Received: from localhost ([127.0.0.1]:52001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcYek-0001dl-Jp for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2010 01:24:06 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!newsfeed.freenet.ag!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: comp.unix.shell,gnu.emacs.help Original-Lines: 13 Injection-Date: Tue, 2 Feb 2010 21:14:26 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="kP1Sn6br755Ol+l3zv84Sg"; logging-data="27546"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lBUhczS3/2vdjPEQAMrbQ6VD/N4CxQCE=" User-Agent: slrn/0.9.9p1 (Linux) Cancel-Lock: sha1:8Es6592GK/IHAcihMQRK4Uk5+h0= Original-Xref: news.stanford.edu comp.unix.shell:233690 gnu.emacs.help:176559 X-Mailman-Approved-At: Wed, 03 Feb 2010 01:17:52 -0500 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: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71637 Archived-At: On Tue, 02 Feb 2010 20:22:17 +0000, Adam Funk wrote: > The emacs command can take a list of filename arguments, so why can't > I get xargs to work with it? > > $ find -name '*.txt' |xargs emacs -nw > emacs: standard input is not a tty > > $ grep -rl 'foo' some/path |xargs emacs -nw > emacs: standard input is not a tty Maybe it's the -nw switch. Try find -name '*.txt' |xargs emacs