[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Scroll down *Schell Command Output* buffer when output arrives
From: |
Jens Persson |
Subject: |
Scroll down *Schell Command Output* buffer when output arrives |
Date: |
Mon, 24 Feb 2003 16:45:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 |
Hi!
I have made a couple of functions that performs single shell-command
calls, for example like this:
(defun csound-compile-curr-osc-sco ()
(interactive)
(shell-command (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)
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?
(I've searched the internet for hours and I'm getting frustrated here!)
/Jens
- Scroll down *Schell Command Output* buffer when output arrives,
Jens Persson <=