From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: Newbie error compiling program Date: 9 Feb 2004 21:55:06 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87n07tvgy2.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076365302 15465 80.91.224.253 (9 Feb 2004 22:21:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2004 22:21:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 09 23:21:24 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AqJmN-0004LG-02 for ; Mon, 09 Feb 2004 23:21:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AqJk1-0004ZN-PJ for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Feb 2004 17:18:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!nntp.abs.net!newshub1.wanet.net!ash.uu.net!an02.austin.ibm.com!ausnews.austin.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!alpha.watson.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1076363706 15320 9.2.16.245 (9 Feb 2004 21:55:06 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 9 Feb 2004 21:55:06 GMT X-Newsreader: xrn 9.02 Original-Xref: shelby.stanford.edu gnu.emacs.help:120792 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16742 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16742 Kai Grossjohann writes: > "youKnowme" writes: > > > Thank you, this fixed the problem. I have another related question. How do i > > get emacs to know that a program that i want to execute is in my current > > directory? At the moment, I have to keep typing ./ before the executable > > name. How can I set it up to do this automatically? > > The environment variable $PATH can contain the entry ".". > > But I don't recommend to do this. Imagine you do > > cd /tmp > ls -la > > and some bad guy has written /tmp/ls which deletes your hard disk. How about if you put the . at the end of the search path? --