From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ljp Newsgroups: gmane.emacs.help Subject: opening a filename that appears in a buffer? Date: Tue, 20 May 2008 12:53:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: <01bc057a-47b6-4f3c-9685-648babebe7c3@h1g2000prh.googlegroups.com> 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 1211340887 25601 80.91.229.12 (21 May 2008 03:34:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 May 2008 03:34:47 +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 May 21 05:35:24 2008 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 1Jyf6e-0005vM-1g for geh-help-gnu-emacs@m.gmane.org; Wed, 21 May 2008 05:35:12 +0200 Original-Received: from localhost ([127.0.0.1]:50903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jyf5t-0000LT-Tf for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2008 23:34:25 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h1g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 128.84.98.95 Original-X-Trace: posting.google.com 1211313202 748 127.0.0.1 (20 May 2008 19:53:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 20 May 2008 19:53:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h1g2000prh.googlegroups.com; posting-host=128.84.98.95; posting-account=bq5obwoAAAAxFEHJZq7UJA5fME4QjvBe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:158813 X-Mailman-Approved-At: Tue, 20 May 2008 23:32:01 -0400 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:54191 Archived-At: Hello all, I'm relatively new to emacs, and it is gradually becoming the central fixture through which I do all of my programming. One thing I find myself doing often is executing a shell command in a shell buffer, and then wanting to open a file that was listed in the output of the shell command. To do this right now I manually select the filename and paste it into the minibuffer for C-x C-f. Is there an easier way? Like, maybe, a command that is able to pick out a filename from the buffer when the cursor is in (but not necessarily at the start of) that filename, and then open the file in a new buffer? Thanks! I've looked through documentation, but I haven't found anything like this.