From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: What I'm missing when using M-x shell Date: Sat, 13 Sep 2008 18:43:04 +0200 Message-ID: <38b2ab8a0809130943s58aed564seee22a18032c439a@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221324224 4631 80.91.229.12 (13 Sep 2008 16:43:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 16:43:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Dan Espen" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 18:44:40 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 1KeYEb-0000Sr-Fj for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 18:44:33 +0200 Original-Received: from localhost ([127.0.0.1]:47174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeYDa-0007Ax-K4 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 12:43:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeYDF-00079f-Ht for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 12:43:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeYDD-00077m-Ox for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 12:43:08 -0400 Original-Received: from [199.232.76.173] (port=46562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeYDD-00077b-LN for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 12:43:07 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.169]:36447) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KeYDD-0004bO-5f for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 12:43:07 -0400 Original-Received: by ug-out-1314.google.com with SMTP id z36so379920uge.17 for ; Sat, 13 Sep 2008 09:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=x8FpnmUFZxXnEbkyGoT+yWeCm1e/IfLbjRNkO1VUVUk=; b=EIJhFJFAwXgtUVFJ+3nrbE2NXRXC2g1qSJAmKLe6CSSHX276yHj8E91PGWHta9U3Hn LEfW/FAPPeuAFCS7b3/KRYQgs9O0mjLKaeLUrRgstGjv8xqUklY2lvuURRuGaD7xMCTK IMYaWEOpjnsvhO2Xvh5SEA50UNbv4s39FrmM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iyfgMVEv2H+H1g0OQb8/rjEh/uDaZo8SQ9NOkacraf7/2uwY77c6lRvbRcCwlghpCw OYEE7t2sFtnDSthnxxr1HZm2a0STScJZXDalwRFlv5vpLHNS3hLHn5U9imZ1lYbKGC4O jiN1hsaheZC4QDuo3nzYdJNZ7IfoqW1SjNcGo= Original-Received: by 10.67.97.1 with SMTP id z1mr930588ugl.45.1221324184941; Sat, 13 Sep 2008 09:43:04 -0700 (PDT) Original-Received: by 10.67.22.17 with HTTP; Sat, 13 Sep 2008 09:43:04 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57530 Archived-At: On Sat, Sep 13, 2008 at 5:42 PM, Dan Espen wrote: > "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. > That was just a (silly) example where scripting can be powerful and can't be replace by some M-x or whatever... -- Francis