unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Scroll down *Schell Command Output* buffer when output arrives
@ 2003-02-24 15:45 Jens Persson
  2003-02-24 16:37 ` Benjamin Rutt
  2003-03-04 22:28 ` Kevin Rodgers
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Persson @ 2003-02-24 15:45 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-05 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24 15:45 Scroll down *Schell Command Output* buffer when output arrives Jens Persson
2003-02-24 16:37 ` Benjamin Rutt
2003-02-25 11:59   ` Jens Persson
2003-03-05 16:14     ` Robert Figura
2003-03-04 22:28 ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).