unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@web.de>
To: Nash Steve <nash11228@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to recompile single file or rerun single compilation command in compilation mode ?
Date: Wed, 7 Mar 2012 19:21:03 +0100	[thread overview]
Message-ID: <92D3ED3C-DEC8-4E87-9FAD-D8A642FE1D01@web.de> (raw)
In-Reply-To: <CAHBqO5+6UrDeXKGRn5Mq30DDwkK63PmyVPQdabLr2bKG4CP0yA@mail.gmail.com>


Am 7.3.2012 um 16:44 schrieb Nash Steve:

> e.g. after M-x compile RET make, I just want to pick a line of make output
> as a command to run.

Change directory in *shell* buffer and execute that line! So you'll have the *compilation* buffer with all errors and warnings and another compilation...

The other option is to erase the (default) compile command and substitute it with your line. Then the current working directory of the *compilation* buffer's process has to be that from which the file to be compiled can be reached.

--
Greetings

  Pete

Globalisation – communism from above.




  reply	other threads:[~2012-03-07 18:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 19:54 How to recompile single file or rerun single compilation command in compilation mode ? Nash Steve
2012-03-06 23:10 ` Peter Dyballa
2012-03-07 15:44   ` Nash Steve
2012-03-07 18:21     ` Peter Dyballa [this message]
2012-03-08  8:01     ` Thien-Thi Nguyen
2012-03-08  8:40       ` Thien-Thi Nguyen
2012-03-08 18:21         ` Nash Steve

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=92D3ED3C-DEC8-4E87-9FAD-D8A642FE1D01@web.de \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nash11228@gmail.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.
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).