bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell-command-on-region not going to give me output in same buffer


From: Dan Jacobson
Subject: shell-command-on-region not going to give me output in same buffer
Date: 23 Feb 2001 16:40:35 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Lets discuss the command ESC | (shell-command-on-region).

   Execute string COMMAND in inferior shell with region as input.
   Normally display output (if any) in temp buffer `*Shell Command Output*';
   Prefix arg means replace the region with it.  Return the exit code of
   COMMAND.

If I want the output in the current buffer, I must accept the
sacrifice of my original input.  How destructive.  Why can't it also
be like

   C-x C-e runs the command eval-last-sexp ...
   Evaluate sexp before point; print value in minibuffer.
   With argument, print output into current buffer.

Indeed both commands would ideally have both output options, ideally
controlled by the same argument values.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]