From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: What I'm missing when using M-x shell Date: Sat, 13 Sep 2008 19:32:02 +0200 Message-ID: <87zlmc6jfx.fsf@tux.homenetwork> References: <38b2ab8a0809130943s58aed564seee22a18032c439a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221327376 13641 80.91.229.12 (13 Sep 2008 17:36:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 17:36:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Dan Espen To: "Francis Moreau" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 19:37:11 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 1KeZ3P-0005o1-I5 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 19:37:03 +0200 Original-Received: from localhost ([127.0.0.1]:43714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeZ2O-0006zY-VA for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 13:36:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeZ26-0006zF-Ij for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 13:35:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeZ24-0006yi-0v for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 13:35:41 -0400 Original-Received: from [199.232.76.173] (port=55526 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeZ23-0006yf-RZ for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 13:35:39 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.186]:27357) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KeZ23-0004i3-CF for help-gnu-emacs@gnu.org; Sat, 13 Sep 2008 13:35:39 -0400 Original-Received: by nf-out-0910.google.com with SMTP id c7so770418nfi.26 for ; Sat, 13 Sep 2008 10:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=0g2V13V3LmMJU9PSgPdePVkSTw6bSFDwzvh4XG2LLN8=; b=ShY393kxxpZNYZFb4V2Jp1/WH1P50WffotLGFnbzDT6H5QDkLYaO7Zs6wW1oWywzJa txw4LlO5haROlhHhG9QC+nOko3VcgKxnrhV7s1dATmIG1JxtDDNysFDZfQ5uirinM2+z KIHx065zP/0dvKOYDVcopgFl6IaKxddn2nmMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=AcXJD/Aet8gy2Evyza45ZR/u/qX8lrlr6bz8cjMqGnAIg8NzzIicBZTsJg9yC3vgzc 8kamfR382D3510r2cggPPTrz1EuU6V7PqGGjyEfG/iVva5xq3t7GojytPrj98RVL+mKC R3gRs6oOfy98Dt3Kq076J8JP3pm25bsPSq/Q4= Original-Received: by 10.210.30.10 with SMTP id d10mr7122952ebd.6.1221327337820; Sat, 13 Sep 2008 10:35:37 -0700 (PDT) Original-Received: from tux.homenetwork ( [77.197.77.254]) by mx.google.com with ESMTPS id 3sm15944428eyi.5.2008.09.13.10.35.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Sep 2008 10:35:37 -0700 (PDT) In-Reply-To: <38b2ab8a0809130943s58aed564seee22a18032c439a@mail.gmail.com> (Francis Moreau's message of "Sat, 13 Sep 2008 18:43:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:57533 Archived-At: "Francis Moreau" writes: > 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... Did you try using a window manager that work correctly with emacs+shell like stumpwm or rat-poison. I am using stumpwm and i am really happy with it. I can switch to a shell at anytime just like in emacs. Have also a look at eev:(you may like that if you are a fan of shell) http://angg.twu.net/eev-article.html and try to eval from anywhere in emacs (C-x C-e) for example: (find-sh "ps -u $USER | grep emacs | awk '{print $1}'") Try also to use M-x ansi-term that is much better than term. You can run many shell in emacs and more. -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France