* Async Shell Command - automatically scroll to the latest output?
[not found] <5A2F5E3F-7C54-4C4D-9E68-9036690091AF@nf.mpg.de>
@ 2008-10-13 21:28 ` David Reitter
0 siblings, 0 replies; only message in thread
From: David Reitter @ 2008-10-13 21:28 UTC (permalink / raw
To: gnu emacs-help gnu
We've had some issues with a buffer created by `shell-command': how
does one automatically keep the point at the end of the output, i.e.
the window scrolled all the way to the end of the buffer?
In more detail, including various things I've tried:
> From: Stefan Vollmar <vollmar@nf.mpg.de>
>
> One small thing: we are starting our compiled programs from within
> Aquamacs with
> (shell-command "./mybin &") to capture the output in the "*Async
> Shell Command*" buffer. This is very useful and generally works
> well. However, the buffer with the program's output always ends up
> in a way that requires to scroll back manually to see the last lines
> of output. Can we configure Aquamacs to not scroll beyond the last
> line of captured output? Many thanks in advance.
Begin forwarded message:
> From: David Reitter <david.reitter@gmail.com>
>
> Tricky one. I would have thought that
>
> (setq scroll-up-aggressively 0.0)
>
> should do the trick, but it doesn't.
>
> Inspection of the `shell-command' code shows me that it's a buffer
> in shell-mode, which uses comint. So:
>
> (setq comint-scroll-show-maximum-output t)
>
> This is documented as "Non-nil means scroll so that the window is
> full of text and point is on the last line. "
>
> Now, unfortunately this doesn't work for me either, so right now I'm
> at a loss.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-13 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5A2F5E3F-7C54-4C4D-9E68-9036690091AF@nf.mpg.de>
2008-10-13 21:28 ` Async Shell Command - automatically scroll to the latest output? David Reitter
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.