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: Tue, 09 Feb 2010 15:01:54 -0800 Message-ID: <4B71E962.7060400@gmail.com> References: <800bd9a9-0a03-4fc9-b395-328fbd835c93@l26g2000yqd.googlegroups.com> <81f0a13d-d1b7-418e-95c4-51462b45fb69@f8g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1265756535 11834 80.91.229.12 (9 Feb 2010 23:02:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 23:02: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 Wed Feb 10 00:02:13 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 1Nez5v-0007Mm-Vi for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Feb 2010 00:02:12 +0100 Original-Received: from localhost ([127.0.0.1]:42480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nez5v-0002wy-JW for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 18:02:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nez5U-0002vb-6V for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 18:01:44 -0500 Original-Received: from [199.232.76.173] (port=49766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nez5T-0002vN-RE for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 18:01:43 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nez5N-0003Sg-EE for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 18:01:41 -0500 Original-Received: from mail-yx0-f187.google.com ([209.85.210.187]:59530) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nez5J-0003Rr-7d for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 18:01:33 -0500 Original-Received: by yxe17 with SMTP id 17so2261256yxe.26 for ; Tue, 09 Feb 2010 15:01:31 -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=o3FP3kt4p4i47eChWR/0ahpGeVG1OdBny9UH9Bu3sTI=; b=M4nEGrH76+/lexGgnU1Cc5tiBkR8Y2rCggq7IFZxsYNEPqZ/ZbUTA6pOWPQ7vr+uq3 tzaQNfz9RHJqnijlxpZT5kF5HrXblKpFOa+Rbqzlw4NeFLgOScnfXVLTTsIIqf3fZ0tv c8B2SllAjM3gNcVPpXxNdET5wInXZiAiLnEkE= 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=N18IK+ZUMeuJUr0igRGY8LiJubFsDFSuaaZqkWsFafM+NUxkDnoga9H5RTxr2Liqyu zGBaeFzrbAPt21zdp7MCRUlBpaMa2CBhWhBM71UIh2AxZ4oQRvG3kOjZGf+lOTBXxyuB FnOuT4X04h1nXEPKUW7FWAtoF2oOpLj6WzaJw= Original-Received: by 10.142.152.6 with SMTP id z6mr5816662wfd.214.1265756490668; Tue, 09 Feb 2010 15:01:30 -0800 (PST) Original-Received: from ?142.58.122.14? (p8460-6.phys.sfu.ca [142.58.122.14]) by mx.google.com with ESMTPS id 21sm964416pzk.11.2010.02.09.15.01.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Feb 2010 15:01:29 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b2pre Thunderbird/3.0.1 In-Reply-To: <81f0a13d-d1b7-418e-95c4-51462b45fb69@f8g2000yqn.googlegroups.com> X-detected-operating-system: by monty-python.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:71773 Archived-At: On Tuesday 09 February 2010 01:02 PM, Chitlesh Goorah wrote: > On Feb 9, 2:37�am, William Xu wrote: >> It seems that his file path includes an environment variable: >> >> � $(SCRIPTS_HOME)/definitions.tcl >> >> Vim is smart... �An elisp function may be needed to achieve that. � > > > I have full control over the env variable. Imagine it is set with a > sort of cshrc file. > > I just learnt that even nedit can open that file with Ctrl-Y. Surely > emacs must have an equivalent. 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 and on `RET' opens the file showing its contents. Are you sure your environment is setup correctly? > > Chitlesh -- Suvayu Open source is the future. It sets us free.