From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Very simple IDE for programming newbie Date: Sun, 03 Jan 2010 18:17:25 +0100 Organization: aich tea tea pea dicky riley dot net 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 1262539647 1326 80.91.229.12 (3 Jan 2010 17:27:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2010 17:27:27 +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 18:27:20 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 1NRUAk-0003eQ-0u for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2010 18:23:22 +0100 Original-Received: from localhost ([127.0.0.1]:53575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRUAk-0008D9-G7 for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2010 12:23:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRUAL-0008Bn-MJ for help-gnu-emacs@gnu.org; Sun, 03 Jan 2010 12:22:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRUAH-00083m-4t for help-gnu-emacs@gnu.org; Sun, 03 Jan 2010 12:22:57 -0500 Original-Received: from [199.232.76.173] (port=32778 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRUAG-00083h-Sy for help-gnu-emacs@gnu.org; Sun, 03 Jan 2010 12:22:52 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:40009) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRUAG-0005jW-GT for help-gnu-emacs@gnu.org; Sun, 03 Jan 2010 12:22:52 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NRU6s-0000sM-Qb for help-gnu-emacs@gnu.org; Sun, 03 Jan 2010 18:19:22 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 18:19:22 +0100 Original-Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 18:19:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:71031 Archived-At: Sean McAfee writes: > 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. > I would get into the habit of running/testing it using gdb too. Google up gud-gdb. Nice emacs interface to the debugger. Interesting nurse...