help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why can't I use xargs emacs?


From: Andreas Röhler
Subject: Re: Why can't I use xargs emacs?
Date: Wed, 03 Feb 2010 12:14:04 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Bit Twister wrote:
> 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
> 

Works for me, thanks.

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]