From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean McAfee Newsgroups: gmane.emacs.help Subject: Re: Very simple IDE for programming newbie Date: Sun, 03 Jan 2010 11:10:38 -0500 Message-ID: References: <87pr5susfb.fsf@hubble.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262536852 26389 80.91.229.12 (3 Jan 2010 16:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2010 16:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 03 17:40:45 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NRTVT-0003oO-MV for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2010 17:40:43 +0100 Original-Received: from localhost ([127.0.0.1]:44832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRTVT-0001QU-Pp for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2010 11:40:43 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 03 Jan 2010 10:10:40 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) Cancel-Lock: sha1:J4LWMTsPm7zvxHMnZfksliHC+ms= Original-Lines: 22 Original-X-Trace: sv3-VZiz/5i5+GNpwe4wp1JyYeUIZ/dRtJBus/rpRkCJa52gPOk0y3zRHe4IlgOjrOVTzj3w6Hw+9yuB2D3!cw5MDzSt2HJpedRkhoPsuR1nHjiTpSZQUyg25yv36rhZyvYCHFFB3rXNBgY33aZUwG3xmGvuUGDv!0u1EPp5OVGcjLExOW0cOI6Z013zcOvrDTkafUh0IAfPh8/1SSfUN6gU2SrXLpgdYSJrR9Hd8 Original-X-Complaints-To: www.supernews.com/docs/abuse.html X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:175957 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71029 Archived-At: pjb@informatimago.com (Pascal J. Bourguignon) writes: > Sean McAfee writes: > Also, for non-interactive programs, you can do it at once with: > > M-x compile RET C-e && ./this-file RET Hmm, good idea. I'm trying to look ahead to when we get to interactive programs too, though. > You don't have to wait for the end of the compilation to browse the > errors. Otherwise, just watch the status bar of the *compilation* > window, it will say (Compilation:exit []) when done. I know; my question was how to a) know when the asynchronous compilation process has finished, and b) tell whether there were any errors, so that if there were none, I can immediately launch the newly-compiled program in a terminal emulator. I think the terminal emulator would be preferable to shell-mode, since in the former case there's only one keystroke that could introduce some confusion (C-c) and in the latter case there are many.