[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x compile for different file extensions
From: |
kgold |
Subject: |
Re: M-x compile for different file extensions |
Date: |
21 Oct 2002 18:40:49 GMT |
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