all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.