unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: Newbie error compiling program
Date: 9 Feb 2004 21:55:06 GMT	[thread overview]
Message-ID: <c08vjq$euo$1@news.btv.ibm.com> (raw)
In-Reply-To: 87n07tvgy2.fsf@emptyhost.emptydomain.de

Kai Grossjohann <kai@emptydomain.de> writes:
> "youKnowme" <phoenix@home.net> 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?

-- 

  reply	other threads:[~2004-02-09 21:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07 17:08 Newbie error compiling program youKnowme
2004-02-07 17:10 ` GVK
2004-02-07 17:46   ` youKnowme
2004-02-08 13:28     ` Kai Grossjohann
2004-02-09 21:55       ` kgold [this message]
2004-02-12 13:56         ` Kai Grossjohann
2004-02-09 21:58   ` kgold
2004-02-09 19:11 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c08vjq$euo$1@news.btv.ibm.com' \
    --to=kgold@watson.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).