all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Denis Bueno" <denbuen@sandia.gov>
To: "lucatrv" <lucatrv@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: add directory selection to the "compile" command
Date: Mon, 02 Jul 2007 09:55:58 -0600	[thread overview]
Message-ID: <C2AE7C2E.135F%denbuen@sandia.gov> (raw)
In-Reply-To: <BAY103-DAV10055196CC3C3FE48E2968A40D0@phx.gbl>


On 07/02/2007 08:02, "lucatrv" <lucatrv@hotmail.com> wrote:

> 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") .

Using M-x recompile after the first M-x compile may solve your problem.  M-x
recompile remembers the last compile-command and default-directory.

I frequently work like this:

  - switch to Makefile directory
  - M-x compile RET
  - begin edit-recompile-cycle loop:
    * edit
    * M-x recompile RET
    * goto edit-recompile-cycle

-Denis

  reply	other threads:[~2007-07-02 15:55 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           ` add directory selection to the "compile" command lucatrv
2007-07-02 15:55             ` Denis Bueno [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C2AE7C2E.135F%denbuen@sandia.gov \
    --to=denbuen@sandia.gov \
    --cc=emacs-devel@gnu.org \
    --cc=lucatrv@hotmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.