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

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

Re: Scroll down *Schell Command Output* buffer when output arrives


From: Jens Persson
Subject: Re: Scroll down *Schell Command Output* buffer when output arrives
Date: Tue, 25 Feb 2003 12:59:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3

Ok, thanks! Guess I should have thought of that ... But is it impossible to (if you just wanted to do it that way for some reason) make the Shell Command Output buffer scroll down automatically every time it gets new output?

Benjamin Rutt wrote:

Jens Persson <jens.persson.1833@student.uu.se> writes:


The ouput of these shell-command calls goes into the *Shell Command
Output* buffer, and now I only want it to automatically scroll down
every time new output arrives to it so that the last lines of the
output is visable, how can i do this? Is there some hook that i can
add a "end-of-buffer" to or something?


Why not run them under `compile', which will do the scrolling for you
automatically.

e.g.

(defun csound-compile-curr-osc-sco ()
   (interactive)
   (compile (concat "csound -A -d -o test.aif "
    (file-name-sans-extension (buffer-name)) ".orc "
    (file-name-sans-extension (buffer-name)) ".sco")))

(global-set-key [f8] 'csound-compile-curr-osc-sco)




reply via email to

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