From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: What I'm missing when using M-x shell Date: Sat, 13 Sep 2008 11:42:15 -0400 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221324050 4172 80.91.229.12 (13 Sep 2008 16:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 16:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 18:41:46 2008 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 1KeYBs-00087C-99 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 18:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:39511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeYAr-0004Bu-O8 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 12:40:41 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.k-dsl.de!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 4AE4AuUNcHSN/2S3W1b6lg.user.aioe.org Original-X-Complaints-To: abuse@aioe.org Cancel-Lock: sha1:DD95bfzpKwMCXOvnqWscOuAxcgc= User-Agent: Gnus/5.090015 (Oort Gnus v0.15) XEmacs/21.4 (Educational Television, i686-pc-linux) Original-Xref: news.stanford.edu gnu.emacs.help:162186 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:57529 Archived-At: "Francis Moreau" writes: > [ please CC me when replying to me ] > > On Fri, Sep 12, 2008 at 7:34 PM, Dan Espen > wrote: >> Compiles are M-x compile, greps are M-x grep, >> ls is dired, email is MH-E. > > But what would you suggest as replacement for: > > $ make && gdb || mail -s "Compilation failed" home First, the make is always run as M-x compile. In my case, the most likely outcome from M-x compile is that I'll be correcting syntax errors. Since I've run M-x compile, M-x next-error becomes really useful. So, no make from the command line for me. I'm got a big fan of running under gdb. If I did want to run under gdb a lot, I'd probably figure out Emacs gdb. Typically my make target is not just a compile but a compile and test and check results. No need to send myself an email since the M-x compile clearly shows whether the compile/test worked.