unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: change working directory in emacs
Date: Fri, 30 Jun 2006 11:53:18 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICOEJODHAA.drew.adams@oracle.com> (raw)
In-Reply-To: <5124734.post@talk.nabble.com>

    When you find file in emacs, how does it it decide which
    directory you will
    begin finding? Usually, it's the directory where you started
    emacs, but if
    you've already opened some other files, you begin finding
    elsewhere. Also,
    how can I tell emacs where I want to begin finding? Thanks!

Each file buffer has an associated directory - it is the buffer-local value
of variable `default-directory'. This value is normally the directory of the
file associated with the buffer.

You can change the working directory using Emacs command `cd', just as in
Unix or GNU/Linux.

  reply	other threads:[~2006-06-30 18:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30 18:20 change working directory in emacs danielx
2006-06-30 18:53 ` Drew Adams [this message]
2006-06-30 21:27 ` Peter Dyballa
2006-06-30 21:41   ` Eli Zaretskii
     [not found] <mailman.3585.1151692923.9609.help-gnu-emacs@gnu.org>
2006-06-30 19:00 ` Maarten Bergvelt
2006-07-02 18:57   ` danielx

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=DNEMKBNJBGPAOPIJOOICOEJODHAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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).