From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rusi Newsgroups: gmane.emacs.help Subject: Re: Emacs users a dying breed? Date: Thu, 21 Jun 2012 20:19:07 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <1339986746.80168.YahooMailNeo@web161603.mail.bf1.yahoo.com> <871ulch282.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340335513 11897 80.91.229.3 (22 Jun 2012 03:25:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2012 03:25:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 22 05:25:12 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ShuUi-0004LM-HG for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jun 2012 05:25:12 +0200 Original-Received: from localhost ([::1]:50277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShuUi-0007ae-Dn for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jun 2012 23:25:12 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!s6g2000pbi.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 116.74.129.219 Original-X-Trace: posting.google.com 1340335260 32554 127.0.0.1 (22 Jun 2012 03:21:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 22 Jun 2012 03:21:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s6g2000pbi.googlegroups.com; posting-host=116.74.129.219; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:192961 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85357 Archived-At: On Jun 22, 12:34=A0am, Ken Goldman wrote: > On 6/18/2012 3:25 PM, notbob wrote: > > > On 2012-06-18, Pascal J. Bourguignon =A0wrote: > > >> 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. > > > Thanks, Pascal. =A0Since I use Slackware, which has jes about everythin= g > > needed for compiling from source, I'll give it a try. =A0Both make and = gcc are in > > the same /usr/bin/ dir. > > I think Pascal was saying that you Makefile (not /usr/bin/make) might > not be in the same directory as your code. > > If you don't have a makefile there, you can also do 'make -f > pathtomakefile' and emacs will remember it for the next time. Or simply backspace over the make -k and type gcc for one-off compilations where a makefile is overkill. If you keep doing that you can set the emacs variable compile-command but then writing a makefile is probably a better idea. > > If you don't have a makefile at all, it's time to create one. > > Bonus: =A0Check out M-x next-error. =A0I have both compile and next-error > bound to Fn keys since I use them constantly.