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

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

Re: help with makefile command line


From: William Xu
Subject: Re: help with makefile command line
Date: Tue, 25 Mar 2008 23:04:29 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin)

"Balaji V. Iyer" <bviyer@ncsu.edu> writes:

>     I use the compile option extenstively in emacs. When I type "M-x
> compile" the default line is "make -k" Many times I do not have a make
> file thus I would lke the default line to be
>  
> "gcc -ansi -O4 -Wall <c_source_file>"
>  
> How do I do this?

You may be interested in buffer-action.el -- Perform
actions(compile/run, etc) in buffer based on mode/filename.  

  http://permalink.gmane.org/gmane.emacs.sources/2826

-- 
William

http://williamxu.net9.org

       点绛唇
                王禹
雨恨云愁,江南依旧称佳丽。
水村渔市,一缕孤烟细。
天际征鸿,遥认行如缀。
平生事,此时凝睇,谁会恁栏意!





reply via email to

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