[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convenient way to set "root of my project"?

From: Kevin Rodgers
Subject: Re: Convenient way to set "root of my project"?
Date: Wed, 28 Jan 2009 00:57:23 -0700
User-agent: Thunderbird (Macintosh/20081209)

Brett Hoerner wrote:
I'd like for commands like "grep" and "find file" to open at the root
of my "project" (I know emacs has no knowledge of projects).  Does
anyone do / use something similar?

For example, I'm in /foo/bar/blah/doo/woo/file and I M-x grep, it's
based in /foo/bar/blah/doo/woo/ and I don't want to take the time to
change the path every time - 99% of the time I want to search my
current project (let's say /foo) for something.  Ditto for find-file,
changes are the file I want isn't in /foo/bar/blah/doo/woo/, but
somewhere further up the tree (and down another branch), I'd love to
start at /foo.

How should `M-x grep' or `C-x C-f' know to start at /foo instead of
/foo/bar or /foo/bar/blah or /foo/bar/blah/doo (instead of / or

I.e. what do you mean by "project"?

Kevin Rodgers
Denver, Colorado, USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]