unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Per-directory customizations?
@ 2004-04-30 12:30 Roy Smith
  2004-04-30 15:38 ` Kin Cho
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Roy Smith @ 2004-04-30 12:30 UTC (permalink / raw)


Is there any way to do customizations on a per-directory basis?

For example, I've got java project which lives in ~/dev/foo.  Anytime I 
run M-X compile anywhere inside the ~/dev/foo hierarchy, I want the 
command run to be "cd ~/dev/foo; ant".  I don't want to just set 
compile-command in my .emacs file, because the right command varies 
depending on which project (i.e. directory subtree) I'm in.

Is there any way to do this?  I'm running GNU Emacs 21.2.1.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-05-03 16:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 12:30 Per-directory customizations? Roy Smith
2004-04-30 15:38 ` Kin Cho
2004-04-30 19:01   ` Kevin Rodgers
2004-04-30 19:27     ` Roy Smith
2004-04-30 23:47       ` Kevin Rodgers
2004-04-30 23:54         ` Johan Bockgård
2004-05-01  0:11         ` Kin Cho
2004-05-03 14:12           ` Stefan Monnier
2004-05-03 16:19             ` Kin Cho
2004-04-30 17:13 ` Vagn Johansen
2004-04-30 21:14 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).