unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: Newbie error compiling program
Date: Sun, 08 Feb 2004 14:28:21 +0100	[thread overview]
Message-ID: <87n07tvgy2.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: Iv9Vb.5171$P32.1958@news-binary.blueyonder.co.uk

"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.

Kai

  reply	other threads:[~2004-02-08 13:28 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 [this message]
2004-02-09 21:55       ` kgold
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=87n07tvgy2.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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).