From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jos=E9_A=2E_Romero_L=2E?= Newsgroups: gmane.emacs.help Subject: Re: open file listed in a text file Date: Sun, 7 Feb 2010 06:38:13 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265555006 1326 80.91.229.12 (7 Feb 2010 15:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2010 15:03:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 16:03:24 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 1Ne8fO-0007u4-Ma for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2010 16:03:18 +0100 Original-Received: from localhost ([127.0.0.1]:55952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ne8Ky-0003Jj-IB for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2010 09:42:12 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!m16g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 89.78.68.41 Original-X-Trace: posting.google.com 1265553493 19022 127.0.0.1 (7 Feb 2010 14:38:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 7 Feb 2010 14:38:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m16g2000yqc.googlegroups.com; posting-host=89.78.68.41; posting-account=mkEKGAoAAACAV2vhv5r9WHXWqsdL_niD User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:176656 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:71726 Archived-At: On 7 Lut, 14:34, Chitlesh Goorah wrote: (...) > Is there a =A0way to open the $(SCRIPTS_HOME)/definitions.tcl (with a > shortcut) within emacs itself just by placing the cursor on that > filename, instead of ctrl-x-f =A0? Probably this is what you're looking for: find-file-at-point is an interactive compiled Lisp function in `ffap.el'. It is bound to g f. (find-file-at-point &optional FILENAME) Find FILENAME, guessing a default from text around point. If `ffap-url-regexp' is not nil, the FILENAME may also be an URL. With a prefix, this command behaves exactly like `ffap-file-finder'. If `ffap-require-prefix' is set, the prefix meaning is reversed. See also the variables `ffap-dired-wildcards', `ffap-newfile-prompt', and the functions `ffap-file-at-point' and `ffap-url-at-point'. Cheers, -- Jos=E9 A. Romero L. escherdragon at gmail.com "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed)