From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brett Hoerner Newsgroups: gmane.emacs.help Subject: Convenient way to set "root of my project"? Date: Tue, 27 Jan 2009 14:13:21 -0800 (PST) Organization: http://groups.google.com Message-ID: <43f72653-1412-4402-8074-ef5302ab07a0@35g2000pry.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233100683 31588 80.91.229.12 (27 Jan 2009 23:58:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 23:58:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 00:59:17 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRxps-0004ov-KS for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 00:59:16 +0100 Original-Received: from localhost ([127.0.0.1]:35030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRxoa-00075Q-N7 for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 18:57:56 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!35g2000pry.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 173.64.205.232 Original-X-Trace: posting.google.com 1233094401 32161 127.0.0.1 (27 Jan 2009 22:13:21 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 27 Jan 2009 22:13:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 35g2000pry.googlegroups.com; posting-host=173.64.205.232; posting-account=x6a_AgoAAADZQH4IvzMbavVwrCOoMjuv User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166393 X-Mailman-Approved-At: Tue, 27 Jan 2009 18:57:08 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61713 Archived-At: 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. Ideas? Or maybe I'm using both of these wrong and someone can tell me the proper emacs-foo? Thanks, Brett