help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs users a dying breed?


From: Dvorak Hemialgia
Subject: Re: Emacs users a dying breed?
Date: Wed, 20 Jun 2012 22:23:15 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

"Pascal J. Bourguignon" <pjb@informatimago.com> writes:

> Assuming you have the current buffer pgm.c,
> you just type M-x compile RET pgm RET
>
> M-x compile RET will present you a minibuffer with "make -k " in it.
> Typing pgm RET will make it run: make -k pgm
> Since you probably don't have a Makefile in the same directory as pgm.c,
> the default rules will be used, so pgm will be built from pgm.c using
> the C compiler.
>
> If your program doesn't take any stdin input, you can even run it at the
> same time: M-x compile RET pgm && ./pgm RET

Wow, Pascal, this is becoming very useful to me as I learn C.  Thank you
for sharing.  I'll have to read up on how to do this with Java code,
which would have saved me a lot of time over the last couple semesters.

dkh.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]