emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

add directory selection to the "compile" command


From: lucatrv
Subject: add directory selection to the "compile" command
Date: Mon, 2 Jul 2007 16:02:59 +0200

Hi, sometimes I work on projects with many subfolders, so every time I issue the "compile" command whether I first have to change to the main folder (where the makefile is) or I have to manually change the commmand depending on the present buffer folder (such as "cd ../../.. && make -k") . I think it would be very helpfull to add to the "compile" command the possibility to specify the directory where the command should be executed. The directory should be stored for successive times. So for instance, the first time someone issues the "compile" command, the default directory could be the present directory, while the default command could be "make -k". Then, if for instance the user sets another directory (such as "/home/user/projectmaindir") and another command (such as "make"), then those should be set for successive "compile" command issues.

Please let me know your opinion about this. Unfortunatelly, although I tried to obtain something like this, my knowledge of elisp is not good enough to implement this.

Luca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]