[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation-scroll-output but for *Shell Command Output*
From: |
Dan Jacobson |
Subject: |
Re: compilation-scroll-output but for *Shell Command Output* |
Date: |
27 May 2001 03:52:04 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Eli" == Eli Zaretskii <eliz@is.elta.co.il> writes:
>> From: Dan Jacobson <jidanni@kimo.FiXcomTHiS.tw>
>> Newsgroups: gnu.emacs.bug
>> Date: 23 May 2001 11:39:41 +0800
>>
>> Sure we can (setq compilation-scroll-output t), but what about the
>> *Shell Command Output* buffer of M-!?
Eli> Sorry, I don't understand the problem. "M-x compile" runs the command
Eli> asynchronously, which is why there's a need to reposition point after
Eli> each chunk of the process output was read, especially if the user
Eli> wants an illusion of screen output scrolling away. But "M-!" runs the
Eli> command synchronously, so the process output appears in its entirety,
Eli> and you need to go to the end only once. Where's the problem?
I was just thinking that we shouldn't assume the user always wants to
see the top of *Shell Command Output* by default. E.g. (shell-command
"echo|pr;uptime"), the juicy part is on the bottom...
Currently if one puts the cursor at the bottom of *Shell Command
Output* and issues M-! commands, one doesn't have to do extra work to
see the bottom of that buffer after each command.
However if one moves out of that buffer, then each M-! will only show
the top of that buffer.
Just like long math calculations, one is often only interested in the
result at the end. That is why I was thinking there should be an
option to control the default position shown...
--
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.