all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: M-x compile for different file extensions
Date: 21 Oct 2002 18:40:49 GMT	[thread overview]
Message-ID: <ap1hnh$nl4$1@news.btv.ibm.com> (raw)
In-Reply-To: iPgs9.26259$wU3.2299106@news0.telusplanet.net


I just use makefiles everywhere.

The advantage of compiling within emacs is more than just the
convenience of not having to go off to a shell window.  It's using

	M-x next-error

to step through the errors and have emacs go right to the file and
line you need to fix.

"wgh" <wgh@askme.ok> writes:
> 
> Is there a way to have M-x compile to automatically detect
> what command to use depending on the file extension of the
> current buffer being edited?
> 
> Because I don't really see the advantage of using M-x compile
> if I can get away with fewer keystrokes in Bash doing the
> exact same thing (i.e. typing the compile command, pressing
> the up arrow if I need to recompile, etc.)

-- 
-- 
Ken Goldman   kgold@watson.ibm.com   914-784-7646

  parent reply	other threads:[~2002-10-21 18:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 17:41 M-x compile for different file extensions wgh
2002-10-19 18:23 ` Henrik Enberg
2002-10-20  0:00 ` Ehud Karni
2002-10-20 16:59   ` Richard Stallman
2002-10-20 18:07     ` Ehud Karni
2002-10-20 19:51       ` Stefan Monnier
2002-10-22  3:12       ` Richard Stallman
2002-10-22  6:46         ` Kai Großjohann
2002-10-22 17:17           ` Kevin Rodgers
2002-10-22 19:03             ` Ehud Karni
2002-10-23  7:11           ` Richard Stallman
2002-10-22 18:23         ` Ehud Karni
2002-10-23  7:10           ` Richard Stallman
2002-10-20 19:52     ` Stefan Monnier
2002-10-20 22:05       ` Ehud Karni
2002-10-22  3:12       ` Richard Stallman
2002-10-21 18:40 ` kgold [this message]
2002-10-22  5:33   ` James Cozine

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='ap1hnh$nl4$1@news.btv.ibm.com' \
    --to=kgold@watson.ibm.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.