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:44 -0000
User-agent: G2/1.0

On Sep 16, 5:57 am, TheFlyingDutchman <zzbba...@aol.com> wrote:
> On Sep 12, 11:17 pm, Xah Lee <xah...@gmail.com> wrote:
>
> > when running a shell command, if the output is small, it shows in the
> > “*Messages*” buffer.
>
> > is there a way to always have the output in the “*Shell Command
> > Output*” buffer?
>
> > thanks.
>
> >  Xah
>
> Setting the symbol resize-mini-windows to nil seems to send output
> that is more than one line to *Shell Command Output* and 1 line outout
> to the mini buffer window.

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...

anyway, not really important. Thanks and thanks mp.

 Xah


reply via email to

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