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: Re: Convenient way to set "root of my project"? Date: Wed, 28 Jan 2009 07:24:05 -0800 (PST) Organization: http://groups.google.com Message-ID: <13fddeb9-8ad1-4c4e-8f7c-a5532f58d7fc@i18g2000prf.googlegroups.com> References: <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: quoted-printable X-Trace: ger.gmane.org 1233209115 19954 80.91.229.12 (29 Jan 2009 06:05:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2009 06:05:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 29 07:06:28 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 1LSQ2k-0006B5-RE for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jan 2009 07:06:27 +0100 Original-Received: from localhost ([127.0.0.1]:45886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSQ1S-0003Sj-PX for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jan 2009 01:05:06 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!postnews.google.com!i18g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 173.64.205.232 Original-X-Trace: posting.google.com 1233156246 1907 127.0.0.1 (28 Jan 2009 15:24:06 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 28 Jan 2009 15:24:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000prf.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:166412 X-Mailman-Approved-At: Thu, 29 Jan 2009 01:03:34 -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:61745 Archived-At: On Jan 28, 4:57=A0am, Peter Dyballa wrote: > Why aren't you using find-grep? It's defined as grep for something in them>. I think I wasn't clear. The problem isn't the command itself (I'm actually using ack, which is more or less the same as find-grep), it's the fact that I don't want to specify the full path every time. It's pretty exhausting. And I don't think an ENV variable would work because I have multiple "projects" - I'd like to set a buffer-local value so it just "knows" to start at the base of the project's src/ rather than the current folder (kind of pointless in a large project). Brett