Pedro A ARANDA wrote:

i've already asked for this, but I want to give it a second try:

I always have a root directory in each development and there I place
my Makefile or build.xml file. the sources go to ./src, docs to ./doc,
etc.
I always launch emacs from this root directory, because I launch the
build process from this directory. In the case of emacs, I can access it
with (getenv "PWD")... well, that's actually the reason of launching emacs
from the root directory. My complete compile command is

(compile (format "cd %s && ant" (getenv "PWD")))

It's very handy and I would like to have a method to access the
system's environment variables in SciTE.

It's more handy to instruct your build tool to traverse the directory structure
upwards until it finds the build script.  I use "nant -find".
This way you don't need to be careful about the directory you start the editor
from or restart the editor when you switch between projects.

Piotr
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to