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

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

Re: how to set shell output always to *Shell Command Output*


From: Xah Lee
Subject: Re: how to set shell output always to *Shell Command Output*
Date: Wed, 08 Dec 2010 15:28:51 -0000
User-agent: G2/1.0

On Sep 17, 11:56 am, TheFlyingDutchman <zzbba...@aol.com> wrote:
> > humm... doesn't seems a satisfying solution. Just read the doc:
>
> > Otherwise, COMMAND is executed synchronously.  The output appears in
> > the buffer `*Shell Command Output*'.  If the output is short enough to
> > display in the echo area (which is determined by the variables
> > `resize-mini-windows' and `max-mini-window-height'), it is shown
> > there, but it is nonetheless available in buffer `*Shell Command
> > Output*' even though that buffer is not automatically displayed.
>
> > so the output is always in “*Shell Command Output*”, the trick is to
> > always switch to it, and with the default behavior of spliting window
> > to show it. Seems hard to do that...
>
> For me, on Emacs 23.2.1, when I have resize-mini-windows set to nil,
> any shell-command that creates output of two lines or more, not only
> displays in the *Shell Command Output* buffer, it also splits the
> screen and displays *Shell Command Output* buffer if it is not already
> displayed.

but what if i do want the mini-buffer window to resize? i vaguely
recall i set it before but then when calling shell-command with long
shell lines it becomes one loong line that goes out of the window.

it seems to me the current behavior is trying to use one stone for 2
birds... not orthogonal.

would be nice if emacs has anoher var some like smart-redirect-output-
p.

 Xah


reply via email to

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