From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: change working directory in emacs
Date: Fri, 30 Jun 2006 23:27:26 +0200 [thread overview]
Message-ID: <D0B6971A-4925-46BD-919D-181A95FF5DB8@Web.DE> (raw)
In-Reply-To: <5124734.post@talk.nabble.com>
Am 30.06.2006 um 20:20 schrieb danielx:
> 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,
No! Not in Mac OS X, a FreeBSD based UNIX. Here it's either the
current working directory of the shell in *shell* (and probably also
*terminal*) buffer, the directory in the which the file resides from
which you invoked find-grep, or it's the HOME directory for buffers
like *scratch* or *calendar* ... From a *compile* buffer it's
probably also its working directory and from the *Completions* buffer
it's a bit "context sensible" -- if the buffer lists completions for
a file to choose for loading from some directory, the search begins
in this directory.
You can find out this also! Just do M-x find-grep RET and you'll see
the starting point listed in the beginning of the *grep* buffer. No
file be hurt, not even a directory.
> 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!
Substitute ``.´´ in the actual find command with another directory name!
--
Greetings
Pete
"We have to expect it, otherwise we would be surprised."
next prev parent reply other threads:[~2006-06-30 21:27 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
2006-06-30 21:27 ` Peter Dyballa [this message]
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=D0B6971A-4925-46BD-919D-181A95FF5DB8@Web.DE \
--to=peter_dyballa@web.de \
--cc=Help-gnu-emacs@gnu.org \
/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).