From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: shell-mode question Date: Thu, 2 Oct 2008 12:16:18 +0200 Message-ID: References: <8c1eed9b0810020031j378429efn9153fe53b94bf9ac@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1222942674 21586 80.91.229.12 (2 Oct 2008 10:17:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 10:17:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Thomas Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 12:18:52 2008 connect(): Connection refused 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 1KlLGl-0007oq-KW for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 12:18:51 +0200 Original-Received: from localhost ([127.0.0.1]:53590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlLFi-0006sl-49 for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 06:17:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlLEZ-0006Ul-EW for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:16:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlLEX-0006Ta-A5 for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:16:34 -0400 Original-Received: from [199.232.76.173] (port=44390 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlLEW-0006TM-Sf for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:16:32 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:57050) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlLEW-0008VB-CE for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:16:32 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 78306F2D6C99; Thu, 2 Oct 2008 12:16:20 +0200 (CEST) Original-Received: from [91.35.237.151] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1KlLEK-00015q-00; Thu, 02 Oct 2008 12:16:20 +0200 In-Reply-To: <8c1eed9b0810020031j378429efn9153fe53b94bf9ac@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX196Ka8T2YmGoLsEL5U+3rC9XoN5CaIzdE+4d8mf 4V/6TcwjrP5Ubf+UTuhr0stRo7sGmPlSKCiIvXPtU3fPfk6qlP 3KFhE6aubvPWzq+PL4/A== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:58277 Archived-At: Am 02.10.2008 um 09:31 schrieb Stefan Thomas: > When I execute a shell-script, how can I display the output not in the > shell-buffer but in the buffer im working? Maybe this way: >> or >> which will add the script's output to the script's end. You might =20 think of separating std-out and std-err. Now do M-x revert-buffer, =20 and voil=E0: new contents (hopefully). > And: is it possible in shell-mode to add text not only at the end =20 > of line > but whenever I want to? You can apply a change to the *shell* buffer or some other buffer in =20 shell-script-mode whenever this buffer is not read-only. Then you can =20= also apply a change wherever you want ... -- Mit friedvollen Gr=FC=DFen Pete Some day we may discover how to make magnets that can point in any =20 direction.