From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Tfardy Newsgroups: gmane.emacs.help Subject: Re: opening a filename that appears in a buffer? Date: Tue, 20 May 2008 22:04:03 +0200 Message-ID: <69gp5lF339i9sU1@mid.individual.net> References: <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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211316088 26353 80.91.229.12 (20 May 2008 20:41:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2008 20:41:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 20 22:42:05 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 1JyYeB-00017Q-Ai for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2008 22:41:23 +0200 Original-Received: from localhost ([127.0.0.1]:42084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyYdR-0004uL-8y for geh-help-gnu-emacs@m.gmane.org; Tue, 20 May 2008 16:40:37 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net ZjaC+bB7IDdLEx5K95SdOAD3//J5FLoJ2MzdZYxJNzCQuRC5uq Cancel-Lock: sha1:hDfHWfxc2EclJGDZ8QNCFzETL9w= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <01bc057a-47b6-4f3c-9685-648babebe7c3@h1g2000prh.googlegroups.com> Original-Xref: news.stanford.edu gnu.emacs.help:158814 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:54180 Archived-At: ljp schrieb: > 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? Yes, there is an easier way: ffap = find-file-at-point. regards Marc