[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Convenient way to set "root of my project"?
From: |
Brett Hoerner |
Subject: |
Re: Convenient way to set "root of my project"? |
Date: |
Wed, 28 Jan 2009 07:25:46 -0800 (PST) |
User-agent: |
G2/1.0 |
On Jan 28, 1:11 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> Sounds similar to the recent thread "build a macro that opens a directory and
> prompts for file name" - see that for suggestions. In particular, see Emacs
> command `cd' and variable `default-directory'.
Thanks!
I had used 'cd' by hand in the past, but 'default-directory' looks
like what I want. I'm very new to all of this, I just need to find a
way now to hook the opening of a file, detect if it matches a path
like '/a/NAME/src/.*' and set the default directory of that buffer to
'/a/NAME/src/'
Brett
- Convenient way to set "root of my project"?, Brett Hoerner, 2009/01/27
- RE: Convenient way to set "root of my project"?, Drew Adams, 2009/01/28
- Re: Convenient way to set "root of my project"?, Thierry Volpiatto, 2009/01/28
- Re: Convenient way to set "root of my project"?, Kevin Rodgers, 2009/01/28
- Re: Convenient way to set "root of my project"?, Andreas Politz, 2009/01/28
- Re: Convenient way to set "root of my project"?, Peter Dyballa, 2009/01/28
- Message not available
- Message not available
- Message not available
- Re: Convenient way to set "root of my project"?,
Brett Hoerner <=