From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Stefan Thomas <kontrapunktstefan@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: shell-mode question
Date: Thu, 2 Oct 2008 12:16:18 +0200 [thread overview]
Message-ID: <CA543375-46BE-45D3-AEAF-3AB3119976F3@Web.DE> (raw)
In-Reply-To: <8c1eed9b0810020031j378429efn9153fe53b94bf9ac@mail.gmail.com>
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 interpreter> <path to your shell script> >> <path to your
shell script>
or
<path to your shell script> >> <path to your shell script>
which will add the script's output to the script's end. You might
think of separating std-out and std-err. Now do M-x revert-buffer,
and voilà: new contents (hopefully).
> And: is it possible in shell-mode to add text not only at the end
> of line
> 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
also apply a change wherever you want ...
--
Mit friedvollen Grüßen
Pete
Some day we may discover how to make magnets that can point in any
direction.
next prev parent reply other threads:[~2008-10-02 10:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-02 7:31 shell-mode question Stefan Thomas
2008-10-02 10:16 ` Peter Dyballa [this message]
2008-10-02 10:45 ` Stefan Thomas
[not found] <mailman.20.1222932685.25473.help-gnu-emacs@gnu.org>
2008-10-02 21:00 ` Barry Margolin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA543375-46BE-45D3-AEAF-3AB3119976F3@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=kontrapunktstefan@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.