From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stefan Thomas" Newsgroups: gmane.emacs.help Subject: Re: shell-mode question Date: Thu, 2 Oct 2008 12:45:09 +0200 Message-ID: <8c1eed9b0810020345l3331a031vaa8b9facfb78e38@mail.gmail.com> References: <8c1eed9b0810020031j378429efn9153fe53b94bf9ac@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_810_11398715.1222944309082" X-Trace: ger.gmane.org 1222944465 26844 80.91.229.12 (2 Oct 2008 10:47:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 10:47:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Peter Dyballa" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 12:48:43 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 1KlLjH-000854-T7 for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 12:48:20 +0200 Original-Received: from localhost ([127.0.0.1]:43485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlLiE-0000fU-6h for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 06:47:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlLgJ-0000Y5-Qv for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:45:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlLgF-0000Wn-VM for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:45:13 -0400 Original-Received: from [199.232.76.173] (port=48784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlLgF-0000WT-9d for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:45:11 -0400 Original-Received: from mail-gx0-f10.google.com ([209.85.217.10]:46283) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlLgE-00064Y-QM for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 06:45:11 -0400 Original-Received: by gxk3 with SMTP id 3so1257404gxk.18 for ; Thu, 02 Oct 2008 03:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=P5Hux22rbE/8H8JGu/EP/qVLgQnDystVAe5haKRcItM=; b=IpLBNnrkRgRQ2mdYXer3uBCmzdqE04IYzox9IOdetL+YaPT+wOvcErhSv1dcyaz+si ltrwoRjKLkPtH0XPmFCPrHRRv5ZOgfPLodkQbkphySSUSKOH2C/sFECJq3P6PYabvn4V bZcUHcgoIQI2KZLLMqmZAzv25zWYFuuI6QZ0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Z+E54XBDNWX665McI32qSPJo+TaiRXLKlhoYIaeQiQY4AoHOGhYaRjuS8JnIC1tqq4 HIX6I6pkfC8yEoMcB+43y4bNY0LtgHuPuYrzHOGKns+UYSdRg6/sAzgmdN+uO1f8wvkZ LWfU9t0aVPIrWbrCoE+J33ywtD2JaJ+hhX22s= Original-Received: by 10.151.112.4 with SMTP id p4mr13919900ybm.73.1222944309104; Thu, 02 Oct 2008 03:45:09 -0700 (PDT) Original-Received: by 10.150.181.12 with HTTP; Thu, 2 Oct 2008 03:45:09 -0700 (PDT) In-Reply-To: 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:58279 Archived-At: ------=_Part_810_11398715.1222944309082 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dear Peter, thanks for Your fast reply. You wrote: "You can apply a change to the *shell* buffer or some other buffe= r in shell-script-mode whenever this buffer is not read-only." How con I change the buffer to not read-only" 2008/10/2 Peter Dyballa > > 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: > > >> shell script> > > or > > >> > > which will add the script's output to the script's end. You might think o= f > separating std-out and std-err. Now do M-x revert-buffer, and voil=E0: ne= w > contents (hopefully). > > And: is it possible in shell-mode to add text not only at the end of lin= e >> but whenever I want to? >> > > > You can apply a change to the *shell* buffer or some other buffer in > shell-script-mode whenever this buffer is not read-only. Then you can als= o > 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 > direction. > > > > ------=_Part_810_11398715.1222944309082 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Dear Peter,
thanks for Your fast reply.
You wrote:          "You can appl= y a change to the *shell* buffer or some other buffer in shell-script-mode whenever this buffer is not read-only."
How con = I change the buffer to not read-only"



------=_Part_810_11398715.1222944309082--