From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Decebal Newsgroups: gmane.emacs.help Subject: Opening files from a command Date: Sat, 1 Nov 2008 13:28:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225572135 3326 80.91.229.12 (1 Nov 2008 20:42:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2008 20:42:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 01 21:43:17 2008 connect(): Connection refused 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.50) id 1KwNJP-0001zF-Od for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 21:43:11 +0100 Original-Received: from localhost ([127.0.0.1]:38304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwNIJ-000468-25 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 16:42:03 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s9g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-NNTP-Posting-Host: 84.53.123.169 Original-X-Trace: posting.google.com 1225571312 25794 127.0.0.1 (1 Nov 2008 20:28:32 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 1 Nov 2008 20:28:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000prg.googlegroups.com; posting-host=84.53.123.169; posting-account=K-cdeAoAAAD_0d505kUtHXJaT5LFIu-3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164004 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:59346 Archived-At: Sometimes I like to edit files based on a certain criterium. I use for example a grep command. I use this from a shell in Emacs. (I have to work with kshell, which does not have tab-expansion. This is why I am working from a shell in Emacs.) At this moment I am putting those filenames one by one in the kill-ring and open them. But is there a better way? Offcourse I could do: emacs `grep ...` & but this opens an new Emacs session. I would prefer not to open a new session.