From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: open file listed in a text file Date: Thu, 11 Feb 2010 01:21:44 -0800 Message-ID: <4B73CC28.7070901@gmail.com> References: <800bd9a9-0a03-4fc9-b395-328fbd835c93@l26g2000yqd.googlegroups.com> <81f0a13d-d1b7-418e-95c4-51462b45fb69@f8g2000yqn.googlegroups.com> <30ae1176-cfc2-47bf-bdbc-d6f510d8e5b6@d37g2000yqa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265880196 32536 80.91.229.12 (11 Feb 2010 09:23:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 09:23:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 11 10:23:09 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 1NfVGK-00023G-7y for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 10:23:09 +0100 Original-Received: from localhost ([127.0.0.1]:39547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfVGD-0003yo-K7 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 04:22:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfVFk-0003yj-H6 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2010 04:22:28 -0500 Original-Received: from [140.186.70.92] (port=55844 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfVFa-0003xS-KP for help-gnu-emacs@gnu.org; Thu, 11 Feb 2010 04:22:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfVFU-0002l8-6I for help-gnu-emacs@gnu.org; Thu, 11 Feb 2010 04:22:12 -0500 Original-Received: from mail-pz0-f193.google.com ([209.85.222.193]:40332) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfVFT-0002l0-QJ for help-gnu-emacs@gnu.org; Thu, 11 Feb 2010 04:22:12 -0500 Original-Received: by pzk32 with SMTP id 32so500437pzk.26 for ; Thu, 11 Feb 2010 01:21:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HPSNFNPnxZ/JzugDaBuyJhC9NOUC0QAzDqAOOMIkLX4=; b=S+Cd2o6sHN52E1etP8bnzKzim53YD/yIiVetrYidy6DEk7tvZTPqnWojZv1yVdPu+N kr2Sdf/ct0XLN0ACm0ua/Fmi0AA+s+wOiqn6GowcWMJ53pjNl3G1XaRnvQTggJU1iYk5 Ajtp8OIj20hWloZoW58s2y37Tdx3fsZhCd54Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gRkBBILpaUZKUlpLcUL4Ba0eSTpA6MSnJKmeNz9XzaRjHsUmZlaQ9W5rOwLskLhPNo 5oRV14pmOQsrRjzdqGbdK31RugGsSXHVEOZZtgG0J/KC+3IEs43bVgq/ZHRPFPaV6/ji ehlbVseAgt9PuykuRzGYTCUax1CLsGWJaOfsk= Original-Received: by 10.143.25.13 with SMTP id c13mr1013553wfj.112.1265880106170; Thu, 11 Feb 2010 01:21:46 -0800 (PST) Original-Received: from bhishma.kuru (d216-232-0-68.bchsia.telus.net [216.232.0.68]) by mx.google.com with ESMTPS id 21sm2812730pzk.3.2010.02.11.01.21.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Feb 2010 01:21:45 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.1 In-Reply-To: <30ae1176-cfc2-47bf-bdbc-d6f510d8e5b6@d37g2000yqa.googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:71794 Archived-At: On Thursday 11 February 2010 12:04 AM, Chitlesh Goorah wrote: > On Feb 10, 12:01 am, Suvayu Ali wrote: >> I don't understand your problem, I just tried the same thing with a >> custom environment variable, and it worked. >> >> `M-! file $ROOTSYS/build/version_number RET' >> >> returns, >> >> /home/suvayu/root/build/version_number: ASCII text >> >> `M-x ffap' prompts me for, >> >> Find file or URL: ~/root/build/version_number >> > > What I want is that when the cursor is on the path of a file (in a > file), I would like to open that particular file with a keyboard > shortcut. I did the exact same thing! I put this `$ROOTSYS/build/version_number' in the *scratch* buffer and executed `M-x ffap'. I mention this in my previous message. > > Chitlesh -- Suvayu Open source is the future. It sets us free.