From: "lucatrv" <lucatrv@hotmail.com>
Cc: <emacs-devel@gnu.org>
Subject: add directory selection to the "compile" command
Date: Mon, 2 Jul 2007 16:02:59 +0200 [thread overview]
Message-ID: <BAY103-DAV10055196CC3C3FE48E2968A40D0@phx.gbl> (raw)
In-Reply-To: 7dbe73ed0707020604h5a9e4214m10e5e0f7784b93fe@mail.gmail.com
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
next prev parent reply other threads:[~2007-07-02 14:02 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 12:55 [doug@bagley.org: Re: mouse-1-click-follows-link in dired surprising] Richard Stallman
2006-07-04 13:18 ` Chong Yidong
2006-07-04 17:40 ` [doug@bagley.org: Re: mouse-1-click-follows-link in diredsurprising] Drew Adams
2006-07-05 2:24 ` Miles Bader
2006-07-05 3:42 ` Dired coloring and other conveniences Drew Adams
2007-07-02 5:42 ` dired-details: show/hide file details in Dired Drew Adams
2007-07-02 13:04 ` Mathias Dahl
2007-07-02 13:46 ` Drew Adams
2007-07-02 20:50 ` Mathias Dahl
2007-07-02 21:04 ` Drew Adams
2007-07-02 14:02 ` lucatrv [this message]
2007-07-02 15:55 ` add directory selection to the "compile" command Denis Bueno
2007-07-04 18:38 ` lucatrv
2007-07-02 14:04 ` dired-details: show/hide file details in Dired Rob Giardina
2007-07-02 22:39 ` Richard Stallman
2007-07-02 22:53 ` Drew Adams
2007-07-02 23:01 ` Rob Giardina
2007-07-03 1:17 ` Stefan Monnier
2007-07-03 5:44 ` Drew Adams
2007-07-05 13:41 ` Stefan Monnier
2007-07-04 3:43 ` Richard Stallman
2007-07-04 3:53 ` Rob Giardina
2007-07-05 1:30 ` Richard Stallman
2007-07-04 5:51 ` Drew Adams
2007-07-04 10:53 ` Robert J. Chassell
2007-07-04 14:57 ` Drew Adams
2007-07-04 17:10 ` Robert J. Chassell
2007-07-04 20:00 ` Drew Adams
2007-07-04 21:57 ` Robert J. Chassell
2007-07-05 1:31 ` Richard Stallman
2007-07-05 6:58 ` Drew Adams
2007-07-05 11:38 ` Robert J. Chassell
2007-07-05 20:34 ` Richard Stallman
2007-07-05 20:49 ` Drew Adams
2007-07-05 21:35 ` Robert J. Chassell
2007-07-08 22:24 ` Richard Stallman
2007-07-05 20:34 ` Richard Stallman
2007-07-05 1:30 ` Richard Stallman
2007-07-05 2:40 ` Rob Giardina
2007-07-05 20:34 ` Richard Stallman
2007-07-05 1:30 ` Richard Stallman
2007-07-05 3:22 ` Rob Giardina
2007-07-05 20:34 ` Richard Stallman
2006-07-06 13:32 ` [doug@bagley.org: Re: mouse-1-click-follows-link in diredsurprising] Richard Stallman
2006-07-06 21:41 ` Miles Bader
2006-07-08 20:57 ` Richard Stallman
2006-07-08 21:24 ` Luc Teirlinck
2006-07-09 19:02 ` Richard Stallman
2006-07-08 21:35 ` Luc Teirlinck
2006-07-08 22:15 ` Luc Teirlinck
2006-07-09 19:02 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY103-DAV10055196CC3C3FE48E2968A40D0@phx.gbl \
--to=lucatrv@hotmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).